create-module-federation 0.0.0-next-20250606044946 → 0.0.0-next-20250607130731
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,12 +283,15 @@ async function create({ name, templates }) {
|
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
console.log('');
|
|
286
|
-
__WEBPACK_EXTERNAL_MODULE_rslog__.logger.greet(
|
|
287
|
-
if (argv.help)
|
|
286
|
+
__WEBPACK_EXTERNAL_MODULE_rslog__.logger.greet(`◆ Create ${upperFirst(name)} Project`);
|
|
287
|
+
if (argv.help) {
|
|
288
|
+
logHelpMessage(name, templates);
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
288
291
|
const cwd = process.cwd();
|
|
289
292
|
const pkgInfo = pkgFromUserAgent(process.env['npm_config_user_agent']);
|
|
290
293
|
const pkgManager = pkgInfo ? pkgInfo.name : 'npm';
|
|
291
|
-
const mfVersion = "0.
|
|
294
|
+
const mfVersion = "0.13.1";
|
|
292
295
|
argv.template = templates.includes(argv.template || '') ? argv.template : void 0;
|
|
293
296
|
const projectType = await getProjectType(argv.template);
|
|
294
297
|
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.0.0-next-
|
|
6
|
+
"version": "0.0.0-next-20250607130731",
|
|
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.3.1",
|
|
42
42
|
"rsbuild-plugin-publint": "^0.2.1"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"pre-commit": "npx lint-staged"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@modern-js/runtime": "^2.
|
|
27
|
+
"@modern-js/runtime": "^2.65.1",
|
|
28
28
|
"react": "^18.3.1",
|
|
29
29
|
"react-dom": "^18.3.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@modern-js/app-tools": "^2.
|
|
33
|
-
"@modern-js/tsconfig": "^2.
|
|
32
|
+
"@modern-js/app-tools": "^2.65.1",
|
|
33
|
+
"@modern-js/tsconfig": "^2.65.1",
|
|
34
34
|
"@biomejs/biome": "1.8.3",
|
|
35
35
|
"typescript": "~5.0.4",
|
|
36
36
|
"@types/jest": "~29.2.4",
|
|
@@ -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.2.15",
|
|
25
|
+
"@rsbuild/plugin-react": "^1.1.1",
|
|
26
|
+
"@rslib/core": ">=0.5.3",
|
|
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": "^
|
|
40
|
-
"storybook-react-rsbuild": "^
|
|
39
|
+
"storybook-addon-rslib": "^0.1.7",
|
|
40
|
+
"storybook-react-rsbuild": "^0.1.7",
|
|
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.2.15",
|
|
23
23
|
"@rsbuild/plugin-react": "^1.1.1",
|
|
24
|
-
"@rslib/core": ">=0.
|
|
24
|
+
"@rslib/core": ">=0.5.3",
|
|
25
25
|
"@types/react": "^18.3.11",
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"typescript": "^5.7.3",
|