@atlashub/smartstack-cli 1.10.0 → 1.10.2

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": "@atlashub/smartstack-cli",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
4
4
  "description": "SmartStack Claude Code automation toolkit - GitFlow, APEX, EF Core migrations, prompts and more",
5
5
  "author": {
6
6
  "name": "SmartStack",
@@ -186,7 +186,8 @@ For each backend project, use Write tool to create:
186
186
  ```
187
187
 
188
188
  #### 3.2 Solution File ({ProjectName}.sln)
189
- Use `dotnet new sln` and `dotnet sln add` commands.
189
+ Use `dotnet new sln --format sln` and `dotnet sln add` commands.
190
+ > **Note:** L'option `--format sln` est requise depuis .NET 10 pour generer le format classique `.sln` compatible avec VS Code.
190
191
 
191
192
  #### 3.3 Domain Project
192
193
  - Create .csproj with MediatR.Contracts
@@ -328,7 +329,7 @@ Clean Architecture with CQRS pattern.
328
329
  ```bash
329
330
  cd {ProjectName}
330
331
  git init
331
- dotnet new sln -n {ProjectName}
332
+ dotnet new sln -n {ProjectName} --format sln
332
333
  dotnet sln add src/{ProjectName}.Domain
333
334
  dotnet sln add src/{ProjectName}.Application
334
335
  dotnet sln add src/{ProjectName}.Infrastructure
@@ -12,6 +12,14 @@ Tu es expert GitFlow. Cree une branche dans un **worktree separe** (par defaut).
12
12
 
13
13
  **Argument:** `$ARGUMENTS` = `{type} {name} [--no-worktree]`
14
14
 
15
+ **FLUX D'EXECUTION:**
16
+ ```
17
+ AVEC arguments: ETAPE 1 → ETAPE 5 → ETAPE 6 → ETAPE 7 → ETAPE 8
18
+ SANS arguments: ETAPE 1 → ETAPE 2 → ETAPE 3 → ETAPE 4 → ETAPE 5 → ETAPE 6 → ETAPE 7 → ETAPE 8
19
+
20
+ TOUJOURS OBLIGATOIRE
21
+ ```
22
+
15
23
  ---
16
24
 
17
25
  ## ETAPE 1: Analyser le contexte
@@ -77,14 +85,16 @@ EF CORE (si projet .NET)
77
85
 
78
86
  ## ETAPE 3: Questions dynamiques selon contexte
79
87
 
80
- ### Si `$ARGUMENTS` fourni → Parser et executer directement
88
+ ### Si `$ARGUMENTS` fourni → Parser et aller aux verifications
81
89
 
82
90
  ```
83
91
  $ARGUMENTS = "feature add-user-auth"
84
92
  → TYPE = "feature", NAME = "add-user-auth"
85
- → Sauter les questions, executer directement
93
+ → Sauter les questions (ETAPES 3-4), aller directement a ETAPE 5 (verifications)
86
94
  ```
87
95
 
96
+ **IMPORTANT:** Meme avec des arguments, tu DOIS executer l'ETAPE 5 (verifications) avant de creer la branche.
97
+
88
98
  ### Si PAS d'arguments → Questionnaire dynamique
89
99
 
90
100
  **Construire les options selon le contexte:**
@@ -404,6 +414,8 @@ echo "Branche: $BRANCH_NAME"
404
414
 
405
415
  ## ETAPE 5: Verifications pre-creation
406
416
 
417
+ > **OBLIGATOIRE:** Cette etape doit TOUJOURS etre executee, meme quand des arguments sont fournis via `$ARGUMENTS`. Ne JAMAIS sauter cette etape.
418
+
407
419
  | Check | Commande | Action si echec |
408
420
  |-------|----------|-----------------|
409
421
  | Working tree clean | `git status --porcelain` | Proposer stash ou commit |
@@ -187,8 +187,8 @@ AskUserQuestion({
187
187
  mkdir -p "$PROJECT_NAME"
188
188
  cd "$PROJECT_NAME"
189
189
 
190
- # Creer la solution
191
- dotnet new sln -n "$PROJECT_NAME"
190
+ # Creer la solution (format classique .sln pour compatibilite VS Code)
191
+ dotnet new sln -n "$PROJECT_NAME" --format sln
192
192
 
193
193
  # Creer les projets
194
194
  dotnet new classlib -n "$PROJECT_NAME.Domain" -o "src/$PROJECT_NAME.Domain"