@atlashub/smartstack-cli 1.7.0 → 1.8.0
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/.documentation/init.html +9 -65
- package/README.md +556 -78
- package/dist/index.js +29 -134
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/agents/gitflow/status.md +98 -11
- package/templates/commands/efcore/conflicts.md +98 -32
- package/templates/commands/efcore/db-deploy.md +107 -10
- package/templates/commands/efcore/db-reset.md +69 -14
- package/templates/commands/efcore/db-seed.md +67 -11
- package/templates/commands/efcore/db-status.md +57 -20
- package/templates/commands/efcore/migration.md +84 -23
- package/templates/commands/efcore/rebase-snapshot.md +81 -23
- package/templates/commands/efcore/scan.md +94 -29
- package/templates/commands/efcore/squash.md +97 -41
- package/templates/commands/gitflow/1-init.md +216 -5
- package/templates/commands/gitflow/10-start.md +194 -24
- package/templates/commands/gitflow/11-finish.md +141 -59
- package/templates/commands/gitflow/2-status.md +238 -58
- package/templates/commands/gitflow/3-commit.md +93 -0
- package/templates/commands/gitflow/7-pull-request.md +133 -16
package/.documentation/init.html
CHANGED
|
@@ -131,10 +131,10 @@
|
|
|
131
131
|
</h2>
|
|
132
132
|
|
|
133
133
|
<p data-lang="fr">
|
|
134
|
-
La commande <code>smartstack init</code> permet de creer rapidement un nouveau projet SmartStack avec une architecture Clean Architecture (.NET)
|
|
134
|
+
La commande <code>smartstack init</code> permet de creer rapidement un nouveau projet SmartStack avec une architecture Clean Architecture (.NET).
|
|
135
135
|
</p>
|
|
136
136
|
<p data-lang="en">
|
|
137
|
-
The <code>smartstack init</code> command allows you to quickly create a new SmartStack project with Clean Architecture (.NET)
|
|
137
|
+
The <code>smartstack init</code> command allows you to quickly create a new SmartStack project with Clean Architecture (.NET).
|
|
138
138
|
</p>
|
|
139
139
|
|
|
140
140
|
<div class="alert alert-info">
|
|
@@ -157,14 +157,6 @@
|
|
|
157
157
|
<span class="feature-icon">🛠</span>
|
|
158
158
|
<span class="feature-text"><strong>.NET SDK</strong> >= 10.0</span>
|
|
159
159
|
</div>
|
|
160
|
-
<div class="feature-item">
|
|
161
|
-
<span class="feature-icon">📗</span>
|
|
162
|
-
<span class="feature-text"><strong>Node.js</strong> >= 18.0</span>
|
|
163
|
-
</div>
|
|
164
|
-
<div class="feature-item">
|
|
165
|
-
<span class="feature-icon">📦</span>
|
|
166
|
-
<span class="feature-text"><strong>npm</strong> >= 9.0</span>
|
|
167
|
-
</div>
|
|
168
160
|
</div>
|
|
169
161
|
</section>
|
|
170
162
|
|
|
@@ -256,27 +248,6 @@
|
|
|
256
248
|
</tr>
|
|
257
249
|
</thead>
|
|
258
250
|
<tbody>
|
|
259
|
-
<tr>
|
|
260
|
-
<td><code>--full-stack</code></td>
|
|
261
|
-
<td>
|
|
262
|
-
<span data-lang="fr">Creer un projet Full Stack (Backend .NET + Frontend React) - par defaut</span>
|
|
263
|
-
<span data-lang="en">Create Full Stack project (Backend .NET + Frontend React) - default</span>
|
|
264
|
-
</td>
|
|
265
|
-
</tr>
|
|
266
|
-
<tr>
|
|
267
|
-
<td><code>--backend</code></td>
|
|
268
|
-
<td>
|
|
269
|
-
<span data-lang="fr">Creer uniquement le backend .NET</span>
|
|
270
|
-
<span data-lang="en">Create backend .NET only</span>
|
|
271
|
-
</td>
|
|
272
|
-
</tr>
|
|
273
|
-
<tr>
|
|
274
|
-
<td><code>--frontend</code></td>
|
|
275
|
-
<td>
|
|
276
|
-
<span data-lang="fr">Creer uniquement le frontend React</span>
|
|
277
|
-
<span data-lang="en">Create frontend React only</span>
|
|
278
|
-
</td>
|
|
279
|
-
</tr>
|
|
280
251
|
<tr>
|
|
281
252
|
<td><code>--db <type></code></td>
|
|
282
253
|
<td>
|
|
@@ -319,17 +290,14 @@
|
|
|
319
290
|
|
|
320
291
|
<div class="code-block">
|
|
321
292
|
<button class="copy-btn">Copy</button>
|
|
322
|
-
<pre><code># Projet
|
|
293
|
+
<pre><code># Projet avec wizard interactif
|
|
323
294
|
smartstack init MyApp
|
|
324
295
|
|
|
325
|
-
# Projet
|
|
296
|
+
# Projet avec SQL Server (mode rapide)
|
|
326
297
|
smartstack init MyApp -y
|
|
327
298
|
|
|
328
|
-
#
|
|
329
|
-
smartstack init
|
|
330
|
-
|
|
331
|
-
# Frontend React uniquement
|
|
332
|
-
smartstack init MyWebApp --frontend
|
|
299
|
+
# Projet avec PostgreSQL
|
|
300
|
+
smartstack init MyApp --db postgresql
|
|
333
301
|
|
|
334
302
|
# Simulation (dry-run)
|
|
335
303
|
smartstack init MyApp --dry-run</code></pre>
|
|
@@ -368,11 +336,6 @@ smartstack init MyApp --dry-run</code></pre>
|
|
|
368
336
|
│ └── {ProjectName}.Api.csproj
|
|
369
337
|
├── tests/
|
|
370
338
|
│ └── {ProjectName}.Tests/
|
|
371
|
-
├── web/
|
|
372
|
-
│ └── {projectname}-web/ # Frontend React
|
|
373
|
-
│ ├── src/
|
|
374
|
-
│ ├── package.json
|
|
375
|
-
│ └── vite.config.ts
|
|
376
339
|
├── {ProjectName}.sln
|
|
377
340
|
├── Directory.Build.props
|
|
378
341
|
└── README.md</code></pre>
|
|
@@ -386,7 +349,7 @@ smartstack init MyApp --dry-run</code></pre>
|
|
|
386
349
|
<span data-lang="en">Installed Packages</span>
|
|
387
350
|
</h2>
|
|
388
351
|
|
|
389
|
-
<h3>NuGet
|
|
352
|
+
<h3>NuGet</h3>
|
|
390
353
|
<ul>
|
|
391
354
|
<li><code>Microsoft.EntityFrameworkCore</code></li>
|
|
392
355
|
<li><code>Microsoft.EntityFrameworkCore.Design</code></li>
|
|
@@ -394,15 +357,6 @@ smartstack init MyApp --dry-run</code></pre>
|
|
|
394
357
|
<li><code>Microsoft.AspNetCore.Authentication.JwtBearer</code></li>
|
|
395
358
|
<li><code>Swashbuckle.AspNetCore</code></li>
|
|
396
359
|
</ul>
|
|
397
|
-
|
|
398
|
-
<h3>npm (Frontend)</h3>
|
|
399
|
-
<ul>
|
|
400
|
-
<li><code>@atlashub/smartstack-react</code></li>
|
|
401
|
-
<li><code>react-router-dom</code></li>
|
|
402
|
-
<li><code>axios</code></li>
|
|
403
|
-
<li><code>i18next</code> / <code>react-i18next</code></li>
|
|
404
|
-
<li><code>tailwindcss</code></li>
|
|
405
|
-
</ul>
|
|
406
360
|
</section>
|
|
407
361
|
|
|
408
362
|
<!-- Next Steps -->
|
|
@@ -447,24 +401,14 @@ smartstack init MyApp --dry-run</code></pre>
|
|
|
447
401
|
</li>
|
|
448
402
|
<li>
|
|
449
403
|
<div class="step-content">
|
|
450
|
-
<h5 data-lang="fr">Lancer
|
|
451
|
-
<h5 data-lang="en">Start
|
|
404
|
+
<h5 data-lang="fr">Lancer l'API</h5>
|
|
405
|
+
<h5 data-lang="en">Start API</h5>
|
|
452
406
|
<div class="code-block">
|
|
453
407
|
<button class="copy-btn">Copy</button>
|
|
454
408
|
<pre><code>dotnet run --project src/{ProjectName}.Api</code></pre>
|
|
455
409
|
</div>
|
|
456
410
|
</div>
|
|
457
411
|
</li>
|
|
458
|
-
<li>
|
|
459
|
-
<div class="step-content">
|
|
460
|
-
<h5 data-lang="fr">Lancer le frontend</h5>
|
|
461
|
-
<h5 data-lang="en">Start frontend</h5>
|
|
462
|
-
<div class="code-block">
|
|
463
|
-
<button class="copy-btn">Copy</button>
|
|
464
|
-
<pre><code>cd web/{projectname}-web && npm run dev</code></pre>
|
|
465
|
-
</div>
|
|
466
|
-
</div>
|
|
467
|
-
</li>
|
|
468
412
|
</ol>
|
|
469
413
|
</section>
|
|
470
414
|
|