@makano/rew 1.1.55 → 1.1.56
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/rew/cli/utils.js +10 -9
- package/package.json +1 -1
package/lib/rew/cli/utils.js
CHANGED
@@ -72,15 +72,16 @@ module.exports = {
|
|
72
72
|
fs.writeFileSync(path.join(projectPath, '.gitignore'), `node_modules/\npackage-lock.json`);
|
73
73
|
execSync('cd '+projectPath+' && git init .');
|
74
74
|
}
|
75
|
-
log('Installing '+npm_package_name);
|
76
|
-
exec('cd '+projectPath+' && npm i '+npm_package_name, (err) => {
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
});
|
75
|
+
// log('Installing '+npm_package_name);
|
76
|
+
// exec('cd '+projectPath+' && npm i '+npm_package_name, (err) => {
|
77
|
+
// if(err){
|
78
|
+
// console.error(err);
|
79
|
+
// process.exit(0);
|
80
|
+
// } else {
|
81
|
+
// rl.close();
|
82
|
+
// }
|
83
|
+
// });
|
84
|
+
log('Done.', ':end');
|
84
85
|
}
|
85
86
|
if (!fs.existsSync(projectPath)) {
|
86
87
|
rl.question(logget('Package Name: '), (pkg) => {
|