@atlashub/smartstack-cli 1.5.0 → 1.5.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/.documentation/agents.html +920 -916
- package/.documentation/apex.html +1022 -1018
- package/.documentation/business-analyse.html +1505 -1501
- package/.documentation/commands.html +684 -680
- package/.documentation/efcore.html +2509 -2505
- package/.documentation/gitflow.html +2622 -2618
- package/.documentation/hooks.html +417 -413
- package/.documentation/index.html +327 -323
- package/.documentation/init.html +565 -0
- package/.documentation/installation.html +548 -462
- package/.documentation/ralph-loop.html +534 -530
- package/.documentation/test-web.html +517 -513
- package/dist/index.js +18 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/commands/init.md +20 -15
package/dist/index.js
CHANGED
|
@@ -42130,19 +42130,29 @@ async function createBackendStructure(config, dryRun) {
|
|
|
42130
42130
|
dryRun
|
|
42131
42131
|
);
|
|
42132
42132
|
}
|
|
42133
|
-
logger.info("Installing
|
|
42134
|
-
const nugetPackages = [
|
|
42135
|
-
{ project: `${name}.Domain`, packages: ["SmartStack.Domain"] },
|
|
42136
|
-
{ project: `${name}.Application`, packages: ["SmartStack.Application"] },
|
|
42137
|
-
{ project: `${name}.Infrastructure`, packages: ["SmartStack.Infrastructure", "Microsoft.EntityFrameworkCore.Design"] },
|
|
42138
|
-
{ project: `${name}.Api`, packages: ["SmartStack.Api.Core"] }
|
|
42139
|
-
];
|
|
42133
|
+
logger.info("Installing NuGet packages...");
|
|
42140
42134
|
const dbPackage = {
|
|
42141
42135
|
sqlserver: "Microsoft.EntityFrameworkCore.SqlServer",
|
|
42142
42136
|
postgresql: "Npgsql.EntityFrameworkCore.PostgreSQL",
|
|
42143
42137
|
sqlite: "Microsoft.EntityFrameworkCore.Sqlite"
|
|
42144
42138
|
}[config.database];
|
|
42145
|
-
nugetPackages
|
|
42139
|
+
const nugetPackages = [
|
|
42140
|
+
{
|
|
42141
|
+
project: `${name}.Infrastructure`,
|
|
42142
|
+
packages: [
|
|
42143
|
+
"Microsoft.EntityFrameworkCore",
|
|
42144
|
+
"Microsoft.EntityFrameworkCore.Design",
|
|
42145
|
+
dbPackage
|
|
42146
|
+
]
|
|
42147
|
+
},
|
|
42148
|
+
{
|
|
42149
|
+
project: `${name}.Api`,
|
|
42150
|
+
packages: [
|
|
42151
|
+
"Microsoft.AspNetCore.Authentication.JwtBearer",
|
|
42152
|
+
"Swashbuckle.AspNetCore"
|
|
42153
|
+
]
|
|
42154
|
+
}
|
|
42155
|
+
];
|
|
42146
42156
|
for (const { project, packages } of nugetPackages) {
|
|
42147
42157
|
for (const pkg2 of packages) {
|
|
42148
42158
|
execCommand(`dotnet add "${(0, import_path4.join)(srcDir, project)}" package ${pkg2}`, void 0, dryRun);
|