Skip to content

Commit 4f8354a

Browse files
committed
update run scripts
1 parent 6f6687f commit 4f8354a

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/onReleaseCreated.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
node-version: 20
2828
registry-url: https://registry.npmjs.org/
2929
- run: npm ci
30+
- run: npm run build
3031
- run: npm publish
3132
env:
3233
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,9 @@
2020
},
2121
"scripts": {
2222
"dev": "vite",
23-
"build": "npm run build:plain && npm run build:types",
24-
"build:plain": "vite build",
25-
"build:types": "vue-tsc --declaration --emitDeclarationOnly --outDir dist/types ",
23+
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly --outDir dist/types ",
2624
"typecheck": "vue-tsc --noEmit",
27-
"test": "vitest",
28-
"publish": "npm run build && npm publish --public",
29-
"publish:plain": "npm publish --public"
25+
"test": "vitest"
3026
},
3127
"keywords": [],
3228
"author": "David Wolter <david@dampfer.net>",

0 commit comments

Comments
 (0)