Skip to content

Commit

Permalink
build(dts): fix dts error when build vue2 components (#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcr authored Dec 4, 2024
1 parent c5e56b6 commit c3cf26f
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion examples/openinula-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"eslint": "^8.44.0",
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.16",
"typescript": "^5.0.2",
"typescript": "catalog:",
"vite": "catalog:",
"vite-plugin-svgr": "^3.2.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.16",
"tailwindcss": "^3.3.3",
"typescript": "^5.0.2",
"typescript": "catalog:",
"vite": "catalog:",
"vite-plugin-react": "^4.0.1",
"vite-plugin-svgr": "^3.2.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/sites/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"prettier": "^2.7.1",
"stylelint": "^14.9.1",
"stylelint-config-standard": "^26.0.0",
"typescript": "^5.0.2",
"typescript": "catalog:",
"unocss": "^0.39.3",
"unplugin-vue-components": "^0.19.9",
"uslug": "^1.0.4",
Expand All @@ -87,4 +87,4 @@
"vite-svg-loader": "^3.6.0",
"vue-tsc": "^1.8.5"
}
}
}
2 changes: 1 addition & 1 deletion examples/vue2.7/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"postcss": "^8.4.16",
"tailwindcss": "^3.2.4",
"tailwindcss-vite-plugin": "^0.0.3",
"typescript": "^5.0.0",
"typescript": "catalog:",
"vite": "catalog:",
"vite-plugin-checker": "^0.5.2",
"vite-plugin-dynamic-import": "^1.2.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"postcss": "^8.4.16",
"tailwindcss": "^3.2.4",
"tailwindcss-vite-plugin": "^0.0.3",
"typescript": "^5.0.0",
"typescript": "catalog:",
"unocss": "^0.61.9",
"unplugin-vue2-script-setup": "^0.11.3",
"vite": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"postcss": "^8.4.16",
"tailwindcss": "^3.2.4",
"tailwindcss-vite-plugin": "^0.0.3",
"typescript": "^5.0.0",
"typescript": "catalog:",
"unocss": "^0.61.9",
"vite": "catalog:",
"vite-plugin-checker": "^0.5.2",
Expand Down
1 change: 1 addition & 0 deletions internals/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"semver": "^7.3.8",
"tsup": "7.2.0",
"vite": "catalog:",
"typescript": "catalog:",
"tailwindcss": "^3.2.4"
},
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion internals/unplugin-tiny-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"devDependencies": {
"rimraf": "^5.0.5",
"tsup": "7.2.0",
"typescript": "^5.0.0",
"typescript": "catalog:",
"vite": "catalog:"
}
}
2 changes: 1 addition & 1 deletion internals/unplugin-virtual-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"rimraf": "^3.0.2",
"rollup": "^3.7.3",
"tsup": "7.2.0",
"typescript": "^5.0.0",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "catalog:",
"webpack": "^5.75.0"
Expand Down
2 changes: 1 addition & 1 deletion internals/vue-vite-import/example/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@opentiny/vue-vite-import": "^1.0.1",
"@types/node": "^18.14.6",
"@vitejs/plugin-vue": "^4.0.0",
"typescript": "^5.0.0",
"typescript": "catalog:",
"vite": "catalog:",
"vue-tsc": "^1.6.5"
}
Expand Down
2 changes: 1 addition & 1 deletion internals/vue-vite-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"change-case": "^4.1.2"
},
"devDependencies": {
"typescript": "^5.0.0",
"typescript": "catalog:",
"tsup": "7.2.0",
"vite": "catalog:",
"rimraf": "^3.0.2"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"typescript": "^5.0.0",
"typescript": "catalog:",
"vite": "catalog:",
"vue": "^3.4.23",
"vue-tsc": "^1.6.5"
Expand All @@ -215,7 +215,7 @@
"regenerator-runtime": "0.13.9",
"tailwindcss@3": "3.2.4",
"tslib": "2.4.0",
"typescript": "^5.0.0",
"typescript": "catalog:",
"vue-i18n@8": "8.27.2",
"vue-i18n@9": "9.2.2",
"vue-router@3": "3.6.5",
Expand Down
1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ packages:
catalog:
'vitest': '^0.31.0'
'vite': '^4.3.8'
'typescript': '~5.3.3'

0 comments on commit c3cf26f

Please sign in to comment.