From 6a16968d3aa2a824d76e67156854b8ac5c43ba39 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 22 Jan 2024 23:38:55 +0800 Subject: [PATCH] chore: replace `@tsconfig/node18` with `@tsconfig/node20` Following https://github.com/vuejs/create-vue/pull/367 The underlying configuration is the same, though. --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- template/tsconfig/base/package.json | 2 +- template/tsconfig/base/tsconfig.node.json | 2 +- .../tsconfig/nightwatch/nightwatch/tsconfig.json | 2 +- template/tsconfig/playwright/e2e/tsconfig.json | 2 +- tsconfig.json | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index bd137b92..75ead66c 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e2d4d9aa..3eee3eb7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,9 +8,9 @@ importers: .: devDependencies: - '@tsconfig/node18': - specifier: ^18.2.2 - version: 18.2.2 + '@tsconfig/node20': + specifier: ^20.1.2 + version: 20.1.2 '@types/eslint': specifier: ^8.56.2 version: 8.56.2 @@ -202,9 +202,9 @@ importers: template/tsconfig/base: devDependencies: - '@tsconfig/node18': - specifier: ^18.2.2 - version: 18.2.2 + '@tsconfig/node20': + specifier: ^20.1.2 + version: 20.1.2 '@vue/tsconfig': specifier: ^0.5.1 version: 0.5.1 @@ -1331,8 +1331,8 @@ packages: resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} dev: true - /@tsconfig/node18@18.2.2: - resolution: {integrity: sha512-d6McJeGsuoRlwWZmVIeE8CUA27lu6jLjvv1JzqmpsytOYYbVi1tHZEnwCNVOXnj4pyLvneZlFlpXUK+X9wBWyw==} + /@tsconfig/node20@20.1.2: + resolution: {integrity: sha512-madaWq2k+LYMEhmcp0fs+OGaLFk0OenpHa4gmI4VEmCKX4PJntQ6fnnGADVFrVkBj0wIdAlQnK/MrlYTHsa1gQ==} dev: true /@types/chai@4.3.9: diff --git a/template/tsconfig/base/package.json b/template/tsconfig/base/package.json index f562a3cc..d00215b3 100644 --- a/template/tsconfig/base/package.json +++ b/template/tsconfig/base/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@tsconfig/node18": "^18.2.2", + "@tsconfig/node20": "^20.1.2", "@vue/tsconfig": "^0.5.1" } } diff --git a/template/tsconfig/base/tsconfig.node.json b/template/tsconfig/base/tsconfig.node.json index 47712ab3..f0940630 100644 --- a/template/tsconfig/base/tsconfig.node.json +++ b/template/tsconfig/base/tsconfig.node.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node18/tsconfig.json", + "extends": "@tsconfig/node20/tsconfig.json", "include": [ "vite.config.*", "vitest.config.*", diff --git a/template/tsconfig/nightwatch/nightwatch/tsconfig.json b/template/tsconfig/nightwatch/nightwatch/tsconfig.json index 26066fc0..8cd7ca1d 100644 --- a/template/tsconfig/nightwatch/nightwatch/tsconfig.json +++ b/template/tsconfig/nightwatch/nightwatch/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node18/tsconfig.json", + "extends": "@tsconfig/node20/tsconfig.json", "compilerOptions": { "composite": true, "noEmit": true, diff --git a/template/tsconfig/playwright/e2e/tsconfig.json b/template/tsconfig/playwright/e2e/tsconfig.json index 99923aba..be3bbfc0 100644 --- a/template/tsconfig/playwright/e2e/tsconfig.json +++ b/template/tsconfig/playwright/e2e/tsconfig.json @@ -1,4 +1,4 @@ { - "extends": "@tsconfig/node18/tsconfig.json", + "extends": "@tsconfig/node20/tsconfig.json", "include": ["./**/*"] } diff --git a/tsconfig.json b/tsconfig.json index df3ac89a..151f669f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node18/tsconfig.json", + "extends": "@tsconfig/node20/tsconfig.json", "include": ["index.ts", "utils/**/*"], "compilerOptions": { "strict": false,