create-laju-app 1.0.5 → 1.0.6
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 +2 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -64,7 +64,8 @@ program
|
|
|
64
64
|
console.log('📦 Installing dependencies...');
|
|
65
65
|
execSync('npm install', { stdio: 'inherit' });
|
|
66
66
|
console.log('📝 Copying environment file...');
|
|
67
|
-
|
|
67
|
+
|
|
68
|
+
execSync(process.platform === 'win32' ? 'copy .env.example .env' : 'cp .env.example .env', { stdio: 'inherit' });
|
|
68
69
|
console.log('🔄 Running migrations...');
|
|
69
70
|
execSync('npx knex migrate:latest', { stdio: 'inherit' });
|
|
70
71
|
console.log('🎉 Project created successfully!');
|