mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 22:51:13 +00:00
Update publish script to use npm in dist directory
Changed the publish script to run 'npm publish' from the 'dist' directory instead of using 'pnpm publish --filter napcat-types'. This ensures the published package uses the built output.
This commit is contained in:
parent
01da490d92
commit
9c567c2240
@ -10,7 +10,7 @@
|
||||
"scripts": {
|
||||
"build": "tsc --project tsconfig.json && tsc-alias --project tsconfig.json --outDir dist && node ./scripts/copy-dist.mjs",
|
||||
"test": "pnpm -s exec tsc --project tsconfig.json --noEmit",
|
||||
"publish": "pnpm publish --filter napcat-types"
|
||||
"publish": "cd dist && npm publish"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node": "^22.10.7",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user