@webikon/webentor-core 0.14.0 → 0.15.0
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 +12 -0
- package/package.json +3 -3
- package/public/build/assets/coreEditorJs-bf451E88.js.map +1 -0
- package/public/build/assets/coreEditorJs-hgmUqbSJ.js +366 -0
- package/public/build/assets/{editor.deps-BY0wt7iZ.json → editor.deps-D8M5pYds.json} +1 -1
- package/public/build/manifest.json +2 -2
- package/public/build/assets/coreEditorJs--2qt5cZR.js +0 -366
- package/public/build/assets/coreEditorJs-DzCs9qgk.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Webentor Core Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
- **Vite 8 / Rolldown build toolchain.** Migrate the package build from Vite 7 to Vite 8 (Rolldown). Editor, app, and slider bundles are rebuilt under Rolldown; the manifest contract is unchanged, so consumers consume assets exactly as before.
|
|
6
|
+
- **Shared WordPress externals interop.** The `@wordpress/*` → `wp.*` / React externalization now comes from `@webikon/webentor-configs/vite` (`wordpressExternals(command)`, requires `@webikon/webentor-configs` `^1.1.0`). It's **hybrid per command**: roots `wordpressPlugin()` + interop shims for `build`, kucrut `wp_scripts()` for the dev server (`serve`).
|
|
7
|
+
- **Editor interop fixes for Rolldown.** Rolldown otherwise broke the block editor two ways — it preserved a CJS `require()` of the `@wordpress/*` externals, and mis-bound the ESM `import * as React`. Fixed with a `generateBundle` require-shim for `@wordpress` and by aliasing `react`/`react-dom`/`jsx-runtime` to the `window.*` CJS shims. The editor works fully on Vite 8.
|
|
8
|
+
- Dev-tooling bumps: `vite` 8, `@roots/vite-plugin` 2.2.0, `@vitejs/plugin-react` 6 (devDependencies; no runtime/API change for consumers).
|
|
9
|
+
- **Consumer migration**: the dependency bumps, the `resources/scripts/app.ts` static-asset `import.meta.glob` change, and the `vite.config.js` externals rewrite apply to consumer theme code. Run `pnpm dlx @webikon/webentor-codemods run 0.15.0` (dry-run), then `--apply`; the `vite.config.js` change is a documented manual step. See `@webikon/webentor-codemods`.
|
|
10
|
+
|
|
11
|
+
## 0.14.1
|
|
12
|
+
|
|
13
|
+
- Republish of 0.14.0 with the Vite 7 toolchain. 0.14.0 inadvertently shipped an in-progress Vite 8 / Rolldown migration (devDependency bumps + Rolldown-built assets). There is no runtime or API change for consumers — devDependencies are not installed by consumers and the bundle output is equivalent — but 0.14.1 restores a consistent Vite 7 build. Prefer 0.14.1 over 0.14.0.
|
|
14
|
+
|
|
3
15
|
## 0.14.0
|
|
4
16
|
|
|
5
17
|
- Make `l-section` background settings extensible, mirroring the button extension pattern.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webikon/webentor-core",
|
|
3
3
|
"homepage": "https://webikon.sk",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.15.0",
|
|
5
5
|
"description": "Core functionality and useful utilities for Webentor Stack",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Webikon s.r.o.",
|
|
@@ -153,7 +153,6 @@
|
|
|
153
153
|
"@tailwindcss/vite": "^4.3.1",
|
|
154
154
|
"@types/wordpress__block-editor": "^15.0.6",
|
|
155
155
|
"@vitejs/plugin-react": "^6.0.0",
|
|
156
|
-
"@webikon/webentor-configs": "^1.0.2",
|
|
157
156
|
"@wordpress/block-editor": "^15.21.1",
|
|
158
157
|
"@wordpress/block-library": "^9.48.1",
|
|
159
158
|
"@wordpress/blocks": "^15.21.1",
|
|
@@ -182,7 +181,8 @@
|
|
|
182
181
|
"typescript": "^5.9.3",
|
|
183
182
|
"typescript-eslint": "^8.61.1",
|
|
184
183
|
"vite": "^8.0.0",
|
|
185
|
-
"vite-plugin-external": "^6.2.2"
|
|
184
|
+
"vite-plugin-external": "^6.2.2",
|
|
185
|
+
"@webikon/webentor-configs": "1.1.0"
|
|
186
186
|
},
|
|
187
187
|
"dependencies": {
|
|
188
188
|
"@alpinejs/collapse": "^3.15.12",
|