Skip to content

Commit d0eeaa0

Browse files
authored
Merge pull request #223 from solana-foundation/fix/publish-latest-tag
fix: enable automated npm publish to latest tag
2 parents f057777 + c5bde70 commit d0eeaa0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-solana-dapp": patch
3+
---
4+
5+
fix: enable automated npm publish to `latest` tag

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"lint": "eslint .",
4343
"lint:fix": "automd && eslint . --fix",
4444
"prepublishOnly": "pnpm pkg delete devDependencies",
45-
"publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag ${PUBLISH_TAG:-canary} --access public --no-git-checks",
45+
"publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag ${PUBLISH_TAG:-latest} --access public --no-git-checks",
4646
"publish-packages": "pnpm prepublishOnly && pnpm publish-impl",
4747
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
4848
"test:types": "tsc --noEmit --skipLibCheck"

0 commit comments

Comments
 (0)