Skip to content

Commit

Permalink
chore: upgrade to Node 18 and typescript 5
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Aug 31, 2023
1 parent 602946c commit 919d179
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Prepare the project for any CI action
inputs:
node-version:
description: Version of Node to install
default: 16.x
default: 18.x

with-fixture:
description: If the setup should install the test/fixture files
Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@sucrase/webpack-loader": "^2.0.0",
"@tsconfig/node16": "^1.0.3",
"@tsconfig/node18": "^18.2.1",
"@types/chai": "^4.3.5",
"@types/chai-subset": "^1.3.3",
"@types/debug": "^4.1.7",
"@types/minimatch": "^3.0.5",
"@types/mocha": "^10.0.1",
"@types/node": "^16.11.56",
"@types/node": "^18.17.12",
"@types/node-fetch": "^2.6.2",
"@types/vscode": "^1.78.2",
"@typescript-eslint/eslint-plugin": "^5.48.0",
Expand Down Expand Up @@ -84,7 +84,7 @@
"semantic-release": "^19.0.3",
"semver": "^7.5.2",
"sucrase": "^3.20.3",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"webpack": "^5.76.0",
"webpack-cli": "^4.7.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exclude": ["out", "node_modules", ".vscode-test", "test/fixture"],
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18",
"compilerOptions": {
"moduleResolution": "node",

Check failure on line 5 in tsconfig.json

View workflow job for this annotation

GitHub Actions / bundled

Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'.

Check failure on line 5 in tsconfig.json

View workflow job for this annotation

GitHub Actions / vscode (ubuntu, oldest)

Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'.

Check failure on line 5 in tsconfig.json

View workflow job for this annotation

GitHub Actions / vscode (ubuntu, stable)

Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'.
"outDir": "out",
Expand Down

0 comments on commit 919d179

Please sign in to comment.