@bleedingdev/modern-js-create 3.2.0-ultramodern.44 → 3.2.0-ultramodern.45
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/index.js +14 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1559,6 +1559,16 @@ ${bffPluginEntry} moduleFederationPlugin(),
|
|
|
1559
1559
|
}
|
|
1560
1560
|
function createSharedModuleFederationConfig() {
|
|
1561
1561
|
return ` shared: {
|
|
1562
|
+
'@modern-js/plugin-i18n/runtime': {
|
|
1563
|
+
requiredVersion: pluginI18nVersion,
|
|
1564
|
+
singleton: true,
|
|
1565
|
+
treeShaking: false,
|
|
1566
|
+
},
|
|
1567
|
+
'@modern-js/plugin-tanstack/runtime': {
|
|
1568
|
+
requiredVersion: pluginTanstackVersion,
|
|
1569
|
+
singleton: true,
|
|
1570
|
+
treeShaking: false,
|
|
1571
|
+
},
|
|
1562
1572
|
'@modern-js/runtime': {
|
|
1563
1573
|
requiredVersion: runtimeVersion,
|
|
1564
1574
|
singleton: true,
|
|
@@ -1620,6 +1630,8 @@ import { createModuleFederationConfig } from '@module-federation/modern-js-v3';
|
|
|
1620
1630
|
import { dependencies } from './package.json';
|
|
1621
1631
|
|
|
1622
1632
|
const require = createRequire(import.meta.url);
|
|
1633
|
+
const pluginI18nVersion = (require('@modern-js/plugin-i18n/package.json') as { version: string }).version;
|
|
1634
|
+
const pluginTanstackVersion = (require('@modern-js/plugin-tanstack/package.json') as { version: string }).version;
|
|
1623
1635
|
const runtimeVersion = (require('@modern-js/runtime/package.json') as { version: string }).version;
|
|
1624
1636
|
const reactVersion = (require('react/package.json') as { version: string }).version;
|
|
1625
1637
|
const reactDomVersion = (require('react-dom/package.json') as { version: string }).version;
|
|
@@ -1672,6 +1684,8 @@ import { createModuleFederationConfig } from '@module-federation/modern-js-v3';
|
|
|
1672
1684
|
import { dependencies } from './package.json';
|
|
1673
1685
|
|
|
1674
1686
|
const require = createRequire(import.meta.url);
|
|
1687
|
+
const pluginI18nVersion = (require('@modern-js/plugin-i18n/package.json') as { version: string }).version;
|
|
1688
|
+
const pluginTanstackVersion = (require('@modern-js/plugin-tanstack/package.json') as { version: string }).version;
|
|
1675
1689
|
const runtimeVersion = (require('@modern-js/runtime/package.json') as { version: string }).version;
|
|
1676
1690
|
const reactVersion = (require('react/package.json') as { version: string }).version;
|
|
1677
1691
|
const reactDomVersion = (require('react-dom/package.json') as { version: string }).version;
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20"
|
|
23
23
|
},
|
|
24
|
-
"version": "3.2.0-ultramodern.
|
|
24
|
+
"version": "3.2.0-ultramodern.45",
|
|
25
25
|
"types": "./dist/types/index.d.ts",
|
|
26
26
|
"main": "./dist/index.js",
|
|
27
27
|
"bin": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@types/node": "^25.9.1",
|
|
42
42
|
"@typescript/native-preview": "7.0.0-dev.20260527.2",
|
|
43
43
|
"tsx": "^4.22.3",
|
|
44
|
-
"@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.2.0-ultramodern.
|
|
44
|
+
"@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.2.0-ultramodern.45"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
"start": "node ./dist/index.js"
|
|
55
55
|
},
|
|
56
56
|
"ultramodern": {
|
|
57
|
-
"frameworkVersion": "3.2.0-ultramodern.
|
|
57
|
+
"frameworkVersion": "3.2.0-ultramodern.45"
|
|
58
58
|
}
|
|
59
59
|
}
|