@bleedingdev/modern-js-create 3.4.0-ultramodern.18 → 3.4.0-ultramodern.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/dist/cjs/ultramodern-workspace/module-federation.cjs +3 -3
- package/dist/cjs/ultramodern-workspace/package-json.cjs +2 -1
- package/dist/esm/ultramodern-workspace/module-federation.js +3 -3
- package/dist/esm/ultramodern-workspace/package-json.js +2 -1
- package/dist/esm-node/ultramodern-workspace/module-federation.js +3 -3
- package/dist/esm-node/ultramodern-workspace/package-json.js +2 -1
- package/package.json +3 -3
|
@@ -69,11 +69,11 @@ function createAppModernConfig(scope, app) {
|
|
|
69
69
|
},
|
|
70
70
|
` : '';
|
|
71
71
|
const bffPluginEntry = (0, external_descriptors_cjs_namespaceObject.appHasEffectApi)(app) ? ' bffPlugin(),\n' : '';
|
|
72
|
-
const defaultAssetPrefixSource = 'shell' === app.kind ? "const defaultAssetPrefix = '/';" : `const
|
|
72
|
+
const defaultAssetPrefixSource = 'shell' === app.kind ? "const defaultAssetPrefix = '/';" : `const remoteAssetOrigin =
|
|
73
73
|
configuredCloudflareUrl ||
|
|
74
74
|
inferredCloudflareUrl ||
|
|
75
|
-
(cloudflareDeployEnabled ? '/' : \`http://localhost:\${port}\`)
|
|
76
|
-
|
|
75
|
+
(cloudflareDeployEnabled ? '/' : \`http://localhost:\${port}\`);
|
|
76
|
+
const defaultRemoteAssetPrefix = \`\${remoteAssetOrigin.replace(/\\/+$/u, '')}/\`;
|
|
77
77
|
const defaultAssetPrefix = defaultRemoteAssetPrefix;`;
|
|
78
78
|
return `// @effect-diagnostics processEnv:off
|
|
79
79
|
import {
|
|
@@ -141,7 +141,8 @@ function appDependencies(scope, packageSource, app, remotes = [], bridge) {
|
|
|
141
141
|
[(0, external_naming_cjs_namespaceObject.packageName)(scope, 'shared-design-tokens')]: external_ultramodern_package_source_cjs_namespaceObject.WORKSPACE_PACKAGE_VERSION,
|
|
142
142
|
react: external_versions_cjs_namespaceObject.REACT_VERSION,
|
|
143
143
|
'react-dom': external_versions_cjs_namespaceObject.REACT_DOM_VERSION,
|
|
144
|
-
'react-router': external_versions_cjs_namespaceObject.REACT_ROUTER_VERSION
|
|
144
|
+
'react-router': external_versions_cjs_namespaceObject.REACT_ROUTER_VERSION,
|
|
145
|
+
'react-router-dom': external_versions_cjs_namespaceObject.REACT_ROUTER_VERSION
|
|
145
146
|
};
|
|
146
147
|
for (const dependency of bridge?.dependencies ?? [])dependencies[dependency] = external_ultramodern_package_source_cjs_namespaceObject.WORKSPACE_PACKAGE_VERSION;
|
|
147
148
|
if ('shell' === app.kind) {
|
|
@@ -18,11 +18,11 @@ function createAppModernConfig(scope, app) {
|
|
|
18
18
|
},
|
|
19
19
|
` : '';
|
|
20
20
|
const bffPluginEntry = appHasEffectApi(app) ? ' bffPlugin(),\n' : '';
|
|
21
|
-
const defaultAssetPrefixSource = 'shell' === app.kind ? "const defaultAssetPrefix = '/';" : `const
|
|
21
|
+
const defaultAssetPrefixSource = 'shell' === app.kind ? "const defaultAssetPrefix = '/';" : `const remoteAssetOrigin =
|
|
22
22
|
configuredCloudflareUrl ||
|
|
23
23
|
inferredCloudflareUrl ||
|
|
24
|
-
(cloudflareDeployEnabled ? '/' : \`http://localhost:\${port}\`)
|
|
25
|
-
|
|
24
|
+
(cloudflareDeployEnabled ? '/' : \`http://localhost:\${port}\`);
|
|
25
|
+
const defaultRemoteAssetPrefix = \`\${remoteAssetOrigin.replace(/\\/+$/u, '')}/\`;
|
|
26
26
|
const defaultAssetPrefix = defaultRemoteAssetPrefix;`;
|
|
27
27
|
return `// @effect-diagnostics processEnv:off
|
|
28
28
|
import {
|
|
@@ -95,7 +95,8 @@ function appDependencies(scope, packageSource, app, remotes = [], bridge) {
|
|
|
95
95
|
[packageName(scope, 'shared-design-tokens')]: WORKSPACE_PACKAGE_VERSION,
|
|
96
96
|
react: REACT_VERSION,
|
|
97
97
|
'react-dom': REACT_DOM_VERSION,
|
|
98
|
-
'react-router': REACT_ROUTER_VERSION
|
|
98
|
+
'react-router': REACT_ROUTER_VERSION,
|
|
99
|
+
'react-router-dom': REACT_ROUTER_VERSION
|
|
99
100
|
};
|
|
100
101
|
for (const dependency of bridge?.dependencies ?? [])dependencies[dependency] = WORKSPACE_PACKAGE_VERSION;
|
|
101
102
|
if ('shell' === app.kind) {
|
|
@@ -19,11 +19,11 @@ function createAppModernConfig(scope, app) {
|
|
|
19
19
|
},
|
|
20
20
|
` : '';
|
|
21
21
|
const bffPluginEntry = appHasEffectApi(app) ? ' bffPlugin(),\n' : '';
|
|
22
|
-
const defaultAssetPrefixSource = 'shell' === app.kind ? "const defaultAssetPrefix = '/';" : `const
|
|
22
|
+
const defaultAssetPrefixSource = 'shell' === app.kind ? "const defaultAssetPrefix = '/';" : `const remoteAssetOrigin =
|
|
23
23
|
configuredCloudflareUrl ||
|
|
24
24
|
inferredCloudflareUrl ||
|
|
25
|
-
(cloudflareDeployEnabled ? '/' : \`http://localhost:\${port}\`)
|
|
26
|
-
|
|
25
|
+
(cloudflareDeployEnabled ? '/' : \`http://localhost:\${port}\`);
|
|
26
|
+
const defaultRemoteAssetPrefix = \`\${remoteAssetOrigin.replace(/\\/+$/u, '')}/\`;
|
|
27
27
|
const defaultAssetPrefix = defaultRemoteAssetPrefix;`;
|
|
28
28
|
return `// @effect-diagnostics processEnv:off
|
|
29
29
|
import {
|
|
@@ -96,7 +96,8 @@ function appDependencies(scope, packageSource, app, remotes = [], bridge) {
|
|
|
96
96
|
[packageName(scope, 'shared-design-tokens')]: WORKSPACE_PACKAGE_VERSION,
|
|
97
97
|
react: REACT_VERSION,
|
|
98
98
|
'react-dom': REACT_DOM_VERSION,
|
|
99
|
-
'react-router': REACT_ROUTER_VERSION
|
|
99
|
+
'react-router': REACT_ROUTER_VERSION,
|
|
100
|
+
'react-router-dom': REACT_ROUTER_VERSION
|
|
100
101
|
};
|
|
101
102
|
for (const dependency of bridge?.dependencies ?? [])dependencies[dependency] = WORKSPACE_PACKAGE_VERSION;
|
|
102
103
|
if ('shell' === app.kind) {
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20"
|
|
23
23
|
},
|
|
24
|
-
"version": "3.4.0-ultramodern.
|
|
24
|
+
"version": "3.4.0-ultramodern.19",
|
|
25
25
|
"types": "./dist/types/index.d.ts",
|
|
26
26
|
"main": "./dist/esm-node/index.js",
|
|
27
27
|
"bin": {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@modern-js/codesmith": "2.6.9",
|
|
78
78
|
"oxfmt": "0.55.0",
|
|
79
79
|
"ultracite": "7.8.3",
|
|
80
|
-
"@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.4.0-ultramodern.
|
|
80
|
+
"@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.4.0-ultramodern.19"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@rslib/core": "0.23.0",
|
|
@@ -99,6 +99,6 @@
|
|
|
99
99
|
"test": "rm -rf dist && rslib build -c rslibconfig.mts && rstest --passWithNoTests"
|
|
100
100
|
},
|
|
101
101
|
"ultramodern": {
|
|
102
|
-
"frameworkVersion": "3.4.0-ultramodern.
|
|
102
|
+
"frameworkVersion": "3.4.0-ultramodern.19"
|
|
103
103
|
}
|
|
104
104
|
}
|