]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
build: fix dts tests
authorEvan You <yyx990803@gmail.com>
Fri, 8 Oct 2021 18:12:13 +0000 (14:12 -0400)
committerEvan You <yyx990803@gmail.com>
Fri, 8 Oct 2021 18:12:13 +0000 (14:12 -0400)
package.json
packages/sfc-playground/package.json
pnpm-lock.yaml
test-dts/tsconfig.build.json

index 77a8d2832153b53f79f7a0cbb438f902096cda35..6ef84114cf2e0d38f7828f61e970d4097ae3b396 100644 (file)
@@ -45,6 +45,9 @@
   },
   "devDependencies": {
     "vue": "workspace:*",
+    "@vue/runtime-dom": "workspace:*",
+    "@vue/runtime-core": "workspace:*",
+    "@vue/reactivity": "workspace:*",
     "@babel/types": "^7.12.0",
     "@microsoft/api-extractor": "^7.15.1",
     "@rollup/plugin-commonjs": "^18.0.0",
@@ -83,6 +86,7 @@
     "yorkie": "^2.0.0",
     "lodash": "^4.17.15",
     "marked": "^0.7.0",
-    "todomvc-app-css": "^2.3.0"
+    "todomvc-app-css": "^2.3.0",
+    "vite": "^2.6.0"
   }
 }
index 42c65a0f7a3168c422f8ef96686c9e6714861ed7..d94d1c1d44bcb7f91c33dc67ecc3d599610a5063 100644 (file)
@@ -8,8 +8,7 @@
     "serve": "vite preview"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.8.1",
-    "vite": "^2.5.10"
+    "@vitejs/plugin-vue": "^1.9.3"
   },
   "dependencies": {
     "vue": "workspace:*",
index 0a3a521bf3792c4a959268c873401dfc6c98d406..0c44ddee4c595c96597127d15507ff3e8734775b 100644 (file)
@@ -15,6 +15,9 @@ importers:
       '@types/node': ^16.4.7
       '@types/puppeteer': ^5.0.0
       '@typescript-eslint/parser': ^4.1.1
+      '@vue/reactivity': workspace:*
+      '@vue/runtime-core': workspace:*
+      '@vue/runtime-dom': workspace:*
       brotli: ^1.3.2
       chalk: ^4.1.0
       conventional-changelog-cli: ^2.0.31
@@ -42,6 +45,7 @@ importers:
       todomvc-app-css: ^2.3.0
       ts-jest: ^27.0.5
       typescript: ^4.2.2
+      vite: ^2.6.0
       vue: workspace:*
       yorkie: ^2.0.0
     devDependencies:
@@ -56,6 +60,9 @@ importers:
       '@types/node': 16.10.3
       '@types/puppeteer': 5.4.4
       '@typescript-eslint/parser': 4.33.0_eslint@7.32.0+typescript@4.4.3
+      '@vue/reactivity': link:packages/reactivity
+      '@vue/runtime-core': link:packages/runtime-core
+      '@vue/runtime-dom': link:packages/runtime-dom
       brotli: 1.3.2
       chalk: 4.1.2
       conventional-changelog-cli: 2.1.1
@@ -83,6 +90,7 @@ importers:
       todomvc-app-css: 2.4.1
       ts-jest: 27.0.5_c167855b7a039eaaa2a6b38847c1969c
       typescript: 4.4.3
+      vite: 2.6.5
       vue: link:packages/vue
       yorkie: 2.0.0
 
@@ -223,11 +231,10 @@ importers:
 
   packages/sfc-playground:
     specifiers:
-      '@vitejs/plugin-vue': ^1.8.1
+      '@vitejs/plugin-vue': ^1.9.3
       '@vue/repl': ^0.4.3
       file-saver: ^2.0.5
       jszip: ^3.6.0
-      vite: ^2.5.10
       vue: workspace:*
     dependencies:
       '@vue/repl': 0.4.3
@@ -236,7 +243,6 @@ importers:
       vue: link:../vue
     devDependencies:
       '@vitejs/plugin-vue': 1.9.3_vite@2.6.5
-      vite: 2.6.5
 
   packages/shared:
     specifiers: {}
index b41ea1747944ec303952d1f2987adce67e0639bb..ea058b1d82653ae5f984f77c1643f6aff60e08db 100644 (file)
@@ -1,22 +1,11 @@
 {
-  "extends": "./tsconfig.json",
   "compilerOptions": {
-    "noEmit": false,
-    "paths": {
-      "@vue/*": ["../packages/*/dist"],
-      "vue": ["../packages/vue/dist"]
-    }
+    "noEmit": true,
+    "jsx": "preserve",
+    "module": "esnext",
+    "strict": true,
+    "moduleResolution": "node",
+    "lib": ["esnext", "dom"]
   },
-  "exclude": [
-    "../packages/*/__tests__",
-    "../packages/*/src",
-    "../packages/template-explorer"
-  ],
-  "include": [
-    "../packages/global.d.ts",
-    "../packages/*/dist",
-    "../packages/runtime-dom/types/jsx.d.ts",
-    "../packages/*/__tests__",
-    "../test-dts"
-  ]
+  "include": ["./*"]
 }