Skip to content

Commit 35b3c4f

Browse files
committed
chore(deps): bump @object-ui/* to 4.0.4
Picks up the externalized-bare-imports fix from objectui 4.0.4 (objectstack-ai/objectui@d2b6ecec) which removes inlined react-i18next / react-grid-layout / react-draggable / use-sync-external-store CJS bundles from @object-ui/components, plugin-calendar, plugin-charts, plugin-designer, and plugin-dashboard. This eliminates the runtime "Calling `require` for 'react' in an environment that doesn't expose the `require` function" crash that broke the dashboard SPA after we previously republished @object-ui/* at 4.0.3, and shrinks the dashboard build's main chunk from ~5.29 MB to ~4.50 MB by re-enabling ESM tree-shaking across plugin-*. Verified locally with pnpm preview + browser load of /_dashboard/. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 33b5cd2 commit 35b3c4f

3 files changed

Lines changed: 1754 additions & 1676 deletions

File tree

apps/account/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"preview": "vite preview"
1818
},
1919
"dependencies": {
20-
"@object-ui/i18n": "^4.0.1",
20+
"@object-ui/i18n": "^4.0.4",
2121
"@objectstack/client": "workspace:*",
2222
"@objectstack/client-react": "workspace:*",
2323
"@objectstack/spec": "workspace:*",
@@ -39,13 +39,13 @@
3939
"class-variance-authority": "^0.7.1",
4040
"clsx": "^2.1.1",
4141
"lucide-react": "^1.14.0",
42-
"react": "^19.2.5",
43-
"react-dom": "^19.2.5",
42+
"react": "^19.2.6",
43+
"react-dom": "^19.2.6",
4444
"tailwind-merge": "^3.5.0"
4545
},
4646
"devDependencies": {
4747
"@tailwindcss/postcss": "^4.2.4",
48-
"@tanstack/router-plugin": "^1.167.33",
48+
"@tanstack/router-plugin": "^1.167.35",
4949
"@testing-library/jest-dom": "^6.9.1",
5050
"@testing-library/react": "^16.3.2",
5151
"@testing-library/user-event": "^14.6.1",
@@ -58,7 +58,7 @@
5858
"postcss": "^8.5.14",
5959
"tailwindcss": "^4.2.4",
6060
"typescript": "^6.0.3",
61-
"vite": "^8.0.10",
61+
"vite": "^8.0.11",
6262
"vitest": "^4.1.5"
6363
}
6464
}

apps/dashboard/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@
1212
"preview": "vite preview"
1313
},
1414
"dependencies": {
15-
"@object-ui/app-shell": "^4.0.3",
16-
"@object-ui/auth": "^4.0.3",
17-
"@object-ui/collaboration": "^4.0.3",
18-
"@object-ui/components": "^4.0.3",
19-
"@object-ui/core": "^4.0.3",
20-
"@object-ui/data-objectstack": "^4.0.3",
21-
"@object-ui/fields": "^4.0.3",
22-
"@object-ui/i18n": "^4.0.3",
23-
"@object-ui/layout": "^4.0.3",
24-
"@object-ui/mobile": "^4.0.3",
25-
"@object-ui/permissions": "^4.0.3",
26-
"@object-ui/plugin-calendar": "^4.0.3",
27-
"@object-ui/plugin-charts": "^4.0.3",
28-
"@object-ui/plugin-chatbot": "^4.0.3",
29-
"@object-ui/plugin-dashboard": "^4.0.3",
30-
"@object-ui/plugin-detail": "^4.0.3",
31-
"@object-ui/plugin-form": "^4.0.3",
32-
"@object-ui/plugin-grid": "^4.0.3",
33-
"@object-ui/plugin-kanban": "^4.0.3",
34-
"@object-ui/plugin-list": "^4.0.3",
35-
"@object-ui/plugin-report": "^4.0.3",
36-
"@object-ui/plugin-view": "^4.0.3",
37-
"@object-ui/react": "^4.0.3",
38-
"@object-ui/types": "^4.0.3",
15+
"@object-ui/app-shell": "^4.0.4",
16+
"@object-ui/auth": "^4.0.4",
17+
"@object-ui/collaboration": "^4.0.4",
18+
"@object-ui/components": "^4.0.4",
19+
"@object-ui/core": "^4.0.4",
20+
"@object-ui/data-objectstack": "^4.0.4",
21+
"@object-ui/fields": "^4.0.4",
22+
"@object-ui/i18n": "^4.0.4",
23+
"@object-ui/layout": "^4.0.4",
24+
"@object-ui/mobile": "^4.0.4",
25+
"@object-ui/permissions": "^4.0.4",
26+
"@object-ui/plugin-calendar": "^4.0.4",
27+
"@object-ui/plugin-charts": "^4.0.4",
28+
"@object-ui/plugin-chatbot": "^4.0.4",
29+
"@object-ui/plugin-dashboard": "^4.0.4",
30+
"@object-ui/plugin-detail": "^4.0.4",
31+
"@object-ui/plugin-form": "^4.0.4",
32+
"@object-ui/plugin-grid": "^4.0.4",
33+
"@object-ui/plugin-kanban": "^4.0.4",
34+
"@object-ui/plugin-list": "^4.0.4",
35+
"@object-ui/plugin-report": "^4.0.4",
36+
"@object-ui/plugin-view": "^4.0.4",
37+
"@object-ui/react": "^4.0.4",
38+
"@object-ui/types": "^4.0.4",
3939
"clsx": "^2.1.1",
4040
"lucide-react": "^1.14.0",
4141
"react": "^19.2.6",

0 commit comments

Comments
 (0)