remote-components 0.0.31 → 0.0.33
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/{component-loader-e5513139.d.ts → component-loader-28ad0083.d.ts} +1 -0
- package/dist/html/host.cjs +152 -56
- package/dist/html/host.cjs.map +1 -1
- package/dist/html/host.js +152 -56
- package/dist/html/host.js.map +1 -1
- package/dist/internal/next/host/app-router-client.cjs +6 -2
- package/dist/internal/next/host/app-router-client.cjs.map +1 -1
- package/dist/internal/next/host/app-router-client.d.ts +2 -2
- package/dist/internal/next/host/app-router-client.js +6 -2
- package/dist/internal/next/host/app-router-client.js.map +1 -1
- package/dist/internal/next/remote/render-client.cjs +13 -3
- package/dist/internal/next/remote/render-client.cjs.map +1 -1
- package/dist/internal/next/remote/render-client.js +13 -3
- package/dist/internal/next/remote/render-client.js.map +1 -1
- package/dist/internal/next/remote/render-server.cjs +22 -3
- package/dist/internal/next/remote/render-server.cjs.map +1 -1
- package/dist/internal/next/remote/render-server.js +23 -4
- package/dist/internal/next/remote/render-server.js.map +1 -1
- package/dist/internal/shared/client/remote-component.cjs +82 -45
- package/dist/internal/shared/client/remote-component.cjs.map +1 -1
- package/dist/internal/shared/client/remote-component.d.ts +9 -2
- package/dist/internal/shared/client/remote-component.js +81 -45
- package/dist/internal/shared/client/remote-component.js.map +1 -1
- package/dist/internal/shared/error.cjs +50 -0
- package/dist/internal/shared/error.cjs.map +1 -0
- package/dist/internal/shared/error.d.ts +10 -0
- package/dist/internal/shared/error.js +24 -0
- package/dist/internal/shared/error.js.map +1 -0
- package/dist/internal/shared/ssr/dom-flight.cjs +8 -1
- package/dist/internal/shared/ssr/dom-flight.cjs.map +1 -1
- package/dist/internal/shared/ssr/dom-flight.d.ts +2 -1
- package/dist/internal/shared/ssr/dom-flight.js +8 -1
- package/dist/internal/shared/ssr/dom-flight.js.map +1 -1
- package/dist/internal/shared/ssr/fetch-remote-component.cjs +48 -5
- package/dist/internal/shared/ssr/fetch-remote-component.cjs.map +1 -1
- package/dist/internal/shared/ssr/fetch-remote-component.d.ts +1 -1
- package/dist/internal/shared/ssr/fetch-remote-component.js +52 -5
- package/dist/internal/shared/ssr/fetch-remote-component.js.map +1 -1
- package/dist/internal/webpack/next-client-pages-loader.cjs +3 -2
- package/dist/internal/webpack/next-client-pages-loader.cjs.map +1 -1
- package/dist/internal/webpack/next-client-pages-loader.js +3 -2
- package/dist/internal/webpack/next-client-pages-loader.js.map +1 -1
- package/dist/next/config.cjs +26 -9
- package/dist/next/config.cjs.map +1 -1
- package/dist/next/config.js +26 -9
- package/dist/next/config.js.map +1 -1
- package/dist/next/host/client/index.cjs +133 -57
- package/dist/next/host/client/index.cjs.map +1 -1
- package/dist/next/host/client/index.d.ts +1 -1
- package/dist/next/host/client/index.js +133 -57
- package/dist/next/host/client/index.js.map +1 -1
- package/dist/next/host/pages-router-client.cjs +1 -1
- package/dist/next/host/pages-router-client.cjs.map +1 -1
- package/dist/next/host/pages-router-client.js +1 -1
- package/dist/next/host/pages-router-client.js.map +1 -1
- package/dist/next/host/pages-router-server.cjs +4 -3
- package/dist/next/host/pages-router-server.cjs.map +1 -1
- package/dist/next/host/pages-router-server.js +4 -3
- package/dist/next/host/pages-router-server.js.map +1 -1
- package/dist/next/index.cjs +4 -2
- package/dist/next/index.cjs.map +1 -1
- package/dist/next/index.js +4 -2
- package/dist/next/index.js.map +1 -1
- package/dist/next/remote/pages-router.cjs +1 -1
- package/dist/next/remote/pages-router.cjs.map +1 -1
- package/dist/next/remote/pages-router.js +1 -1
- package/dist/next/remote/pages-router.js.map +1 -1
- package/dist/react/index.cjs +42 -11
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +46 -11
- package/dist/react/index.js.map +1 -1
- package/dist/shared/host/app.cjs +36 -0
- package/dist/shared/host/app.cjs.map +1 -0
- package/dist/shared/host/app.d.ts +3 -0
- package/dist/shared/host/app.js +12 -0
- package/dist/shared/host/app.js.map +1 -0
- package/dist/shared/host/pages.cjs +36 -0
- package/dist/shared/host/pages.cjs.map +1 -0
- package/dist/shared/host/pages.d.ts +3 -0
- package/dist/shared/host/pages.js +12 -0
- package/dist/shared/host/pages.js.map +1 -0
- package/dist/shared/remote/app.cjs +32 -0
- package/dist/shared/remote/app.cjs.map +1 -0
- package/dist/shared/remote/app.d.ts +3 -0
- package/dist/shared/remote/app.js +8 -0
- package/dist/shared/remote/app.js.map +1 -0
- package/dist/shared/remote/pages.cjs +32 -0
- package/dist/shared/remote/pages.cjs.map +1 -0
- package/dist/shared/remote/pages.d.ts +3 -0
- package/dist/shared/remote/pages.js +8 -0
- package/dist/shared/remote/pages.js.map +1 -0
- package/dist/shared/remote/wrapper.cjs +48 -0
- package/dist/shared/remote/wrapper.cjs.map +1 -0
- package/dist/shared/remote/wrapper.d.ts +2 -0
- package/dist/shared/remote/wrapper.js +25 -0
- package/dist/shared/remote/wrapper.js.map +1 -0
- package/dist/{types-b8210fd3.d.ts → types-7c207455.d.ts} +1 -1
- package/dist/{types-280a3640.d.ts → types-e4a3fa37.d.ts} +1 -0
- package/package.json +37 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const shared = {
|
|
2
|
+
// eslint-disable-next-line camelcase
|
|
3
|
+
__remote_components_missing_shared__: () => Promise.reject(
|
|
4
|
+
new Error(
|
|
5
|
+
"Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?"
|
|
6
|
+
)
|
|
7
|
+
)
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
shared
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=pages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/shared/host/pages.ts"],"sourcesContent":["export const shared: Record<string, () => Promise<unknown>> = {\n // eslint-disable-next-line camelcase\n __remote_components_missing_shared__: () =>\n Promise.reject(\n new Error(\n 'Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?',\n ),\n ),\n};\n"],"mappings":"AAAO,MAAM,SAAiD;AAAA;AAAA,EAE5D,sCAAsC,MACpC,QAAQ;AAAA,IACN,IAAI;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACJ;","names":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var app_exports = {};
|
|
20
|
+
__export(app_exports, {
|
|
21
|
+
shared: () => shared
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(app_exports);
|
|
24
|
+
const shared = {
|
|
25
|
+
// eslint-disable-next-line camelcase
|
|
26
|
+
__remote_components_missing_shared__: "Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?"
|
|
27
|
+
};
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
shared
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=app.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/shared/remote/app.ts"],"sourcesContent":["export const shared: Record<string, string> = {\n // eslint-disable-next-line camelcase\n __remote_components_missing_shared__:\n 'Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?',\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,SAAiC;AAAA;AAAA,EAE5C,sCACE;AACJ;","names":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const shared = {
|
|
2
|
+
// eslint-disable-next-line camelcase
|
|
3
|
+
__remote_components_missing_shared__: "Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?"
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
shared
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=app.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/shared/remote/app.ts"],"sourcesContent":["export const shared: Record<string, string> = {\n // eslint-disable-next-line camelcase\n __remote_components_missing_shared__:\n 'Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?',\n};\n"],"mappings":"AAAO,MAAM,SAAiC;AAAA;AAAA,EAE5C,sCACE;AACJ;","names":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var pages_exports = {};
|
|
20
|
+
__export(pages_exports, {
|
|
21
|
+
shared: () => shared
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(pages_exports);
|
|
24
|
+
const shared = {
|
|
25
|
+
// eslint-disable-next-line camelcase
|
|
26
|
+
__remote_components_missing_shared__: "Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?"
|
|
27
|
+
};
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
shared
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=pages.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/shared/remote/pages.ts"],"sourcesContent":["export const shared: Record<string, string> = {\n // eslint-disable-next-line camelcase\n __remote_components_missing_shared__:\n 'Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?',\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,SAAiC;AAAA;AAAA,EAE5C,sCACE;AACJ;","names":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const shared = {
|
|
2
|
+
// eslint-disable-next-line camelcase
|
|
3
|
+
__remote_components_missing_shared__: "Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?"
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
shared
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=pages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/shared/remote/pages.ts"],"sourcesContent":["export const shared: Record<string, string> = {\n // eslint-disable-next-line camelcase\n __remote_components_missing_shared__:\n 'Remote Components shared module not found. Did you forget to wrap your config with `withRemoteComponents` on both host and remote?',\n};\n"],"mappings":"AAAO,MAAM,SAAiC;AAAA;AAAA,EAE5C,sCACE;AACJ;","names":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
12
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
|
+
mod
|
|
23
|
+
));
|
|
24
|
+
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
25
|
+
const errorMessage = `You are trying to use Remote Components, but you forgot to wrap your Next.js config with ${import_picocolors.default.bold("withRemoteComponents")} from ${import_picocolors.default.bold('"remote-components/next/config"')}.
|
|
26
|
+
|
|
27
|
+
Please make sure to do this on both the host and remote Next.js applications.
|
|
28
|
+
|
|
29
|
+
For example:
|
|
30
|
+
|
|
31
|
+
${import_picocolors.default.green("// next.config.js")}
|
|
32
|
+
${import_picocolors.default.magenta("import")} { ${import_picocolors.default.cyan("withRemoteComponents")} } ${import_picocolors.default.magenta("from")} ${import_picocolors.default.red("'remote-components/next/config'")};
|
|
33
|
+
|
|
34
|
+
${import_picocolors.default.dim(import_picocolors.default.blue("const"))} ${import_picocolors.default.blue("nextConfig")} = {
|
|
35
|
+
${import_picocolors.default.green("// your Next.js configuration")}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
${import_picocolors.default.magenta("export default")} ${import_picocolors.default.yellow("withRemoteComponents")}(${import_picocolors.default.blue("nextConfig")});`;
|
|
39
|
+
if (process.env.NEXT_PHASE === "phase-production-build") {
|
|
40
|
+
throw `
|
|
41
|
+
|
|
42
|
+
${errorMessage}
|
|
43
|
+
|
|
44
|
+
`;
|
|
45
|
+
} else {
|
|
46
|
+
throw errorMessage;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=wrapper.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/shared/remote/wrapper.ts"],"sourcesContent":["import colors from 'picocolors';\n\nconst errorMessage = `You are trying to use Remote Components, but you forgot to wrap your Next.js config with ${colors.bold('withRemoteComponents')} from ${colors.bold('\"remote-components/next/config\"')}.\n\nPlease make sure to do this on both the host and remote Next.js applications.\n\nFor example:\n\n${colors.green('// next.config.js')}\n${colors.magenta('import')} { ${colors.cyan('withRemoteComponents')} } ${colors.magenta('from')} ${colors.red(\"'remote-components/next/config'\")};\n\n${colors.dim(colors.blue('const'))} ${colors.blue('nextConfig')} = {\n ${colors.green('// your Next.js configuration')}\n};\n\n${colors.magenta('export default')} ${colors.yellow('withRemoteComponents')}(${colors.blue('nextConfig')});`;\n\nif (process.env.NEXT_PHASE === 'phase-production-build') {\n // in production mode we throw an error to prevent misconfiguration\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw `\\n\\n${errorMessage}\\n\\n`;\n} else {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw errorMessage;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAAmB;AAEnB,MAAM,eAAe,4FAA4F,kBAAAA,QAAO,KAAK,sBAAsB,UAAU,kBAAAA,QAAO,KAAK,iCAAiC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxM,kBAAAA,QAAO,MAAM,mBAAmB;AAAA,EAChC,kBAAAA,QAAO,QAAQ,QAAQ,OAAO,kBAAAA,QAAO,KAAK,sBAAsB,OAAO,kBAAAA,QAAO,QAAQ,MAAM,KAAK,kBAAAA,QAAO,IAAI,iCAAiC;AAAA;AAAA,EAE7I,kBAAAA,QAAO,IAAI,kBAAAA,QAAO,KAAK,OAAO,CAAC,KAAK,kBAAAA,QAAO,KAAK,YAAY;AAAA,IAC1D,kBAAAA,QAAO,MAAM,+BAA+B;AAAA;AAAA;AAAA,EAG9C,kBAAAA,QAAO,QAAQ,gBAAgB,KAAK,kBAAAA,QAAO,OAAO,sBAAsB,KAAK,kBAAAA,QAAO,KAAK,YAAY;AAEvG,IAAI,QAAQ,IAAI,eAAe,0BAA0B;AAGvD,QAAM;AAAA;AAAA,EAAO;AAAA;AAAA;AACf,OAAO;AAEL,QAAM;AACR;","names":["colors"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import colors from "picocolors";
|
|
2
|
+
const errorMessage = `You are trying to use Remote Components, but you forgot to wrap your Next.js config with ${colors.bold("withRemoteComponents")} from ${colors.bold('"remote-components/next/config"')}.
|
|
3
|
+
|
|
4
|
+
Please make sure to do this on both the host and remote Next.js applications.
|
|
5
|
+
|
|
6
|
+
For example:
|
|
7
|
+
|
|
8
|
+
${colors.green("// next.config.js")}
|
|
9
|
+
${colors.magenta("import")} { ${colors.cyan("withRemoteComponents")} } ${colors.magenta("from")} ${colors.red("'remote-components/next/config'")};
|
|
10
|
+
|
|
11
|
+
${colors.dim(colors.blue("const"))} ${colors.blue("nextConfig")} = {
|
|
12
|
+
${colors.green("// your Next.js configuration")}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
${colors.magenta("export default")} ${colors.yellow("withRemoteComponents")}(${colors.blue("nextConfig")});`;
|
|
16
|
+
if (process.env.NEXT_PHASE === "phase-production-build") {
|
|
17
|
+
throw `
|
|
18
|
+
|
|
19
|
+
${errorMessage}
|
|
20
|
+
|
|
21
|
+
`;
|
|
22
|
+
} else {
|
|
23
|
+
throw errorMessage;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=wrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/shared/remote/wrapper.ts"],"sourcesContent":["import colors from 'picocolors';\n\nconst errorMessage = `You are trying to use Remote Components, but you forgot to wrap your Next.js config with ${colors.bold('withRemoteComponents')} from ${colors.bold('\"remote-components/next/config\"')}.\n\nPlease make sure to do this on both the host and remote Next.js applications.\n\nFor example:\n\n${colors.green('// next.config.js')}\n${colors.magenta('import')} { ${colors.cyan('withRemoteComponents')} } ${colors.magenta('from')} ${colors.red(\"'remote-components/next/config'\")};\n\n${colors.dim(colors.blue('const'))} ${colors.blue('nextConfig')} = {\n ${colors.green('// your Next.js configuration')}\n};\n\n${colors.magenta('export default')} ${colors.yellow('withRemoteComponents')}(${colors.blue('nextConfig')});`;\n\nif (process.env.NEXT_PHASE === 'phase-production-build') {\n // in production mode we throw an error to prevent misconfiguration\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw `\\n\\n${errorMessage}\\n\\n`;\n} else {\n // eslint-disable-next-line @typescript-eslint/no-throw-literal\n throw errorMessage;\n}\n"],"mappings":"AAAA,OAAO,YAAY;AAEnB,MAAM,eAAe,4FAA4F,OAAO,KAAK,sBAAsB,UAAU,OAAO,KAAK,iCAAiC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxM,OAAO,MAAM,mBAAmB;AAAA,EAChC,OAAO,QAAQ,QAAQ,OAAO,OAAO,KAAK,sBAAsB,OAAO,OAAO,QAAQ,MAAM,KAAK,OAAO,IAAI,iCAAiC;AAAA;AAAA,EAE7I,OAAO,IAAI,OAAO,KAAK,OAAO,CAAC,KAAK,OAAO,KAAK,YAAY;AAAA,IAC1D,OAAO,MAAM,+BAA+B;AAAA;AAAA;AAAA,EAG9C,OAAO,QAAQ,gBAAgB,KAAK,OAAO,OAAO,sBAAsB,KAAK,OAAO,KAAK,YAAY;AAEvG,IAAI,QAAQ,IAAI,eAAe,0BAA0B;AAGvD,QAAM;AAAA;AAAA,EAAO;AAAA;AAAA;AACf,OAAO;AAEL,QAAM;AACR;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remote-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Compose remote components at runtime between microfrontends applications.",
|
|
6
6
|
"keywords": [
|
|
@@ -80,6 +80,26 @@
|
|
|
80
80
|
"./ssr": {
|
|
81
81
|
"import": "./dist/internal/shared/ssr/fetch-remote-component.js",
|
|
82
82
|
"require": "./dist/internal/shared/ssr/fetch-remote-component.cjs"
|
|
83
|
+
},
|
|
84
|
+
"./shared/remote/app": {
|
|
85
|
+
"import": "./dist/shared/remote/app.js",
|
|
86
|
+
"require": "./dist/shared/remote/app.cjs"
|
|
87
|
+
},
|
|
88
|
+
"./shared/remote/pages": {
|
|
89
|
+
"import": "./dist/shared/remote/pages.js",
|
|
90
|
+
"require": "./dist/shared/remote/pages.cjs"
|
|
91
|
+
},
|
|
92
|
+
"./shared/remote/wrapper": {
|
|
93
|
+
"import": "./dist/shared/remote/wrapper.js",
|
|
94
|
+
"require": "./dist/shared/remote/wrapper.cjs"
|
|
95
|
+
},
|
|
96
|
+
"./shared/host/app": {
|
|
97
|
+
"import": "./dist/shared/host/app.js",
|
|
98
|
+
"require": "./dist/shared/host/app.cjs"
|
|
99
|
+
},
|
|
100
|
+
"./shared/host/pages": {
|
|
101
|
+
"import": "./dist/shared/host/pages.js",
|
|
102
|
+
"require": "./dist/shared/host/pages.cjs"
|
|
83
103
|
}
|
|
84
104
|
},
|
|
85
105
|
"typesVersions": {
|
|
@@ -119,6 +139,21 @@
|
|
|
119
139
|
],
|
|
120
140
|
"./ssr": [
|
|
121
141
|
"./dist/internal/shared/ssr/fetch-remote-component.d.ts"
|
|
142
|
+
],
|
|
143
|
+
"shared/remote/app": [
|
|
144
|
+
"./dist/shared/remote/app.d.ts"
|
|
145
|
+
],
|
|
146
|
+
"shared/remote/pages": [
|
|
147
|
+
"./dist/shared/remote/pages.d.ts"
|
|
148
|
+
],
|
|
149
|
+
"shared/remote/wrapper": [
|
|
150
|
+
"./dist/shared/remote/wrapper.d.ts"
|
|
151
|
+
],
|
|
152
|
+
"shared/host/app": [
|
|
153
|
+
"./dist/shared/host/app.d.ts"
|
|
154
|
+
],
|
|
155
|
+
"shared/host/pages": [
|
|
156
|
+
"./dist/shared/host/pages.d.ts"
|
|
122
157
|
]
|
|
123
158
|
}
|
|
124
159
|
},
|
|
@@ -129,6 +164,7 @@
|
|
|
129
164
|
"enhanced-resolve": "^5.18.3",
|
|
130
165
|
"find-up": "^7.0.0",
|
|
131
166
|
"parse5": "^7.2.1",
|
|
167
|
+
"picocolors": "^1.1.1",
|
|
132
168
|
"react": "^19",
|
|
133
169
|
"react-dom": "^19",
|
|
134
170
|
"react-property": "^2.0.2",
|