Skip to content

Commit e06be28

Browse files
committed
fix: add packageManager field and include lint+typecheck in release scripts
- Add packageManager field to fix pnpm/action-setup@v4 CI failure - Include pnpm lint and pnpm test:types in release and test:release scripts to match CI checks
1 parent 872064d commit e06be28

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
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 && npm publish --auth-type=web --registry https://registry.npmjs.org/ && git push --follow-tags",
45-
"test:release": "pnpm test && pnpm build",
44+
"release": "pnpm release:preflight && pnpm lint && pnpm test:types && 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",
45+
"test:release": "pnpm lint && pnpm test:types && pnpm test && pnpm build",
4646
"dev": "nuxi dev playground",
4747
"dev:build": "nuxi build playground",
4848
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
@@ -90,6 +90,7 @@
9090
"pg": "*",
9191
"pinia": "^3.0.0"
9292
},
93+
"packageManager": "pnpm@10.17.1",
9394
"pnpm": {
9495
"onlyBuiltDependencies": [
9596
"better-sqlite3"

0 commit comments

Comments
 (0)