@jumpgroup/laravel-tools 3.3.0 → 3.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jumpgroup/laravel-tools",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "CLI tool for managing the full lifecycle of Laravel projects at JumpGroup",
5
5
  "type": "module",
6
6
  "bin": {
@@ -346,7 +346,11 @@ export const setupLaravel = async () => {
346
346
 
347
347
  if (!hasSessionsMigration) {
348
348
  console.log('📋 Generazione della tabella sessioni...');
349
- await executeCommand('docker', ['exec', `${appName}-api`, 'php', 'artisan', 'session:table']);
349
+ try {
350
+ await executeCommandWithOutput('docker', ['exec', `${appName}-api`, 'php', 'artisan', 'session:table']);
351
+ } catch (e) {
352
+ if (!e.message.includes('already exists')) throw e;
353
+ }
350
354
  }
351
355
 
352
356
  console.log('🗄️ Esecuzione delle migration...');