Skip to content

Commit

Permalink
chore: replace @tsconfig/node18 with @tsconfig/node20
Browse files Browse the repository at this point in the history
Following #367

The underlying configuration is the same, though.
  • Loading branch information
haoqunjiang committed Jan 22, 2024
1 parent 4be5bd2 commit 6a16968
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"homepage": "https://github.com/vuejs/create-vue#readme",
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@tsconfig/node20": "^20.1.2",
"@types/eslint": "^8.56.2",
"@types/node": "^20.11.5",
"@types/prompts": "^2.4.9",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion template/tsconfig/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@tsconfig/node20": "^20.1.2",
"@vue/tsconfig": "^0.5.1"
}
}
2 changes: 1 addition & 1 deletion template/tsconfig/base/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node18/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"include": [
"vite.config.*",
"vitest.config.*",
Expand Down
2 changes: 1 addition & 1 deletion template/tsconfig/nightwatch/nightwatch/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node18/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"composite": true,
"noEmit": true,
Expand Down
2 changes: 1 addition & 1 deletion template/tsconfig/playwright/e2e/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "@tsconfig/node18/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"include": ["./**/*"]
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node18/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"include": ["index.ts", "utils/**/*"],
"compilerOptions": {
"strict": false,
Expand Down

0 comments on commit 6a16968

Please sign in to comment.