diff --git a/packages/vue-sample/package.json b/packages/vue-sample/package.json index ab79452f..dd2c51c0 100644 --- a/packages/vue-sample/package.json +++ b/packages/vue-sample/package.json @@ -17,6 +17,7 @@ }, "devDependencies": { "@rushstack/eslint-patch": "^1.1.0", + "@tsconfig/node18": "^18.2.1", "@types/node": "^18.0.0", "@vitejs/plugin-vue": "^4.1.0", "@vue/eslint-config-prettier": "^8.0.0", diff --git a/packages/vue-sample/tsconfig.json b/packages/vue-sample/tsconfig.json index 363e83b4..0f913a5a 100644 --- a/packages/vue-sample/tsconfig.json +++ b/packages/vue-sample/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@vue/tsconfig/tsconfig.web.json", + "extends": "@vue/tsconfig/tsconfig.dom.json", "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], "compilerOptions": { "moduleResolution": "bundler", diff --git a/packages/vue-sample/tsconfig.vite-config.json b/packages/vue-sample/tsconfig.vite-config.json index 93fe5846..662f137b 100644 --- a/packages/vue-sample/tsconfig.vite-config.json +++ b/packages/vue-sample/tsconfig.vite-config.json @@ -1,5 +1,5 @@ { - "extends": "@vue/tsconfig/tsconfig.node.json", + "extends": "@tsconfig/node18/tsconfig.json", "include": ["vite.config.*"], "compilerOptions": { "composite": true, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 640903ed..17fae79f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -942,6 +942,9 @@ importers: '@rushstack/eslint-patch': specifier: ^1.1.0 version: 1.1.3 + '@tsconfig/node18': + specifier: ^18.2.1 + version: 18.2.1 '@types/node': specifier: ^18.0.0 version: 18.8.5 @@ -4170,6 +4173,10 @@ packages: resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} dev: true + /@tsconfig/node18@18.2.1: + resolution: {integrity: sha512-RDDZFuofwkcKpl8Vpj5wFbY+H53xOtqK7ckEL1sXsbPwvKwDdjQf3LkHbtt9sxIHn9nWIEwkmCwBRZ6z5TKU2A==} + dev: true + /@tsconfig/recommended@1.0.1: resolution: {integrity: sha512-2xN+iGTbPBEzGSnVp/Hd64vKJCJWxsi9gfs88x4PPMyEjHJoA3o5BY9r5OLPHIZU2pAQxkSAsJFqn6itClP8mQ==} dev: true