@atlashub/smartstack-cli 3.4.0 → 3.5.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/dist/index.js +161 -16
- package/dist/index.js.map +1 -1
- package/dist/mcp-entry.mjs +4 -3
- package/dist/mcp-entry.mjs.map +1 -1
- package/package.json +1 -1
- package/templates/project/appsettings.json.template +12 -2
- package/templates/skills/_shared.md +1 -1
- package/templates/skills/application/steps/step-04-backend.md +4 -4
- package/templates/skills/application/templates-backend.md +4 -4
- package/templates/skills/business-analyse/SKILL.md +47 -143
- package/templates/skills/business-analyse/_architecture.md +3 -3
- package/templates/skills/business-analyse/_shared.md +1 -1
- package/templates/skills/business-analyse/html/ba-interactive.html +269 -28
- package/templates/skills/business-analyse/schemas/application-schema.json +3 -4
- package/templates/skills/business-analyse/schemas/sections/metadata-schema.json +1 -2
- package/templates/skills/business-analyse/steps/step-00-init.md +130 -398
- package/templates/skills/business-analyse/steps/step-01-cadrage.md +6 -14
- package/templates/skills/business-analyse/steps/step-05b-deploy.md +65 -69
- package/templates/skills/business-analyse/templates/tpl-handoff.md +9 -19
- package/templates/skills/business-analyse/templates/tpl-launch-displays.md +23 -128
- package/templates/skills/business-analyse/templates-frd.md +3 -19
- package/templates/skills/ralph-loop/steps/step-01-task.md +249 -6
- package/templates/skills/business-analyse/steps/step-06-extract.md +0 -648
package/dist/mcp-entry.mjs
CHANGED
|
@@ -39601,7 +39601,7 @@ function resolveHierarchy(navRoute) {
|
|
|
39601
39601
|
} else if (segments.length === 1) {
|
|
39602
39602
|
domainPath = context;
|
|
39603
39603
|
}
|
|
39604
|
-
const infraPath =
|
|
39604
|
+
const infraPath = domainPath;
|
|
39605
39605
|
const controllerArea = context;
|
|
39606
39606
|
return { context, application, module, domainPath, infraPath, controllerArea };
|
|
39607
39607
|
}
|
|
@@ -39757,7 +39757,7 @@ async function scaffoldFeature(name, options, structure, config2, result, dryRun
|
|
|
39757
39757
|
async function scaffoldService(name, options, structure, config2, result, dryRun = false) {
|
|
39758
39758
|
const hierarchy = resolveHierarchy(options?.navRoute);
|
|
39759
39759
|
const interfaceNamespace = options?.namespace || `${config2.conventions.namespaces.application}.Common.Interfaces`;
|
|
39760
|
-
const implNamespace = hierarchy.infraPath ? `${config2.conventions.namespaces.infrastructure}.Services.${hierarchy.infraPath}` : `${config2.conventions.namespaces.infrastructure}.Services`;
|
|
39760
|
+
const implNamespace = hierarchy.infraPath ? `${config2.conventions.namespaces.infrastructure}.Services.${hierarchy.infraPath.replace(/[\\/]/g, ".")}` : `${config2.conventions.namespaces.infrastructure}.Services`;
|
|
39761
39761
|
const methods = options?.methods || ["GetByIdAsync", "GetAllAsync", "CreateAsync", "UpdateAsync", "DeleteAsync"];
|
|
39762
39762
|
const interfaceTemplate = `using System.Threading;
|
|
39763
39763
|
using System.Threading.Tasks;
|
|
@@ -39971,7 +39971,7 @@ public class {{name}} : BaseEntity, ITenantEntity
|
|
|
39971
39971
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
39972
39972
|
using {{domainNamespace}};
|
|
39973
39973
|
|
|
39974
|
-
namespace {{infrastructureNamespace}}.Persistence.Configurations;
|
|
39974
|
+
namespace {{infrastructureNamespace}}.Persistence.Configurations{{#if configNamespaceSuffix}}.{{configNamespaceSuffix}}{{/if}};
|
|
39975
39975
|
|
|
39976
39976
|
/// <summary>
|
|
39977
39977
|
/// EF Core configuration for {{name}}
|
|
@@ -40065,6 +40065,7 @@ public class {{name}}Configuration : IEntityTypeConfiguration<{{name}}>
|
|
|
40065
40065
|
tablePrefix,
|
|
40066
40066
|
schema,
|
|
40067
40067
|
infrastructureNamespace: config2.conventions.namespaces.infrastructure,
|
|
40068
|
+
configNamespaceSuffix: hierarchy.infraPath ? hierarchy.infraPath.replace(/[\\/]/g, ".") : "",
|
|
40068
40069
|
domainNamespace: config2.conventions.namespaces.domain
|
|
40069
40070
|
};
|
|
40070
40071
|
const entityContent = import_handlebars.default.compile(entityTemplate)(context);
|