@mrbryan1502/create-symfony-vue 1.0.4 → 1.0.5
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/index.js +3 -0
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -120,6 +120,9 @@ const hasComposer = hasTool('composer');
|
|
|
120
120
|
if (hasComposer) {
|
|
121
121
|
console.log(' \x1b[90mInstalando dependencias PHP (composer install) ...\x1b[0m');
|
|
122
122
|
execSync('composer install --no-interaction --no-scripts', { cwd: projectDir, stdio: 'inherit' });
|
|
123
|
+
try {
|
|
124
|
+
execSync('composer recipes:install symfony/security-bundle --force --no-interaction 2>&1', { cwd: projectDir, stdio: 'inherit' });
|
|
125
|
+
} catch {}
|
|
123
126
|
try {
|
|
124
127
|
execSync('composer run-script auto-scripts', { cwd: projectDir, stdio: 'inherit' });
|
|
125
128
|
} catch {}
|