Skip to content

Commit 226ec4f

Browse files
fix: fix npm publish command
1 parent 61d88e6 commit 226ec4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"test:watch": "jest --watch",
2929
"test:cov": "jest --coverage --coverage-reporters html --coverage-reporters lcov",
3030
"test:debug": "node --inspect-brk -r ts-node/register node_modules/.bin/jest --runInBand",
31-
"publish-next": "npm run build && npm publish dist --tag next",
32-
"publish-latest-only": "npm run build && npm publish dist",
31+
"publish-next": "npm run build && (cd dist && npm publish --tag next)",
32+
"publish-latest-only": "npm run build && (cd dist && npm publish)",
3333
"publish-latest": "npm run publish-latest-only && npm dist-tag add `jq '.name' package.json -r`@`jq '.version' package.json -r` next"
3434
},
3535
"bin": {

0 commit comments

Comments
 (0)