Skip to content

Commit

Permalink
build: use node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Nov 25, 2024
1 parent aaa3322 commit 249e47b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20
v22
11 changes: 5 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"dependencies": {
"@saucelabs/testcomposer": "3.0.2",
"@tsconfig/node20": "^20.1.4",
"@tsconfig/node22": "^22.0.0",
"@types/shelljs": "^0.8.15",
"dotenv": "16.4.5",
"lodash": "4.17.21",
Expand All @@ -28,31 +28,31 @@
"shelljs": "^0.8.5",
"testcafe": "3.7.0",
"testcafe-browser-provider-ios": "0.5.0",
"testcafe-reporter-saucelabs": "3.5.1",
"typescript": "^5.6.3",
"testcafe-reporter-saucelabs": "3.6.0",
"typescript": "^5.7.2",
"xml-js": "1.6.11",
"yargs": "17.7.2"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@eslint/js": "^9.15.0",
"@types/chai": "^5.0.1",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.14",
"@types/jquery": "^3.5.32",
"@types/mocha": "^10.0.9",
"@types/node": "^20.17.3",
"eslint": "^9.14.0",
"@types/mocha": "^10.0.10",
"@types/node": "^22.9.4",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-testcafe": "^0.2.1",
"husky": "^9.1.6",
"husky": "^9.1.7",
"jest": "^29.7.0",
"mocha": "^10.8.2",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"release-it": "^17.10.0",
"ts-jest": "^29.2.5",
"typescript-eslint": "^8.13.0"
"typescript-eslint": "^8.16.0"
}
}
11 changes: 3 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
],
"extends": "@tsconfig/node22/tsconfig.json",
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"],
"compilerOptions": {
"outDir": "./lib",
"declaration": true,
Expand Down

0 comments on commit 249e47b

Please sign in to comment.