File tree Expand file tree Collapse file tree 14 files changed +10134
-12580
lines changed Expand file tree Collapse file tree 14 files changed +10134
-12580
lines changed Original file line number Diff line number Diff line change 1
1
dist
2
- .yarn
3
2
node_modules
Original file line number Diff line number Diff line change @@ -20,27 +20,25 @@ jobs:
20
20
- uses : actions/checkout@v4
21
21
with :
22
22
fetch-depth : 0
23
+
24
+ - name : Install pnpm
25
+ uses : pnpm/action-setup@v4
26
+
23
27
- name : Use Node.js LTS
24
28
uses : actions/setup-node@v4
25
29
with :
26
30
node-version-file : ' .nvmrc'
27
- cache : ' yarn'
28
- - name : Get yarn cache directory path
29
- id : yarn-cache-dir-path
30
- run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
31
- - uses : actions/cache@v4
32
- id : yarn-cache
33
- with :
34
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
35
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
36
- restore-keys : |
37
- ${{ runner.os }}-yarn-
31
+ cache : ' pnpm'
32
+
38
33
- name : Install Dependencies
39
- run : yarn install
34
+ run : pnpm install
35
+
40
36
- name : Build
41
- run : yarn build
37
+ run : pnpm run build
38
+
42
39
- name : Test with Coverage
43
- run : yarn coverage
40
+ run : pnpm run coverage
41
+
44
42
- uses : codecov/codecov-action@v4
45
43
with :
46
44
token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -22,22 +22,18 @@ jobs:
22
22
- uses : actions/checkout@v4
23
23
with :
24
24
fetch-depth : 0
25
+
26
+ - name : Install pnpm
27
+ uses : pnpm/action-setup@v4
28
+
25
29
- name : Use Node.js LTS
26
30
uses : actions/setup-node@v4
27
31
with :
28
32
node-version-file : ' .nvmrc'
29
- cache : ' yarn'
30
- - name : Get yarn cache directory path
31
- id : yarn-cache-dir-path
32
- run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
33
- - uses : actions/cache@v4
34
- id : yarn-cache
35
- with :
36
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
37
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
38
- restore-keys : |
39
- ${{ runner.os }}-yarn-
33
+ cache : ' pnpm'
34
+
40
35
- name : Install Dependencies
41
- run : yarn install
36
+ run : pnpm install
37
+
42
38
- name : Lint
43
- run : yarn lint:ci
39
+ run : pnpm run lint:ci
Original file line number Diff line number Diff line change @@ -23,32 +23,36 @@ jobs:
23
23
steps :
24
24
- name : Checkout repository
25
25
uses : actions/checkout@v4
26
+
26
27
- name : Use Node.js LTS
27
28
uses : actions/setup-node@v4
28
29
with :
29
30
node-version : 20
30
- cache : ' yarn '
31
- registry-url : ' https://registry.npmjs.org '
32
- - name : Get yarn cache directory path
33
- id : yarn-cache-dir-path
34
- run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
35
- - uses : actions/cache@v4
36
- id : yarn-release-cache
31
+ cache : ' pnpm '
32
+
33
+ - name : Install pnpm
34
+ uses : pnpm/action-setup@v4
35
+
36
+ - name : Use Node.js LTS
37
+ uses : actions/setup-node@v4
37
38
with :
38
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
39
- key : ${{ runner.os }}-yarn-release-${{ hashFiles('**/yarn.lock') }}
40
- restore-keys : |
41
- ${{ runner.os }}-yarn-release
39
+ node-version-file : ' .nvmrc'
40
+ cache : ' pnpm'
41
+
42
42
- name : Install Dependencies
43
- run : yarn install
43
+ run : pnpm install
44
+
44
45
- name : Prepack
45
- run : yarn run prepack
46
+ run : pnpm run prepack
47
+
46
48
- name : Build
47
49
run : npm run build
48
- - name : Delete Scripts
49
- run : npm pkg delete scripts
50
- - name : Delete Workspaces
51
- run : npm pkg delete workspaces
50
+
51
+ - name : Clean package.json
52
+ run : |
53
+ npm pkg delete scripts
54
+ npm pkg delete lint-staged
55
+
52
56
- name : Publish to npm
53
57
run : npm publish --provenance --access public
54
58
env :
Original file line number Diff line number Diff line change
1
+
2
+
3
+ # Logs
4
+ logs
5
+ * .log
6
+ npm-debug.log *
7
+ yarn-debug.log *
8
+ yarn-error.log *
9
+ pnpm-debug.log *
10
+ lerna-debug.log *
11
+
12
+ # yarn
1
13
** /.yarn /*
2
14
** /!.yarn /patches
3
15
** /!.yarn /plugins
4
16
** /!.yarn /releases
5
17
** /!.yarn /sdks
6
18
** /!.yarn /versions
7
19
8
- # Swap the comments on the following lines if you don't wish to use zero-installs
9
- # Documentation here: https://yarnpkg.com/features/zero-installs
10
- # !.yarn/cache
11
- .pnp. *
12
-
13
- dist
14
- tsconfig.tsbuildinfo
15
- .eslintcache
16
20
node_modules
17
-
21
+ dist
22
+ dist-ssr
23
+ coverage
24
+ * .local
25
+ .idea
26
+ .vscode
18
27
.next
19
28
.vercel
20
- coverage
21
29
30
+ # Editor directories and files
31
+ .vscode /*
32
+ ! .vscode /extensions.json
22
33
.idea
23
- .vscode
34
+ .DS_Store
35
+ * .suo
36
+ * .ntvs *
37
+ * .njsproj
38
+ * .sln
39
+ * .sw ?
40
+
41
+ # cache
42
+ tsconfig.tsbuildinfo
43
+ .eslintcache
44
+ node_modules
Original file line number Diff line number Diff line change 46
46
npm-debug.log *
47
47
yarn-debug.log *
48
48
yarn-error.log *
49
+ pnpm-debug.log *
49
50
lerna-debug.log *
50
51
51
52
# Diagnostic reports (https://nodejs.org/api/report.html)
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 13
13
"@textea/json-viewer" : " workspace:^" ,
14
14
"gray-matter" : " ^4.0.3" ,
15
15
"next" : " ^13.5.6" ,
16
- "nextra" : " ^2.13.3 " ,
17
- "nextra-theme-docs" : " ^2.13.3 " ,
16
+ "nextra" : " ^2.13.4 " ,
17
+ "nextra-theme-docs" : " ^2.13.4 " ,
18
18
"react" : " ^18.3.1" ,
19
19
"react-dom" : " ^18.3.1"
20
20
},
21
21
"devDependencies" : {
22
- "@types/node" : " ^20.11.19 " ,
23
- "@types/react" : " ^18.3.3 " ,
22
+ "@types/node" : " ^20.16.5 " ,
23
+ "@types/react" : " ^18.3.5 " ,
24
24
"@types/react-dom" : " ^18.3.0" ,
25
- "typescript" : " ^5.5.4 "
25
+ "typescript" : " ^5.6.2 "
26
26
}
27
27
}
You can’t perform that action at this time.
0 commit comments