esa-cli 0.0.1-beta.7 → 0.0.1-beta.8
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/commands/init/index.js +3 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -47,8 +47,10 @@ export function handleInit(argv) {
|
|
|
47
47
|
// 更新npm包
|
|
48
48
|
const __dirname = getDirName(import.meta.url);
|
|
49
49
|
const projectPath = path.join(__dirname, '../../..');
|
|
50
|
-
|
|
50
|
+
console.log('Installing dependencies...');
|
|
51
51
|
console.log(projectPath);
|
|
52
|
+
execSync('npm install', { stdio: 'ignore', cwd: projectPath });
|
|
53
|
+
console.log('Dependencies installed successfully.');
|
|
52
54
|
if (config !== undefined) {
|
|
53
55
|
yield generateConfigFile(String(config));
|
|
54
56
|
return;
|
package/dist/package.json
CHANGED