File tree Expand file tree Collapse file tree 3 files changed +9
-29
lines changed Expand file tree Collapse file tree 3 files changed +9
-29
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
release :
10
- runs-on : ubuntu-latest
10
+ uses : sxzz/workflows/.github/workflows/release.yml@v1
11
+ with :
12
+ publish : true
11
13
permissions :
12
14
contents : write
13
- steps :
14
- - uses : actions/checkout@v3
15
- with :
16
- fetch-depth : 0
17
-
18
- - uses : actions/setup-node@v3
19
- with :
20
- node-version : lts/*
21
-
22
- - run : npx changelogithub
23
- env :
24
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
15
+ id-token : write
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
2
import antfu from '@antfu/eslint-config'
3
3
4
- export default antfu (
5
- {
6
- ignores : [
7
- // eslint ignore globs here
8
- ] ,
9
- } ,
10
- {
11
- rules : {
12
- // overrides
13
- } ,
14
- } ,
15
- )
4
+ export default antfu ( )
Original file line number Diff line number Diff line change 67
67
},
68
68
"scripts" : {
69
69
"dev" : " tsup --watch" ,
70
- "example:dev" : " npm -C examples/vite run dev" ,
71
- "example:build" : " npm -C examples/vite run build" ,
70
+ "example:dev" : " pnpm -C examples/vite run dev" ,
71
+ "example:build" : " pnpm -C examples/vite run build" ,
72
72
"build" : " tsup" ,
73
73
"build:fix" : " tsx scripts/postbuild.ts" ,
74
74
"test" : " vitest" ,
75
75
"test:update" : " vitest -u" ,
76
76
"lint" : " eslint ." ,
77
- "prepublishOnly" : " npm run build" ,
78
- "release" : " bumpp && npm publish "
77
+ "prepublishOnly" : " pnpm run build" ,
78
+ "release" : " bumpp"
79
79
},
80
80
"peerDependencies" : {
81
81
"vite" : " ^2.0.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.0 || ^7.0.0"
You can’t perform that action at this time.
0 commit comments