Skip to content

Commit b9beaad

Browse files
committed
ci: cleanup npm scripts
1 parent 011b619 commit b9beaad

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737

3838
- run: npm i -g @antfu/ni
3939
- run: nci
40-
- run: nr build
4140

4241
- name: Publish package
4342
run: npm publish

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
},
3838
"scripts": {
3939
"build": "tsdown",
40-
"prepare": "npx simple-git-hooks && pnpm build",
4140
"lint": "eslint .",
4241
"test": "vitest",
43-
"typecheck": "tsc --noEmit"
42+
"typecheck": "tsc --noEmit",
43+
"prepublishOnly": "pnpm build"
4444
},
4545
"peerDependencies": {
4646
"@rspack/cli": "*",

0 commit comments

Comments
 (0)