@ecopages/ecopages-jsx 0.2.0-alpha.18 → 0.2.0-alpha.19
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 +1 -0
- package/README.md +2 -2
- package/package.json +4 -4
- package/src/ecopages-jsx.plugin.js +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
|
+
- Aligned Ecopages JSX peer dependency ranges with the current `@ecopages/jsx` and `@ecopages/radiant` alpha releases.
|
|
11
12
|
- Aligned Radiant SSR and hydration wiring with the public `@ecopages/radiant/server/render-component` and `@ecopages/radiant/client/hydrator` entrypoints so JSX apps install an explicit client hydrator bootstrap instead of relying on implicit side effects.
|
|
12
13
|
- Fixed Radiant SSR page inspection to install the light-DOM shim before JSX page modules are imported outside the normal render pass.
|
|
13
14
|
- Restored direct `EcopagesJsxPlugin` construction so the exported class still accepts the public plugin options shape.
|
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @ecopages/ecopages-jsx
|
|
2
2
|
|
|
3
|
-
Integration plugin for [@ecopages/jsx](https://
|
|
3
|
+
Integration plugin for [@ecopages/jsx](https://www.npmjs.com/package/@ecopages/jsx) templates in Ecopages. Use it when Ecopages JSX should own `.tsx` routes, Radiant-backed web components, or MDX compiled against the `@ecopages/jsx` runtime.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
bun add @ecopages/ecopages-jsx @ecopages/radiant
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
`@ecopages/radiant` is a required peer dependency for this package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecopages/ecopages-jsx",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.19",
|
|
4
4
|
"description": "JSX integration plugin for Ecopages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ecopages",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"vfile": "^6.0.3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@ecopages/core": "0.2.0-alpha.
|
|
25
|
-
"@ecopages/jsx": "^0.3.0-alpha.
|
|
26
|
-
"@ecopages/radiant": "^0.3.0-alpha.
|
|
24
|
+
"@ecopages/core": "0.2.0-alpha.19",
|
|
25
|
+
"@ecopages/jsx": "^0.3.0-alpha.2",
|
|
26
|
+
"@ecopages/radiant": "^0.3.0-alpha.2"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -94,9 +94,7 @@ class EcopagesJsxPlugin extends IntegrationPlugin {
|
|
|
94
94
|
}
|
|
95
95
|
/** Returns the browser-only build plugins required by the JSX integration. */
|
|
96
96
|
get browserBuildPlugins() {
|
|
97
|
-
return [this.runtimeBundleService.getBuildPlugin()]
|
|
98
|
-
(plugin) => plugin !== void 0
|
|
99
|
-
);
|
|
97
|
+
return [this.runtimeBundleService.getBuildPlugin()];
|
|
100
98
|
}
|
|
101
99
|
/**
|
|
102
100
|
* Exposes the bare-module specifier map used by the import map.
|