Skip to content

Commit 3a4611c

Browse files
authored
chore: fix setup dev script (#454)
* fix: setup dev script * move api category to script * refresh yarn.lock file to fix bot alert
1 parent d8ed7e8 commit 3a4611c

File tree

2 files changed

+1129
-1169
lines changed

2 files changed

+1129
-1169
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"verdaccio-publish": "yarn verdaccio-clean && yarn publish-to-verdaccio",
2424
"verdaccio-disconnect": "source .circleci/local_publish_helpers.sh && unsetNpmRegistryUrl",
2525
"verdaccio-stop": "kill -9 $(lsof -n -t -iTCP:4873 -sTCP:LISTEN)",
26-
"setup-dev": "(yarn && lerna run build) && yarn add-cli-no-save && (yarn hoist-cli && yarn rm-dev-link && yarn link-dev)",
27-
"add-cli-no-save": "yarn add @aws-amplify/cli-internal -W && git restore package.json",
26+
"setup-dev": "rm -rf yarn.lock && (yarn && lerna run build) && yarn add-cli-no-save && (yarn hoist-cli && yarn rm-dev-link && yarn link-dev)",
27+
"add-cli-no-save": "yarn add @aws-amplify/amplify-category-api @aws-amplify/cli-internal -W && git restore package.json yarn.lock",
2828
"hoist-cli": "rm -rf node_modules/amplify-cli-internal && mkdir node_modules/amplify-cli-internal && cp -r node_modules/@aws-amplify/cli-internal/ node_modules/amplify-cli-internal",
2929
"link-dev": "cd node_modules/amplify-cli-internal && ln -s \"$(pwd)/bin/amplify\" \"$(yarn global bin)/amplify-dev\" && cd -",
3030
"rm-dev-link": "rm -f \"$(yarn global bin)/amplify-dev\"",

0 commit comments

Comments
 (0)