Socket
Book a DemoInstallSign in
Socket

@theuybv/deploy-ui-server-package

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theuybv/deploy-ui-server-package

Gulp tasks script for deploying React Application UI and Node Server together and serve as 1 deployable Docker instance. This instance is deployed to Heroku via heroku:container push and heroku:container release.

1.2.0
latest
npmnpm
Version published
Maintainers
1
Created
Source

deploy-ui-server-package

Gulp tasks script for deploying React Application UI and Node Server together and serve as 1 deployable Docker instance. This instance is deployed to Heroku via heroku:container push and heroku:container release.

Required envs:

Heroku API key is needed to do heroku CLI stuffs (Account Settings)

  • HEROKU_API_KEY
  • BITBUCKET_OAUTH_KEY
  • BITBUCKET_OAUTH_PRIVATE

BitBucket OAuth 2.0

  • BITBUCKET_OAUTH_REFRESH_TOKEN

Which branch is pushed to CI?

  • CI_BRANCH (default set by CodeShip, omitted in CI context)

The name of HEROKU APP you which to create (Account Settings)

  • APP_NAME (try to prefix it with business label e.b. beton-)

oclif Version Downloads/week License

Usage

$ npm install -g @theuybv/deploy-ui-server-package
$ deploy-ui-server-package COMMAND
running command...
$ deploy-ui-server-package (-v|--version|version)
@theuybv/deploy-ui-server-package/1.2.0 darwin-x64 node-v12.14.0
$ deploy-ui-server-package --help [COMMAND]
USAGE
  $ deploy-ui-server-package COMMAND
...

Commands

deploy-ui-server-package deploy

Gulp tasks script for deploying React Application UI and Node Server together and serve as 1 deployable Docker instance.

USAGE
  $ deploy-ui-server-package deploy

OPTIONS
  -h, --help                                                     show CLI help
  -v, --version                                                  show CLI version

  --APP_NAME=APP_NAME                                            (required) The name of HEROKU APP you which to create
                                                                 (Account Settings) (try to prefix it with business
                                                                 label e.b. 'beton-'

  --BITBUCKET_OAUTH_KEY=BITBUCKET_OAUTH_KEY                      (required) [BitBucket OAuth integrated applications
                                                                 related](https://bitbucket.org/account/user/%7B4e80d35c
                                                                 -0d52-40fb-aa4e-ce81b2ff2d18%7D/api)

  --BITBUCKET_OAUTH_PRIVATE=BITBUCKET_OAUTH_PRIVATE              (required) [BitBucket OAuth integrated applications
                                                                 related](https://bitbucket.org/account/user/%7B4e80d35c
                                                                 -0d52-40fb-aa4e-ce81b2ff2d18%7D/api)

  --BITBUCKET_OAUTH_REFRESH_TOKEN=BITBUCKET_OAUTH_REFRESH_TOKEN  (required) [BitBucket OAuth integrated applications
                                                                 related](https://bitbucket.org/account/user/%7B4e80d35c
                                                                 -0d52-40fb-aa4e-ce81b2ff2d18%7D/api)

  --CI_BRANCH=CI_BRANCH                                          (required) (default set by CodeShip, ommitted in CI
                                                                 context)

  --HEROKU_API_KEY=HEROKU_API_KEY                                (required) (https://dashboard.heroku.com/account) is
                                                                 needed to do heroku CLI stuffs (Account Settings)

  --HEROKU_WORKFLOW_NAME=HEROKU_WORKFLOW_NAME                    (required) [default: concrete-apps-workflow] The name
                                                                 of the heroku workflow to trigger a step in the
                                                                 pipeline

  --ORGANIZATION_NAME=ORGANIZATION_NAME                          (required) [default: theuybv] The slug name of the
                                                                 organization bitbucket account

  --SERVER_FOLDER_PATH=SERVER_FOLDER_PATH                        [default:
                                                                 /Users/theuylimpanont/Development/JBM/deploy-ui-server-
                                                                 package/SERVER]

  --SERVER_REPO_NAME=SERVER_REPO_NAME                            (required) [default: concrete-plant-graphql-server] The
                                                                 name of repo of the back-end server project

DESCRIPTION
  Gulp tasks script for deploying React Application UI and Node Server together and serve as 1 deployable Docker 
  instance.
       This instance is deployed to Heroku via heroku:container push and heroku:container release.

deploy-ui-server-package json2env

Convert json config file in to key=value .env file

USAGE
  $ deploy-ui-server-package json2env

OPTIONS
  -h, --help                       show CLI help
  -v, --version                    show CLI version
  --configFilePath=configFilePath  [default: /Users/theuylimpanont/Development/JBM/deploy-ui-server-package/config.json]
  --json=json
  --outputFilePath=outputFilePath  [default: /Users/theuylimpanont/Development/JBM/deploy-ui-server-package/.env]

Keywords

oclif

FAQs

Package last updated on 11 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.