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": { "devDependencies": {
"vue": "workspace:*", "vue": "workspace:*",
"@vue/runtime-dom": "workspace:*",
"@vue/runtime-core": "workspace:*",
"@vue/reactivity": "workspace:*",
"@babel/types": "^7.12.0", "@babel/types": "^7.12.0",
"@microsoft/api-extractor": "^7.15.1", "@microsoft/api-extractor": "^7.15.1",
"@rollup/plugin-commonjs": "^18.0.0", "@rollup/plugin-commonjs": "^18.0.0",
@ -83,6 +86,7 @@
"yorkie": "^2.0.0", "yorkie": "^2.0.0",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"marked": "^0.7.0", "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" "serve": "vite preview"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^1.8.1", "@vitejs/plugin-vue": "^1.9.3"
"vite": "^2.5.10"
}, },
"dependencies": { "dependencies": {
"vue": "workspace:*", "vue": "workspace:*",

View File

@ -15,6 +15,9 @@ importers:
'@types/node': ^16.4.7 '@types/node': ^16.4.7
'@types/puppeteer': ^5.0.0 '@types/puppeteer': ^5.0.0
'@typescript-eslint/parser': ^4.1.1 '@typescript-eslint/parser': ^4.1.1
'@vue/reactivity': workspace:*
'@vue/runtime-core': workspace:*
'@vue/runtime-dom': workspace:*
brotli: ^1.3.2 brotli: ^1.3.2
chalk: ^4.1.0 chalk: ^4.1.0
conventional-changelog-cli: ^2.0.31 conventional-changelog-cli: ^2.0.31
@ -42,6 +45,7 @@ importers:
todomvc-app-css: ^2.3.0 todomvc-app-css: ^2.3.0
ts-jest: ^27.0.5 ts-jest: ^27.0.5
typescript: ^4.2.2 typescript: ^4.2.2
vite: ^2.6.0
vue: workspace:* vue: workspace:*
yorkie: ^2.0.0 yorkie: ^2.0.0
devDependencies: devDependencies:
@ -56,6 +60,9 @@ importers:
'@types/node': 16.10.3 '@types/node': 16.10.3
'@types/puppeteer': 5.4.4 '@types/puppeteer': 5.4.4
'@typescript-eslint/parser': 4.33.0_eslint@7.32.0+typescript@4.4.3 '@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 brotli: 1.3.2
chalk: 4.1.2 chalk: 4.1.2
conventional-changelog-cli: 2.1.1 conventional-changelog-cli: 2.1.1
@ -83,6 +90,7 @@ importers:
todomvc-app-css: 2.4.1 todomvc-app-css: 2.4.1
ts-jest: 27.0.5_c167855b7a039eaaa2a6b38847c1969c ts-jest: 27.0.5_c167855b7a039eaaa2a6b38847c1969c
typescript: 4.4.3 typescript: 4.4.3
vite: 2.6.5
vue: link:packages/vue vue: link:packages/vue
yorkie: 2.0.0 yorkie: 2.0.0
@ -223,11 +231,10 @@ importers:
packages/sfc-playground: packages/sfc-playground:
specifiers: specifiers:
'@vitejs/plugin-vue': ^1.8.1 '@vitejs/plugin-vue': ^1.9.3
'@vue/repl': ^0.4.3 '@vue/repl': ^0.4.3
file-saver: ^2.0.5 file-saver: ^2.0.5
jszip: ^3.6.0 jszip: ^3.6.0
vite: ^2.5.10
vue: workspace:* vue: workspace:*
dependencies: dependencies:
'@vue/repl': 0.4.3 '@vue/repl': 0.4.3
@ -236,7 +243,6 @@ importers:
vue: link:../vue vue: link:../vue
devDependencies: devDependencies:
'@vitejs/plugin-vue': 1.9.3_vite@2.6.5 '@vitejs/plugin-vue': 1.9.3_vite@2.6.5
vite: 2.6.5
packages/shared: packages/shared:
specifiers: {} specifiers: {}

View File

@ -1,22 +1,11 @@
{ {
"extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"noEmit": false, "noEmit": true,
"paths": { "jsx": "preserve",
"@vue/*": ["../packages/*/dist"], "module": "esnext",
"vue": ["../packages/vue/dist"] "strict": true,
} "moduleResolution": "node",
"lib": ["esnext", "dom"]
}, },
"exclude": [ "include": ["./*"]
"../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"
]
} }