thepopebot 1.2.13 → 1.2.14
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/bin/cli.js +4 -0
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -141,6 +141,10 @@ function init() {
|
|
|
141
141
|
console.log(' Created .gitignore');
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
+
// Run npm install
|
|
145
|
+
console.log('\nInstalling dependencies...\n');
|
|
146
|
+
execSync('npm install', { stdio: 'inherit', cwd });
|
|
147
|
+
|
|
144
148
|
// Update THEPOPEBOT_VERSION in .env if it exists
|
|
145
149
|
const envPath = path.join(cwd, '.env');
|
|
146
150
|
if (fs.existsSync(envPath)) {
|