create-module-federation 0.0.0-next-20250306063156 → 0.0.0-next-20250306064836

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -98,7 +98,8 @@ const packageDir = __WEBPACK_EXTERNAL_MODULE_path__["default"].resolve(create_di
98
98
  const OTHER_TYPE = {
99
99
  zephyr: {
100
100
  label: 'zephyr',
101
- command: 'npm create zephyr'
101
+ command: 'npm create zephyr@latest',
102
+ hint: 'npm create zephyr@latest'
102
103
  }
103
104
  };
104
105
  function upperFirst(str) {
@@ -328,8 +329,7 @@ async function create({ name, templates }) {
328
329
  }));
329
330
  const { command } = OTHER_TYPE[otherProjectKey];
330
331
  const commandWithManager = command.replace(/^npm create /, `${pkgManager} create `);
331
- const realCommand = `${commandWithManager} -d ${distFolder} -n ${mfName}${argv.override ? ' --override' : ''}`;
332
- const [cmd, ...cmdArgs] = realCommand.split(' ');
332
+ const [cmd, ...cmdArgs] = commandWithManager.split(' ');
333
333
  const { status } = (0, __WEBPACK_EXTERNAL_MODULE_child_process__.spawnSync)(cmd, cmdArgs, {
334
334
  stdio: 'inherit'
335
335
  });
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-20250306063156",
6
+ "version": "0.0.0-next-20250306064836",
7
7
  "license": "MIT",
8
8
  "repository": {
9
9
  "type": "git",