Skip to content

Commit 94bbf40

Browse files
committed
fix: limit some npm scripts to public packages
1 parent 58de92a commit 94bbf40

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
@@ -7,7 +7,7 @@
77
"bugs": "https://github.com/semaphore-protocol/semaphore/issues",
88
"private": true,
99
"scripts": {
10-
"build:libraries": "yarn workspaces foreach -t run build",
10+
"build:libraries": "yarn workspaces foreach -t --no-private run build",
1111
"compile:contracts": "yarn workspace contracts compile",
1212
"download:snark-artifacts": "rimraf snark-artifacts && ts-node scripts/download-snark-artifacts.ts",
1313
"test": "yarn test:libraries && yarn test:contracts",
@@ -16,9 +16,9 @@
1616
"lint": "eslint . --ext .js,.ts && yarn workspace contracts lint",
1717
"prettier": "prettier -c .",
1818
"prettier:write": "prettier -w .",
19-
"docs": "yarn workspaces foreach run docs",
19+
"docs": "yarn workspaces foreach --no-private run docs",
2020
"version:bump": "yarn workspaces foreach --no-private version -d ${0} && yarn version apply --all && git commit -am \"chore: v${0}\" && git tag v${0}",
21-
"version:publish": "yarn build:libraries && yarn workspaces foreach --no-private npm publish --tolerate-republish",
21+
"version:publish": "yarn build:libraries && yarn workspaces foreach --no-private npm publish --tolerate-republish --access public",
2222
"version:release": "changelogithub",
2323
"commit": "cz",
2424
"precommit": "lint-staged",

0 commit comments

Comments
 (0)