@reventlessdev/reventless-host-shell 3.0.0-alpha.75 → 3.0.0-alpha.76
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/dist/assets/{Geocoder.res-DKc7CxkX.js → Geocoder.res-fWadrOOr.js} +2 -2
- package/dist/assets/{GraphMode.res-VPeB-MTA.js → GraphMode.res-BRNkYU8Z.js} +33 -33
- package/dist/assets/{MapMode.res-CqsfypI6.js → MapMode.res-BsMFuUrZ.js} +1 -1
- package/dist/assets/{index-CxtJ_Mwo.js → index-DTzW87-B.js} +1 -1
- package/dist/assets/index-P-Lu1dF1.js +133 -0
- package/dist/mf-entry-bootstrap-0.js +1 -1
- package/package.json +5 -5
- package/vite.config.mjs +16 -0
- package/dist/assets/index-D-WAM7fJ.js +0 -133
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/reventless-host-shell",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.76",
|
|
4
4
|
"description": "Reventless host shell SPA — loads plugin UI fragments at runtime via Module Federation",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"bin": {
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@aws-sdk/client-cognito-identity-provider": "^3.658.0",
|
|
29
29
|
"@module-federation/runtime": "^0.18.0",
|
|
30
30
|
"@rescript/react": "^0.13.1",
|
|
31
|
-
"@reventlessdev/reventless-graph": "0.1.0-alpha.
|
|
32
|
-
"@reventlessdev/reventless-map": "0.1.0-alpha.
|
|
31
|
+
"@reventlessdev/reventless-graph": "0.1.0-alpha.33",
|
|
32
|
+
"@reventlessdev/reventless-map": "0.1.0-alpha.33",
|
|
33
33
|
"@reventlessdev/reventless-routes": "3.0.0-alpha.12",
|
|
34
|
-
"@reventlesslab/reventless-ui": "3.0.0-alpha.
|
|
34
|
+
"@reventlesslab/reventless-ui": "3.0.0-alpha.72",
|
|
35
35
|
"graphql-ws": "^5.16.0",
|
|
36
36
|
"jwt-decode": "^4.0.0",
|
|
37
37
|
"react": "^18.3.1",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"registry": "https://registry.npmjs.org",
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "55441ed767d8e99901f0199585081f38c1a30746"
|
|
50
50
|
}
|
package/vite.config.mjs
CHANGED
|
@@ -181,6 +181,22 @@ const platformAssets = () => {
|
|
|
181
181
|
|
|
182
182
|
export default {
|
|
183
183
|
plugins: [mfPlugin, platformAssets()],
|
|
184
|
+
// `.npmrc` sets `node-linker=hoisted`, so a package exists both as a real
|
|
185
|
+
// directory at the workspace root and under `.pnpm/`. Which one an import
|
|
186
|
+
// resolves to depends on where the importer sits, and a package reached both
|
|
187
|
+
// ways is bundled twice: two copies of the same top-level `const` in one
|
|
188
|
+
// chunk, which is a `SyntaxError: Identifier '…' has already been declared`
|
|
189
|
+
// at load and a silently larger bundle before that.
|
|
190
|
+
//
|
|
191
|
+
// These three are the ones the graph actually reaches both ways.
|
|
192
|
+
// `@rescript/runtime` is the one that breaks the build — every compiled
|
|
193
|
+
// ReScript module in every workspace package imports from it — and the
|
|
194
|
+
// lexical pair rides the same fault. React and react-dom are already
|
|
195
|
+
// singletons through module federation's `shared`, which is why they are not
|
|
196
|
+
// listed here.
|
|
197
|
+
resolve: {
|
|
198
|
+
dedupe: ["@rescript/runtime", "lexical", "@lexical/selection"],
|
|
199
|
+
},
|
|
184
200
|
build: {
|
|
185
201
|
target: "esnext",
|
|
186
202
|
outDir: "dist",
|