@object-ui/layout 4.0.3 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/index.js +263 -2638
- package/dist/index.umd.cjs +1 -10
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @object-ui/layout
|
|
2
2
|
|
|
3
|
+
## 4.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d2b6ece: fix: externalize all bare imports in library builds
|
|
8
|
+
|
|
9
|
+
Library builds (vite lib mode) now externalize every non-relative import instead of bundling third-party CJS dependencies into the published dist. This avoids inlined `require("react")` / `require("react-dom")` calls that cause `Calling \`require\` for "react" in an environment that doesn't expose the \`require\` function` runtime errors when consumer apps re-bundle the published dist.
|
|
10
|
+
|
|
11
|
+
Specifically fixes:
|
|
12
|
+
- `@object-ui/plugin-dashboard` no longer inlines `react-grid-layout` (and its transitive `react-draggable` / `react-resizable` CJS bundles). `react-grid-layout` is now declared as a peer dependency so consumers install a single ESM-friendly copy.
|
|
13
|
+
- `@object-ui/components`, `@object-ui/plugin-calendar`, `@object-ui/plugin-charts`, `@object-ui/plugin-designer` no longer inline `react-i18next` / `i18next` / `use-sync-external-store` CJS shims.
|
|
14
|
+
- All plugin packages now use a unified `external: (id) => !/^[./]/.test(id) && !id.startsWith(__dirname)` rule, ensuring future additions of CJS deps are automatically externalized.
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [d2b6ece]
|
|
17
|
+
- @object-ui/components@4.0.4
|
|
18
|
+
- @object-ui/types@4.0.4
|
|
19
|
+
- @object-ui/core@4.0.4
|
|
20
|
+
- @object-ui/react@4.0.4
|
|
21
|
+
|
|
3
22
|
## 4.0.3
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|