File tree Expand file tree Collapse file tree 12 files changed +122
-18
lines changed
Expand file tree Collapse file tree 12 files changed +122
-18
lines changed Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 strategy :
1717 matrix :
18- node : [18, 19, 20, 21]
18+ node :
19+ - 20 # Maintenance LTS
20+ - 22 # Maintenance LTS
21+ - 24 # Active LTS
22+ - 25 # Current
1923 steps :
2024 - uses : actions/checkout@v4
2125 - uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 1- 21.6.2
1+ 25.2.1
Original file line number Diff line number Diff line change 22 "name" : " @examples/jest" ,
33 "private" : true ,
44 "scripts" : {
5+ "check" : " yarn compile && yarn test" ,
56 "compile" : " tsc" ,
67 "test" : " jest"
78 },
89 "devDependencies" : {
910 "@assertive-ts/core" : " workspace:^" ,
1011 "@examples/symbol-plugin" : " workspace:^" ,
1112 "@types/jest" : " ^29.5.12" ,
12- "@types/node" : " ^20.11.19 " ,
13+ "@types/node" : " ^24.10.1 " ,
1314 "jest" : " ^29.7.0" ,
1415 "ts-jest" : " ^29.1.2" ,
1516 "ts-node" : " ^10.9.2" ,
Original file line number Diff line number Diff line change 22 "name" : " @examples/mocha" ,
33 "private" : true ,
44 "scripts" : {
5+ "check" : " yarn compile && yarn test --forbid-only" ,
56 "compile" : " tsc" ,
67 "test" : " mocha"
78 },
89 "devDependencies" : {
910 "@assertive-ts/core" : " workspace:^" ,
1011 "@examples/symbol-plugin" : " workspace:^" ,
1112 "@types/mocha" : " ^10.0.6" ,
12- "@types/node" : " ^20.11.19 " ,
13+ "@types/node" : " ^24.10.1 " ,
1314 "mocha" : " ^10.3.0" ,
1415 "ts-node" : " ^10.9.2" ,
1516 "typescript" : " ^5.4.2"
Original file line number Diff line number Diff line change 11/* eslint-disable react-hooks/rules-of-hooks */
22import { usePlugin } from "@assertive-ts/core" ;
33import { SymbolPlugin } from "@examples/symbol-plugin" ;
4- import { RootHookObject } from "mocha" ;
54
6- export function mochaHooks ( ) : RootHookObject {
5+ export function mochaHooks ( ) : Mocha . RootHookObject {
76 return {
87 beforeAll ( ) {
98 usePlugin ( SymbolPlugin ) ;
Original file line number Diff line number Diff line change 44 "main" : " ./dist/main.js" ,
55 "types" : " ./dist/main.d.ts" ,
66 "scripts" : {
7+ "check" : " yarn compile" ,
78 "build" : " tsc -p tsconfig.prod.json" ,
89 "compile" : " tsc"
910 },
Original file line number Diff line number Diff line change 66 "author" :
" Stack Builders <[email protected] >" ,
77 "license" : " MIT" ,
88 "engines" : {
9- "node" : " >=18 "
9+ "node" : " >=20 "
1010 },
1111 "packageManager" :
" [email protected] " ,
1212 "workspaces" : [
1515 ],
1616 "scripts" : {
1717 "check" : " turbo check && yarn lint" ,
18+ "clean" : " rimraf **/.turbo/ **/build/ **/dist/ **/node_modules/" ,
1819 "build" : " turbo run build" ,
1920 "compile" : " turbo run compile" ,
2021 "docs" : " turbo docs" ,
3334 "eslint-plugin-react" : " ^7.34.1" ,
3435 "eslint-plugin-react-hooks" : " ^4.6.0" ,
3536 "eslint-plugin-sonarjs" : " ^0.24.0" ,
37+ "rimraf" : " ^6.1.2" ,
3638 "turbo" : " ^1.12.4" ,
3739 "typescript" : " ^5.4.2"
3840 }
Original file line number Diff line number Diff line change 3737 },
3838 "devDependencies" : {
3939 "@types/mocha" : " ^10.0.6" ,
40- "@types/node" : " ^20.11.19 " ,
40+ "@types/node" : " ^24.10.1 " ,
4141 "@types/sinon" : " ^17.0.3" ,
4242 "all-contributors-cli" : " ^6.26.1" ,
4343 "mocha" : " ^10.3.0" ,
Original file line number Diff line number Diff line change 4444 "@testing-library/react" : " ^16.0.0" ,
4545 "@types/jsdom-global" : " ^3" ,
4646 "@types/mocha" : " ^10.0.6" ,
47- "@types/node" : " ^20.11.19 " ,
47+ "@types/node" : " ^24.10.1 " ,
4848 "@types/react" : " ^18.3.3" ,
4949 "@types/react-dom" : " ^18.3.0" ,
5050 "@types/react-test-renderer" : " ^18" ,
Original file line number Diff line number Diff line change 4242 "@assertive-ts/core" : " workspace:^" ,
4343 "@testing-library/react-native" : " ^12.9.0" ,
4444 "@types/mocha" : " ^10.0.6" ,
45- "@types/node" : " ^20.11.19 " ,
45+ "@types/node" : " ^24.10.1 " ,
4646 "@types/react" : " ^18.2.70" ,
4747 "@types/react-test-renderer" : " ^18.0.7" ,
4848 "@types/sinon" : " ^17.0.3" ,
You can’t perform that action at this time.
0 commit comments