Skip to content

Commit

Permalink
fix: #1218 fix service name not valid
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuong Vu committed May 21, 2020
1 parent 1c5b0fe commit 9d33ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"typescript": "~3.7.2"
},
"scripts": {
"build:prod": "node ./scripts/build-prod.js",
"build:prod": "node ./scripts/build-prod.js --stage dev",
"start:server": "serverless offline --out public/dist --stage local",
"start:dev": "node ./scripts/start-dev.js",
"test:dev": "cross-env TZ=UTC jest --watch --color",
Expand All @@ -62,7 +62,7 @@
"lint:fix": "eslint --cache --ext=ts,tsx,js,svelte src --fix",
"fetch-config": "yarn config-manager fetchConfig web-components",
"build:serverless": "node ./scripts/build-serverless.js",
"release:server:dev": "node ./scripts/release-serverless.js",
"release:server:dev": "node ./scripts/release-serverless.js --stage dev",
"release:server:prod": "node ../../scripts/release/release-serverless.js web-components",
"release:npm:prod": "node ../../scripts/release/release-npm.js web-components --skip-edit-release-note",
"release:client:dev": "node ../../scripts/release/release-dev.js web-components reapit-web-components",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
service: web-components.search-widget
service: web-components-search-widget
plugins:
- serverless-webpack
- serverless-offline
Expand Down Expand Up @@ -33,7 +33,7 @@ provider:
restApiId: ${self:custom.env.GATEWAY_REST_API_ID}
restApiRootResourceId: ${self:custom.env.GATEWAY_REST_API_ROOT_RESOURCE_ID}
deploymentBucket:
name: web-components.search-widget.${self:provider.stage}
name: web-components-search-widget-${self:provider.stage}
blockPublicAccess: false
environment:
NODE_ENV: ${self:custom.env.NODE_ENV}
Expand Down

0 comments on commit 9d33ef3

Please sign in to comment.