Skip to content

Commit e1f7cf1

Browse files
committed
fix: release script to use web auth
1 parent a95c847 commit e1f7cf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"check:npm_auth": "dotenv -- sh -c 'npm whoami --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$NPM_TOKEN'",
4242
"release:publish:dry": "dotenv -- sh -c 'npm publish --dry-run --ignore-scripts --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$NPM_TOKEN'",
4343
"release:preflight": "pnpm check:npm_token && pnpm check:npm_auth && sh scripts/release-preflight.sh",
44-
"release": "pnpm release:preflight && pnpm test && pnpm prepack && pnpm release:publish:dry && dotenv -- changelogen --release && dotenv -- sh -c 'npm publish --//registry.npmjs.org/:_authToken=$NPM_TOKEN --registry https://registry.npmjs.org/' && git push --follow-tags",
44+
"release": "pnpm release:preflight && pnpm test && pnpm prepack && pnpm release:publish:dry && dotenv -- changelogen --release && npm publish --auth-type=web --registry https://registry.npmjs.org/ && git push --follow-tags",
4545
"test:release": "pnpm test && pnpm build",
4646
"dev": "nuxi dev playground",
4747
"dev:build": "nuxi build playground",

0 commit comments

Comments
 (0)