From 619615c205213dfe7c751ba00af9aa4388cd3be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Sat, 24 Sep 2022 20:52:06 +0900 Subject: [PATCH] refactor(types): bundle client types (#9966) --- .eslintignore | 2 +- .eslintrc.cjs | 2 +- .gitignore | 1 + .prettierignore | 1 + packages/plugin-vue-jsx/tsconfig.json | 1 - packages/plugin-vue/tsconfig.json | 1 - 6 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.eslintignore b/.eslintignore index 3e795e7a..833faed8 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,4 @@ dist playground-temp temp - +packages/vite/client/types.d.ts diff --git a/.eslintrc.cjs b/.eslintrc.cjs index e14beca6..2ce0e4fb 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -131,7 +131,7 @@ module.exports = defineConfig({ } }, { - files: ['packages/vite/types/**', '*.spec.ts'], + files: ['packages/vite/src/dep-types/**', '*.spec.ts'], rules: { 'node/no-extraneous-import': 'off' } diff --git a/.gitignore b/.gitignore index 7f1cab0e..8aafb6ab 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ *.local *.log /.vscode/ +/packages/vite/client/types.d.ts /packages/vite/LICENSE dist dist-ssr diff --git a/.prettierignore b/.prettierignore index b1ea458b..be3598b2 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,3 +9,4 @@ playground/tsconfig-json-load-error/has-error/tsconfig.json playground/html/invalid.html playground/html/valid.html playground/worker/classic-worker.js +packages/vite/client/types.d.ts diff --git a/packages/plugin-vue-jsx/tsconfig.json b/packages/plugin-vue-jsx/tsconfig.json index ddb60f86..bd94458f 100644 --- a/packages/plugin-vue-jsx/tsconfig.json +++ b/packages/plugin-vue-jsx/tsconfig.json @@ -12,7 +12,6 @@ "noUnusedLocals": true, "esModuleInterop": true, "paths": { - "types/*": ["../vite/types/*"], "vite": ["../vite/src/node/index.js"] } } diff --git a/packages/plugin-vue/tsconfig.json b/packages/plugin-vue/tsconfig.json index d3a45a1b..4bb9f95e 100644 --- a/packages/plugin-vue/tsconfig.json +++ b/packages/plugin-vue/tsconfig.json @@ -14,7 +14,6 @@ "esModuleInterop": true, "baseUrl": ".", "paths": { - "types/*": ["../vite/types/*"], "vite": ["../vite/src/node/index.js"] } }