File tree Expand file tree Collapse file tree 19 files changed +4005
-3105
lines changed
Expand file tree Collapse file tree 19 files changed +4005
-3105
lines changed Original file line number Diff line number Diff line change @@ -8,24 +8,9 @@ end_of_line = lf
88insert_final_newline = true
99trim_trailing_whitespace = true
1010
11- [* .php ]
12- indent_style = tab
13- indent_size = 4
14-
15- [* .py ]
16- charset = utf-8
17- indent_style = space
18- indent_size = 4
19- end_of_line = lf
20- insert_final_newline = true
21- trim_trailing_whitespace = true
22-
2311[Makefile ]
2412indent_style = tab
2513indent_size = 4
2614
27- [* .sln ]
28- indent_style = tab
29-
3015[* .{md,mdx} ]
3116trim_trailing_whitespace = false
Original file line number Diff line number Diff line change 1- * .config.js
2- * .config.ts
3- * .test.js
4- * .test.ts
51dist
2+ docs /site
Original file line number Diff line number Diff line change 1- name : Test
1+ name : CI
22
33on :
44 push :
5- paths-ignore :
6- - ' docs/**'
7- - ' README.md'
8- - ' LICENSE'
9- - ' .editorconfig'
105 branches :
11- - main
12- pull_request :
13- paths-ignore :
14- - ' docs/**'
15- - ' README.md'
16- - ' LICENSE'
17- - ' .editorconfig'
6+ - ' **'
187
198jobs :
209 test :
@@ -23,15 +12,17 @@ jobs:
2312 matrix :
2413 os :
2514 - ubuntu-latest
26- node : [18.x, 20.x]
15+ node : [18.x, 20.x, 22.x ]
2716
2817 steps :
29- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v3
3019 - name : Set up Node.js
31- uses : actions/setup-node@v1
20+ uses : actions/setup-node@v3
3221 with :
3322 node-version : ${{ matrix.node }}
3423 - name : Install modules
3524 run : npm install
25+ - name : Run build
26+ run : npm run lint && npm run build
3627 - name : Run tests
3728 run : npm run test
Original file line number Diff line number Diff line change 1- name : Release & Publish
2-
1+ name : Publish
32on :
43 push :
54 tags :
65 - ' v*'
76
7+ concurrency : ${{ github.workflow }}-${{ github.ref }}
8+
89jobs :
910 publish :
1011 runs-on : ubuntu-latest
1112 steps :
12- - uses : actions/checkout@v2
13- - name : Setup .npmrc file to publish to npm
14- uses : actions/setup-node@v1
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-node@v3
1515 with :
16- node-version : ' 20.x'
17- registry-url : ' https://registry.npmjs.org'
18- - name : Set RELEASE_VERSION
19- run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
20- - name : Apply new version
21- run : node config/preparePublish.cjs
16+ node-version : 22.x
17+ cache : ' npm'
2218 - name : Install modules
2319 run : npm install
24- - name : Build
25- run : npm run build
20+ - name : Run build
21+ run : npm run lint && npm run build
22+ - name : Run tests
23+ run : npm run test
2624 - name : Publish to npm
2725 run : npm publish --access public
2826 env :
Original file line number Diff line number Diff line change 1-
2- # Logs
3- logs
4- * .log
5- npm-debug.log *
6- yarn-debug.log *
7- yarn-error.log *
8- lerna-debug.log *
9-
10- # Diagnostic reports (https://nodejs.org/api/report.html)
11- report. [0-9 ]* . [0-9 ]* . [0-9 ]* . [0-9 ]* .json
12-
13- # Runtime data
14- pids
15- * .pid
16- * .seed
17- * .pid.lock
18-
19- # Directory for instrumented libs generated by jscoverage/JSCover
20- lib-cov
21-
22- # Coverage directory used by tools like istanbul
23- coverage
24- * .lcov
25-
26- # nyc test coverage
27- .nyc_output
28-
29- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30- .grunt
31-
32- # Bower dependency directory (https://bower.io/)
33- bower_components
34-
35- # node-waf configuration
36- .lock-wscript
37-
38- # Compiled binary addons (https://nodejs.org/api/addons.html)
39- build /Release
40-
41- # Dependency directories
42- node_modules /
43- jspm_packages /
44-
45- # Snowpack dependency directory (https://snowpack.dev/)
46- web_modules /
47-
48- # TypeScript cache
49- * .tsbuildinfo
50-
51- # Optional npm cache directory
52- .npm
53-
54- # Optional eslint cache
55- .eslintcache
56-
57- # Microbundle cache
58- .rpt2_cache /
59- .rts2_cache_cjs /
60- .rts2_cache_es /
61- .rts2_cache_umd /
62-
63- # Optional REPL history
64- .node_repl_history
65-
66- # Output of 'npm pack'
67- * .tgz
68-
69- # Yarn Integrity file
70- .yarn-integrity
71-
72- # dotenv environment variables file
73- .env
74- .env.test
75-
76- # parcel-bundler cache (https://parceljs.org/)
77- .cache
78- .parcel-cache
79-
80- # Next.js build output
81- .next
82- out
83-
84- # Nuxt.js build / generate output
85- .nuxt
1+ node_modules
862dist
87-
88- # Gatsby files
89- .cache /
90- # Comment in the public line in if your project uses Gatsby and not Next.js
91- # https://nextjs.org/blog/next-9-1#public-directory-support
92- # public
93-
94- # vuepress build output
95- .vuepress /dist
96-
97- # Serverless directories
98- .serverless /
99-
100- # FuseBox cache
101- .fusebox /
102-
103- # DynamoDB Local files
104- .dynamodb /
105-
106- # TernJS port file
107- .tern-port
108-
109- # Stores VSCode versions used for testing VSCode extensions
110- .vscode-test
111-
112- # yarn v2
113- .yarn /cache
114- .yarn /unplugged
115- .yarn /build-state.yml
116- .yarn /install-state.gz
117- .pnp. *
118-
119-
120- # Ide
121- .idea /
122-
3+ .idea
1234docs /site
124- .DS_Store
5+ src / ** / * .js
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/sh
22. " $( dirname " $0 " ) /_/husky.sh"
3- . " $( dirname " $0 " ) /common.sh"
43
54npm run prettify
65npm run test
Original file line number Diff line number Diff line change 1+ dist
12docs /site
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments