Skip to content

Commit

Permalink
chore: #2519 update dev pipeline to deploy new infra (#2532)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pham Hai Duong authored Aug 31, 2020
1 parent bdd0cb5 commit 8e180e7
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/admin-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start:prod": "serve public/dist -s -l 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"release:dev": "node ../../scripts/release/release-dev.js admin-portal reapit-admin-portal-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"release:development": "serverless deploy --stage dev",
"release:production": "serverless deploy --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/aml-checklist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start:prod": "serve public/dist -s -l 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"release:dev": "node ../../scripts/release/release-dev.js aml-checklist reapit-aml-checklist-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"release:development": "serverless deploy --stage dev",
"release:production": "serverless deploy --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/cognito-custom-mail-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"build:prod": "rimraf dist && tsc --p tsconfig.json && rimraf dist/mailer/templates/ejs && ncp ./src/mailer/templates/ejs ./dist/mailer/templates/ejs",
"release:dev": "serverless deploy --stage dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"release:development": "yarn build:prod && serverless deploy --stage dev",
"release:production": "yarn build:prod && serverless deploy --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/demo-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build:prod": "node ./scripts/build.js",
"fetch-config": "yarn config-manager --namespace cloud --entity demo-site --name local --mode fetch",
"release:dev": "node ../../scripts/release/release-dev.js demo-site reapit-demo-site",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"start:prod": "sirv public/dist --dev -s --port 8080",
"serve:web-components": "yarn workspace @reapit/web-components start:dev demo-site",
"serve:demo-site": "node ./scripts/start-dev.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/developer-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start:prod": "serve public/dist -s -l 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"release:dev": "node ../../scripts/release/release-dev.js developer-portal reapit-developer-portal-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"release:development": "serverless deploy --stage dev",
"release:production": "serverless deploy --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/elements-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start:dev": "docz dev",
"start:prod": "docz build && docz serve",
"lint": "concurrently \"tsc --noEmit\" \"eslint --cache --ext=ts,tsx,js src\"",
"release:dev": "node ../../scripts/release/release-dev.js elements reapit-elements-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"lint:fix": "eslint --cache --ext=ts,tsx,js src --fix",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
Expand Down
2 changes: 1 addition & 1 deletion packages/elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"build:prod": "concurrently \"cross-env NODE_ENV=production && rimraf dist && tsdx build --format=cjs,esm,umd\" \"cross-env NODE_ENV=production && rimraf public/dist && build-storybook -o public/dist\"",
"lint": "concurrently \"tsc --noEmit\" \"eslint --cache --ext=ts,tsx,js src\"",
"release:dev": "node ../../scripts/release/release-dev.js elements reapit-elements-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"lint:fix": "eslint --cache --ext=ts,tsx,js src --fix",
"start:dev": "start-storybook -p 6006",
"start:prod": "serve -l 8080 public/dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/geo-diary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"build:prod": "rimraf public/dist && webpack --config ../../scripts/webpack/webpack.pwa.prod.js",
"fetch-config": "yarn config-manager --namespace cloud --entity geo-diary --name local --mode fetch",
"release:dev": "node ../../scripts/release/release-dev.js geo-diary reapit-geo-diary-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"release:development": "serverless deploy --stage dev",
"release:production": "serverless deploy --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/lifetime-legal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start:prod": "serve public/dist -s -l 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"release:dev": "node ../../scripts/release/release-dev.js lifetime-legal reapit-lifetime-legal-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"test:update-badges": "yarn test:ci && jest-coverage-badges --input src/tests/coverage/coverage-summary.json --output src/tests/badges",
"lint": "concurrently \"tsc --noEmit\" \"eslint --cache --ext=ts,tsx,js src\"",
"lint:fix": "eslint --cache --ext=ts,tsx,js src --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/marketplace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start:prod": "serve public/dist -s -l 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"release:dev": "node ../../scripts/release/release-dev.js marketplace reapit-app-store",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"release:development": "serverless deploy --stage dev",
"release:production": "serverless deploy --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/reapit-connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start:prod": "serve public/dist -s -l 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"release:dev": "cross-env IS_RELEASE=false node ../../scripts/release/release-dev.js reapit-connect reapit-reapit-connect-dev",
"release:dev": "cross-env IS_RELEASE=false && yarn build:prod && serverless deploy --stage dev",
"release:development": "serverless deploy --stage dev",
"release:production": "serverless deploy --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/site-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"build:prod": "rimraf public/dist && webpack --config ../../scripts/webpack/webpack.config.prod.js",
"fetch-config": "yarn config-manager --namespace cloud --entity site-builder --name local --mode fetch",
"release:dev": "node ../../scripts/release/release-dev.js site-builder reapit-site-builder-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"start:dev": "webpack-dev-server --hot --progress --color --mode development --config ../../scripts/webpack/webpack.config.dev.js",
"start:prod": "serve public/dist -s -l 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
Expand Down
2 changes: 1 addition & 1 deletion packages/smb-onboarder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start:prod": "serve public/dist -s -l 8080",
"test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit --detectOpenHandles --runInBand",
"test:dev": "cross-env TZ=UTC jest --watch --verbose",
"release:dev": "node ../../scripts/release/release-dev.js smb-onboarder reapit-smb-dev",
"release:dev": "yarn build:prod && serverless deploy --stage dev",
"release:development": "serverless deploy --stage dev",
"release:production": "serverless deploy --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"lint:fix": "eslint --cache --ext=ts,tsx,js src --fix",
"svelte:check": "npx svelte-check",
"fetch-config": "yarn config-manager --namespace cloud --entity web-components --name local --mode fetch",
"release:dev": "node ./scripts/release-serverless.js --stage dev && node ../../scripts/release/release-dev.js web-components reapit-web-components",
"release:dev": "node ./scripts/release-serverless.js --stage dev",
"release:development": "node ./scripts/release-serverless.js --stage dev",
"release:production": "node ./scripts/release-serverless.js --stage prod",
"remove:development": "serverless remove --stage dev",
Expand Down

0 comments on commit 8e180e7

Please sign in to comment.