Skip to content

Commit fbc80aa

Browse files
authored
chore: include nx reset when running release (#2436)
1 parent be9aa2c commit fbc80aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"refresh:config": "test -n $BASH_VERSION && bash ./tasks/chromatic-config-creation.sh || exit 0",
4040
"refresh:directory": "test -n $BASH_VERSION && bash ./tasks/clean-up-after-migration.sh || exit 0",
4141
"refresh:env": "test -n $BASH_VERSION && bash ./tasks/copy-env-from-root.sh || exit 0",
42-
"prerelease": "nx affected --target build",
43-
"release": "lerna publish",
44-
"release:beta-from-package": "yarn release from-package --conventional-prerelease --preid beta --pre-dist-tag beta --no-private",
42+
"prerelease": "nx reset && yarn build",
43+
"release": "lerna publish --no-private",
44+
"release:beta-from-package": "yarn release from-package --conventional-prerelease --preid beta --pre-dist-tag beta",
4545
"prerelease:site": "yarn build:site",
4646
"release:site": "gh-pages -d dist/ -f -e .",
4747
"start": "NODE_ENV=development nx start storybook",

0 commit comments

Comments
 (0)