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.
- package/dist/index.js +3 -3
- 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
|
|
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