Skip to content

Commit faf943c

Browse files
committed
build: fix dts tests
1 parent aea6c14 commit faf943c

File tree

4 files changed

+22
-24
lines changed

4 files changed

+22
-24
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
},
4646
"devDependencies": {
4747
"vue": "workspace:*",
48+
"@vue/runtime-dom": "workspace:*",
49+
"@vue/runtime-core": "workspace:*",
50+
"@vue/reactivity": "workspace:*",
4851
"@babel/types": "^7.12.0",
4952
"@microsoft/api-extractor": "^7.15.1",
5053
"@rollup/plugin-commonjs": "^18.0.0",
@@ -83,6 +86,7 @@
8386
"yorkie": "^2.0.0",
8487
"lodash": "^4.17.15",
8588
"marked": "^0.7.0",
86-
"todomvc-app-css": "^2.3.0"
89+
"todomvc-app-css": "^2.3.0",
90+
"vite": "^2.6.0"
8791
}
8892
}

packages/sfc-playground/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"serve": "vite preview"
99
},
1010
"devDependencies": {
11-
"@vitejs/plugin-vue": "^1.8.1",
12-
"vite": "^2.5.10"
11+
"@vitejs/plugin-vue": "^1.9.3"
1312
},
1413
"dependencies": {
1514
"vue": "workspace:*",

pnpm-lock.yaml

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-dts/tsconfig.build.json

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
{
2-
"extends": "./tsconfig.json",
32
"compilerOptions": {
4-
"noEmit": false,
5-
"paths": {
6-
"@vue/*": ["../packages/*/dist"],
7-
"vue": ["../packages/vue/dist"]
8-
}
3+
"noEmit": true,
4+
"jsx": "preserve",
5+
"module": "esnext",
6+
"strict": true,
7+
"moduleResolution": "node",
8+
"lib": ["esnext", "dom"]
99
},
10-
"exclude": [
11-
"../packages/*/__tests__",
12-
"../packages/*/src",
13-
"../packages/template-explorer"
14-
],
15-
"include": [
16-
"../packages/global.d.ts",
17-
"../packages/*/dist",
18-
"../packages/runtime-dom/types/jsx.d.ts",
19-
"../packages/*/__tests__",
20-
"../test-dts"
21-
]
10+
"include": ["./*"]
2211
}

0 commit comments

Comments
 (0)