fix(ts6): resolve empty DTS output and console build failures across monorepo#1183
fix(ts6): resolve empty DTS output and console build failures across monorepo#1183
Conversation
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
a9f8da6 to
14324c9
Compare
|
|
❌ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
14324c9 to
3873c51
Compare
|
|
❌ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v6.0.2) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
3873c51 to
bd94b13
Compare
|
|
❌ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
|
@copilot fix all ci build and test errors |
Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/219a023f-18c7-4a92-80f1-313c9be66e8b Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Fixed in d396d62. Here's what was addressed for TypeScript 6.0.2 compatibility across all 37 packages: Source code fixes:
Config fixes:
All 37 packages now build successfully. The console app still has pre-existing export mismatches ( |
|
@copilot 从主分支更新最新代码并解决冲突 |
…rn/typescript-6.0.2 # Conflicts: # packages/core/src/protocols/DndProtocol.ts # packages/core/src/protocols/KeyboardProtocol.ts Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
❌ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
|
@copilot fix all ci build and test errors |
…rrors Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/13f2fe86-b9b5-4aa0-a93c-89f37856ce7a Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Fixed in 70eaba1. Root cause:
All 43 tasks now pass: |
❌ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
TypeScript 6's stricter rootDir inference caused
vite-plugin-dtsto emitexport {}for every package whose tsconfig extends the root — which maps workspace packages to their source dirs viapaths. TS6 inferred rootDir must encompass all cross-package source files, conflicting withinclude: ['src'], producing TS6059 → empty declarations → TS2305 in the console build.DTS rootDir fix (23 packages)
All
vite.config.tsfiles with adts()call now pass an explicit absolute rootDir:Affected packages:
components,fields,layout,plugin-aggrid,plugin-ai,plugin-calendar,plugin-charts,plugin-chatbot,plugin-dashboard,plugin-designer,plugin-detail,plugin-editor,plugin-form,plugin-gantt,plugin-grid,plugin-kanban,plugin-list,plugin-map,plugin-markdown,plugin-report,plugin-timeline,plugin-view,plugin-workflow.apps/consoleplugin build (TS2591 / TS2882)plugin.ts: changed'url'/'path'→'node:url'/'node:path'— TS6nodenextmodule resolution requires thenode:prefix for built-in modulestsconfig.plugin.json: added"types": ["node"]so Node.js globals are available totsc -p tsconfig.plugin.jsonexamples/msw-todo(TS2882)src/vite-env.d.ts(/// <reference types="vite/client" />) — provides the CSS module declarations that TS6 now requires for side-effect CSS importsallowArbitraryExtensions: truetotsconfig.json