File tree 13 files changed +1261
-1708
lines changed
13 files changed +1261
-1708
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,3 @@ indent_size = 4
9
9
end_of_line = lf
10
10
insert_final_newline = true
11
11
trim_trailing_whitespace = true
12
-
13
- [package.json ]
14
- indent_size = 2
Original file line number Diff line number Diff line change 9
9
name : Node ${{ matrix.node }}
10
10
steps :
11
11
- name : Checkout repository
12
- uses : actions/checkout@v3
12
+ uses : actions/checkout@v4
13
13
- name : Set up Node
14
- uses : actions/setup-node@v3
14
+ uses : actions/setup-node@v4
15
15
with :
16
16
node-version : ${{ matrix.node }}
17
+ - name : Install pnpm
18
+ run : npm i -g pnpm@10
17
19
- name : Install
18
- run : npm ci
20
+ run : pnpm install
19
21
- name : Build
20
- run : npm run build
22
+ run : pnpm build
21
23
- name : Test
22
- run : npm run test
24
+ run : pnpm test
23
25
- name : Lint
24
- run : npm run lint
26
+ run : pnpm lint
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout repository
12
- uses : actions/checkout@v3
12
+ uses : actions/checkout@v4
13
13
- name : Set up Node
14
- uses : actions/setup-node@v3
14
+ uses : actions/setup-node@v4
15
15
with :
16
16
node-version : " 20"
17
+ - name : Install pnpm
18
+ run : npm i -g pnpm@10
17
19
- name : Install
18
- run : npm ci
20
+ run : pnpm i
19
21
- name : Build
20
- run : npm run build
22
+ run : pnpm build
21
23
- name : Build docs
22
- run : npm run docs -- src/testdata/infer.ts
24
+ run : pnpm doc src/testdata/infer.ts
23
25
- name : Deploy
24
26
25
27
with :
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout repository
12
- uses : actions/checkout@v3
12
+ uses : actions/checkout@v4
13
13
with :
14
14
fetch-depth : 0
15
15
- id : check
@@ -18,23 +18,23 @@ jobs:
18
18
diff-search : true
19
19
- name : Set up Node
20
20
if : steps.check.outputs.changed == 'true'
21
- uses : actions/setup-node@v3
21
+ uses : actions/setup-node@v4
22
22
with :
23
23
node-version : " 20"
24
+ - name : Install pnpm
25
+ if : steps.check.outputs.changed == 'true'
26
+ run : npm i -g pnpm@10
24
27
- name : Install
25
28
if : steps.check.outputs.changed == 'true'
26
- run : npm install
29
+ run : pnpm install
27
30
- name : Build
28
31
if : steps.check.outputs.changed == 'true'
29
- run : npm run build
30
- - name : Setup publish token
31
- if : steps.check.outputs.changed == 'true'
32
- run : echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
33
- env :
34
- NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
32
+ run : pnpm build
35
33
- name : Publish
36
34
if : steps.check.outputs.changed == 'true'
37
35
run : |
38
- npm publish --non-interactive
36
+ pnpm publish
39
37
git tag v$(jq .version package.json -r)
40
38
git push --tags
39
+ env :
40
+ npm_config_//registry.npmjs.org/:_authToken : ${{ secrets.NPM_AUTH_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ npm install --save-dev typedoc-plugin-zod
11
11
``` jsonc
12
12
// typedoc.json
13
13
{
14
- " plugin" : [" typedoc-plugin-zod" ],
14
+ " plugin" : [" typedoc-plugin-zod" ]
15
15
}
16
16
```
17
17
Original file line number Diff line number Diff line change
1
+ {
2
+ "indentWidth" : 4 ,
3
+ "typescript" : {
4
+ },
5
+ "json" : {
6
+ },
7
+ "markdown" : {
8
+ },
9
+ "excludes" : [
10
+ " **/node_modules" ,
11
+ " **/*-lock.json"
12
+ ],
13
+ "plugins" : [
14
+ " https://plugins.dprint.dev/typescript-0.94.0.wasm" ,
15
+ " https://plugins.dprint.dev/json-0.20.0.wasm" ,
16
+ " https://plugins.dprint.dev/markdown-0.18.0.wasm"
17
+ ]
18
+ }
You can’t perform that action at this time.
0 commit comments