build: fix dts tests

This commit is contained in:
Evan You 2021-10-08 14:12:13 -04:00
parent aea6c141b3
commit faf943ce3a
4 changed files with 22 additions and 24 deletions

View 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"
}
}

View 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:*",

View 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: {}

View 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": ["./*"]
}