File tree Expand file tree Collapse file tree 8 files changed +2866
-4634
lines changed Expand file tree Collapse file tree 8 files changed +2866
-4634
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ jobs:
19
19
node-version : 22
20
20
check-latest : true
21
21
22
- - run : yarn install --immutable
22
+ - run : corepack enable
23
23
24
- - run : yarn format:check
24
+ - run : pnpm install --frozen-lockfile
25
25
26
- - run : yarn build
26
+ - run : pnpm format:check
27
27
28
- - run : yarn test
28
+ - run : pnpm build
29
+
30
+ - run : pnpm test
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ permissions: read-all
10
10
jobs :
11
11
publish :
12
12
runs-on : ubuntu-latest
13
+
14
+ permissions :
15
+ contents : read
16
+ id-token : write
17
+
13
18
steps :
14
19
- name : Checkout tree
15
20
uses : actions/checkout@v4
@@ -19,11 +24,12 @@ jobs:
19
24
with :
20
25
node-version : 22
21
26
check-latest : true
27
+ registry-url : https://registry.npmjs.org
22
28
23
- - run : yarn install --immutable
29
+ - run : corepack enable
24
30
25
- - run : yarn build
31
+ - run : pnpm install --frozen-lockfile
26
32
27
- - run : yarn npm publish --tolerate-republish
33
+ - run : pnpm publish --no-git-checks
28
34
env :
29
- NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
35
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 1
- /.yarn /*
2
- ! /.yarn /releases
3
1
/dist /
4
2
/node_modules /
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 36
36
],
37
37
"scripts" : {
38
38
"build" : " tsup" ,
39
- "ci" : " biome ci ." ,
40
39
"cli:help" : " node index.js -h" ,
41
40
"cli:json" : " node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts" ,
42
41
"cli:yaml" : " node index.js -r -d -p ./swagger-test-cli.yaml -n swagger-test-cli.ts" ,
43
42
"format" : " biome format --write ." ,
44
43
"format:check" : " biome format ." ,
44
+ "lint" : " biome check" ,
45
+ "prepublishOnly" : " pnpm build" ,
45
46
"test" : " vitest run"
46
47
},
47
48
"dependencies" : {
72
73
"tsup" : " 8.2.3" ,
73
74
"vitest" : " 2.0.5"
74
75
},
75
- "packageManager" : " yarn@4.3.1 " ,
76
+ "packageManager" : " pnpm@9.6.0 " ,
76
77
"engines" : {
77
78
"node" : " >=18.0.0"
78
79
},
79
80
"publishConfig" : {
80
81
"access" : " public" ,
82
+ "provenance" : true ,
81
83
"registry" : " https://registry.npmjs.org"
82
84
}
83
85
}
You can’t perform that action at this time.
0 commit comments