Skip to content

Commit 8cd3f7b

Browse files
committed
feat(core): backward compatible with Node.js 22.6.0
1 parent 7b31d6a commit 8cd3f7b

5 files changed

Lines changed: 186 additions & 193 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default defineConfig({
132132

133133
## Technical Notes
134134

135-
* **Node.js**: Requires 23.6.0+ (v3.0+).
135+
* **Node.js**: Requires 22.6.0+ (v3.0+).
136136
* **TypeScript**: Incompatible with `typescript-go` (v7) as it does not support Language Service Plugins.
137137

138138
## License

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@
99
"release": "npm run release:base && npm run release:vscode",
1010
"release:base": "lerna publish --exact --force-publish --yes --sync-workspace-lock",
1111
"release:vscode": "cd packages/vscode && npm run publish:all",
12-
"start": "node packages/cli/bin/tsslint.js",
13-
"lint": "node packages/cli/bin/tsslint.js --project {tsconfig.json,packages/*/tsconfig.json}",
12+
"start": "packages/cli/bin/tsslint.js",
13+
"lint": "packages/cli/bin/tsslint.js --project {tsconfig.json,packages/*/tsconfig.json}",
1414
"lint:fix": "npm run lint -- --fix",
15-
"lint:fixtures": "node packages/cli/bin/tsslint.js --project fixtures/*/tsconfig.json --vue-project fixtures/meta-frameworks/tsconfig.json --mdx-project fixtures/meta-frameworks/tsconfig.json --astro-project fixtures/meta-frameworks/tsconfig.json --ts-macro-project fixtures/meta-frameworks/tsconfig.json"
15+
"lint:fixtures": "packages/cli/bin/tsslint.js --project fixtures/*/tsconfig.json --vue-project fixtures/meta-frameworks/tsconfig.json --mdx-project fixtures/meta-frameworks/tsconfig.json --astro-project fixtures/meta-frameworks/tsconfig.json --ts-macro-project fixtures/meta-frameworks/tsconfig.json"
1616
},
1717
"devDependencies": {
1818
"@lerna-lite/cli": "latest",
1919
"@lerna-lite/publish": "latest",
2020
"@tsslint/config": "3.0.0-alpha.0",
2121
"@types/node": "latest",
22+
"@typescript-eslint/eslint-plugin": "latest",
2223
"typescript": "latest"
2324
}
2425
}

packages/cli/bin/tsslint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/usr/bin/env node --no-warnings
1+
#!/usr/bin/env node --experimental-strip-types --no-warnings
22
require('../index');

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "3.0.0-alpha.0",
44
"license": "MIT",
55
"engines": {
6-
"node": ">=23.6.0"
6+
"node": ">=22.6.0"
77
},
88
"files": [
99
"**/*.js",

0 commit comments

Comments
 (0)