@module-federation/cli 0.0.0-next-20250312104826 → 0.0.0-next-20250321032801
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/README.md +0 -48
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,51 +13,3 @@ Module Federation CLI
|
|
|
13
13
|
<img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="license" />
|
|
14
14
|
<a href="https://npmcharts.com/compare/@module-federation/cli?minimal=true"><img src="https://img.shields.io/npm/dm/@module-federation/cli.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="downloads" /></a>
|
|
15
15
|
</p>
|
|
16
|
-
|
|
17
|
-
## All commands
|
|
18
|
-
|
|
19
|
-
To view all available CLI commands, run the following command in the project directory:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npx @module-federation/cli -h
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
The output is shown below:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
Usage: mf <command> [options]
|
|
29
|
-
|
|
30
|
-
Options:
|
|
31
|
-
-V, --version output the version number
|
|
32
|
-
-h, --help display help for command
|
|
33
|
-
|
|
34
|
-
Commands:
|
|
35
|
-
dts [options] generate or fetch the mf types
|
|
36
|
-
help [command] display help for command
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### mf dts
|
|
40
|
-
|
|
41
|
-
The mf dts command is used to generate or fetch remote types.
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
Usage: mf dts [options]
|
|
45
|
-
|
|
46
|
-
generate or fetch the mf types
|
|
47
|
-
|
|
48
|
-
Options:
|
|
49
|
-
--root <root> specify the project root directory
|
|
50
|
-
--output <output> specify the generated dts output directory
|
|
51
|
-
--fetch <boolean> fetch types from remote, default is true (default: true)
|
|
52
|
-
--generate <boolean> generate types, default is true (default: true)
|
|
53
|
-
-c --config <config> specify the configuration file, can be a relative or absolute path
|
|
54
|
-
-h, --help display help for command
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Documentation
|
|
58
|
-
|
|
59
|
-
See [Documentation](https://module-federation.io/guide/start/quick-start).
|
|
60
|
-
|
|
61
|
-
## License
|
|
62
|
-
|
|
63
|
-
[MIT](https://github.com/module-federation/core/blob/main/LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/cli",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20250321032801",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Module Federation CLI",
|
|
6
6
|
"homepage": "https://module-federation.io",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"commander": "11.1.0",
|
|
26
26
|
"chalk": "3.0.0",
|
|
27
27
|
"@modern-js/node-bundle-require": "2.65.1",
|
|
28
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
29
|
-
"@module-federation/dts-plugin": "0.0.0-next-
|
|
28
|
+
"@module-federation/sdk": "0.0.0-next-20250321032801",
|
|
29
|
+
"@module-federation/dts-plugin": "0.0.0-next-20250321032801"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "~16.11.7"
|