create-module-federation 0.14.3 → 0.16.0
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
CHANGED
|
@@ -283,15 +283,12 @@ async function create({ name, templates }) {
|
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
console.log('');
|
|
286
|
-
__WEBPACK_EXTERNAL_MODULE_rslog__.logger.greet(
|
|
287
|
-
if (argv.help)
|
|
288
|
-
logHelpMessage(name, templates);
|
|
289
|
-
return;
|
|
290
|
-
}
|
|
286
|
+
__WEBPACK_EXTERNAL_MODULE_rslog__.logger.greet(`\u{25C6} Create ${upperFirst(name)} Project`);
|
|
287
|
+
if (argv.help) return void logHelpMessage(name, templates);
|
|
291
288
|
const cwd = process.cwd();
|
|
292
289
|
const pkgInfo = pkgFromUserAgent(process.env['npm_config_user_agent']);
|
|
293
290
|
const pkgManager = pkgInfo ? pkgInfo.name : 'npm';
|
|
294
|
-
const mfVersion = "0.
|
|
291
|
+
const mfVersion = "0.16.0";
|
|
295
292
|
argv.template = templates.includes(argv.template || '') ? argv.template : void 0;
|
|
296
293
|
const projectType = await getProjectType(argv.template);
|
|
297
294
|
if ("zephyr" === projectType) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Create a new Module Federation project",
|
|
4
4
|
"public": true,
|
|
5
5
|
"sideEffects": false,
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.16.0",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/glob": "7.2.0",
|
|
39
39
|
"@types/minimist": "^1.2.5",
|
|
40
40
|
"@types/fs-extra": "9.0.6",
|
|
41
|
-
"@rslib/core": "^0.
|
|
41
|
+
"@rslib/core": "^0.9.0",
|
|
42
42
|
"rsbuild-plugin-publint": "^0.2.1"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"mf-dev": "rslib mf-dev"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@rsbuild/core": "^1.
|
|
25
|
-
"@rsbuild/plugin-react": "^1.
|
|
26
|
-
"@rslib/core": ">=0.
|
|
24
|
+
"@rsbuild/core": "^1.3.22",
|
|
25
|
+
"@rsbuild/plugin-react": "^1.3.1",
|
|
26
|
+
"@rslib/core": ">=0.9.0",
|
|
27
27
|
"@storybook/addon-essentials": "^8.4.7",
|
|
28
28
|
"@storybook/addon-interactions": "^8.4.7",
|
|
29
29
|
"@storybook/addon-links": "^8.4.7",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"react": "^18.3.1",
|
|
37
37
|
"react-dom": "^18.3.1",
|
|
38
38
|
"storybook": "^8.4.7",
|
|
39
|
-
"storybook-addon-rslib": "^0.1
|
|
40
|
-
"storybook-react-rsbuild": "^0.1
|
|
39
|
+
"storybook-addon-rslib": "^1.0.1",
|
|
40
|
+
"storybook-react-rsbuild": "^1.0.1",
|
|
41
41
|
"typescript": "^5.7.3",
|
|
42
42
|
"@types/node": "^22.13.9",
|
|
43
43
|
"@module-federation/rsbuild-plugin":"^{{mfVersion}}",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"mf-dev": "rslib mf-dev"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@rsbuild/core": "^1.
|
|
22
|
+
"@rsbuild/core": "^1.3.21",
|
|
23
23
|
"@rsbuild/plugin-react": "^1.1.1",
|
|
24
|
-
"@rslib/core": ">=0.
|
|
24
|
+
"@rslib/core": ">=0.9.0",
|
|
25
25
|
"@types/react": "^18.3.11",
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"typescript": "^5.7.3",
|