Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore(build): update the method for generating d.ts files (#5424)

白熱7f88374e2b89
diff --git a/common/shared/vite/index.ts b/common/shared/vite/index.ts
index 6383d3bbfc..4369ac1108 100644
--- a/common/shared/vite/index.ts
+++ b/common/shared/vite/index.ts
@@ -37,7 +37,7 @@ interface IBuildExecuterOptions {
}
async function buildESM(sharedConfig: InlineConfig, options: IBuildExecuterOptions) {
- const { pkg, entry } = options;
+ const { entry } = options;
await Promise.all(Object.keys(entry).map((key) => {
const basicConfig: InlineConfig = {
diff --git a/packages/ui/package.json b/packages/ui/package.json
index ea50ef9594..f0c76d73c5 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -88,7 +88,7 @@
"localforage": "^1.10.0"
},
"optionalDependencies": {
- "vue": "^3.5.17"
+ "vue": ">=3.0.0"
},
"devDependencies": {
"@testing-library/react": "^16.3.0",
@@ -103,6 +103,6 @@
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vitest": "^3.2.4",
- "vue": "^3.5.13"
+ "vue": "^3.5.17"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 31efb252a2..1ccd25a7d1 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -3439,7 +3439,7 @@ importers:
optionalDependencies:
vue:
- specifier: ^3.5.17
+ specifier: '>=3.0.0'
version: 3.5.17([email protected])
packages/uniscript: