@wildo-ai/wildo-cli 1.1.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/LICENSE +34 -0
- package/bin/wildo-tsc-native.mjs +108 -0
- package/bin/wildo.ts +10 -0
- package/dist/bin/wildo.d.ts +3 -0
- package/dist/bin/wildo.d.ts.map +1 -0
- package/dist/bin/wildo.js +7 -0
- package/dist/bin/wildo.js.map +1 -0
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +8 -0
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -0
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +54 -0
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +1 -0
- package/dist/src/commands/acp/probe.command.d.ts +30 -0
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -0
- package/dist/src/commands/acp/probe.command.js +122 -0
- package/dist/src/commands/acp/probe.command.js.map +1 -0
- package/dist/src/commands/align-deps.command.d.ts +7 -0
- package/dist/src/commands/align-deps.command.d.ts.map +1 -0
- package/dist/src/commands/align-deps.command.js +102 -0
- package/dist/src/commands/align-deps.command.js.map +1 -0
- package/dist/src/commands/assets/sync.command.d.ts +23 -0
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -0
- package/dist/src/commands/assets/sync.command.js +59 -0
- package/dist/src/commands/assets/sync.command.js.map +1 -0
- package/dist/src/commands/brand/propagate.command.d.ts +62 -0
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -0
- package/dist/src/commands/brand/propagate.command.js +193 -0
- package/dist/src/commands/brand/propagate.command.js.map +1 -0
- package/dist/src/commands/compose.command.d.ts +7 -0
- package/dist/src/commands/compose.command.d.ts.map +1 -0
- package/dist/src/commands/compose.command.js +99 -0
- package/dist/src/commands/compose.command.js.map +1 -0
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +22 -0
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -0
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +268 -0
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts +2 -0
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js +1229 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -0
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts +14 -0
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -0
- package/dist/src/commands/config/__tests__/validate.command.test.js +375 -0
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -0
- package/dist/src/commands/config/mutate.command.d.ts +32 -0
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -0
- package/dist/src/commands/config/mutate.command.js +119 -0
- package/dist/src/commands/config/mutate.command.js.map +1 -0
- package/dist/src/commands/config/reapply-declaration.command.d.ts +40 -0
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -0
- package/dist/src/commands/config/reapply-declaration.command.js +174 -0
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts +123 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -0
- package/dist/src/commands/config/sync.command.js +1170 -0
- package/dist/src/commands/config/sync.command.js.map +1 -0
- package/dist/src/commands/config/validate.command.d.ts +117 -0
- package/dist/src/commands/config/validate.command.d.ts.map +1 -0
- package/dist/src/commands/config/validate.command.js +563 -0
- package/dist/src/commands/config/validate.command.js.map +1 -0
- package/dist/src/commands/context/coherence.command.d.ts +13 -0
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -0
- package/dist/src/commands/context/coherence.command.js +44 -0
- package/dist/src/commands/context/coherence.command.js.map +1 -0
- package/dist/src/commands/context/context-command.utils.d.ts +43 -0
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -0
- package/dist/src/commands/context/context-command.utils.js +57 -0
- package/dist/src/commands/context/context-command.utils.js.map +1 -0
- package/dist/src/commands/context/health.command.d.ts +11 -0
- package/dist/src/commands/context/health.command.d.ts.map +1 -0
- package/dist/src/commands/context/health.command.js +40 -0
- package/dist/src/commands/context/health.command.js.map +1 -0
- package/dist/src/commands/context/info.command.d.ts +20 -0
- package/dist/src/commands/context/info.command.d.ts.map +1 -0
- package/dist/src/commands/context/info.command.js +90 -0
- package/dist/src/commands/context/info.command.js.map +1 -0
- package/dist/src/commands/context/journey.command.d.ts +16 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -0
- package/dist/src/commands/context/journey.command.js +69 -0
- package/dist/src/commands/context/journey.command.js.map +1 -0
- package/dist/src/commands/context/list.command.d.ts +15 -0
- package/dist/src/commands/context/list.command.d.ts.map +1 -0
- package/dist/src/commands/context/list.command.js +60 -0
- package/dist/src/commands/context/list.command.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +26 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.js +89 -0
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -0
- package/dist/src/commands/db/diff.command.d.ts +39 -0
- package/dist/src/commands/db/diff.command.d.ts.map +1 -0
- package/dist/src/commands/db/diff.command.js +153 -0
- package/dist/src/commands/db/diff.command.js.map +1 -0
- package/dist/src/commands/db/generate.command.d.ts +32 -0
- package/dist/src/commands/db/generate.command.d.ts.map +1 -0
- package/dist/src/commands/db/generate.command.js +139 -0
- package/dist/src/commands/db/generate.command.js.map +1 -0
- package/dist/src/commands/db/migrate.command.d.ts +41 -0
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -0
- package/dist/src/commands/db/migrate.command.js +111 -0
- package/dist/src/commands/db/migrate.command.js.map +1 -0
- package/dist/src/commands/db/resolve.command.d.ts +22 -0
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -0
- package/dist/src/commands/db/resolve.command.js +97 -0
- package/dist/src/commands/db/resolve.command.js.map +1 -0
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +202 -0
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +1 -0
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/start.command.test.js +468 -0
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -0
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/stop.command.test.js +72 -0
- package/dist/src/commands/dev/__tests__/stop.command.test.js.map +1 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +2 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +114 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -0
- package/dist/src/commands/dev/charts-audit.command.d.ts +19 -0
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -0
- package/dist/src/commands/dev/charts-audit.command.js +74 -0
- package/dist/src/commands/dev/charts-audit.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-generate.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-generate.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-init.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-init.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-init.command.js.map +1 -0
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts +10 -0
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -0
- package/dist/src/commands/dev/design-tokens-validate.command.js +24 -0
- package/dist/src/commands/dev/design-tokens-validate.command.js.map +1 -0
- package/dist/src/commands/dev/force-stop.command.d.ts +29 -0
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -0
- package/dist/src/commands/dev/force-stop.command.js +68 -0
- package/dist/src/commands/dev/force-stop.command.js.map +1 -0
- package/dist/src/commands/dev/resources.command.d.ts +16 -0
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -0
- package/dist/src/commands/dev/resources.command.js +45 -0
- package/dist/src/commands/dev/resources.command.js.map +1 -0
- package/dist/src/commands/dev/start.command.d.ts +16 -0
- package/dist/src/commands/dev/start.command.d.ts.map +1 -0
- package/dist/src/commands/dev/start.command.js +409 -0
- package/dist/src/commands/dev/start.command.js.map +1 -0
- package/dist/src/commands/dev/stop-all.command.d.ts +14 -0
- package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -0
- package/dist/src/commands/dev/stop-all.command.js +96 -0
- package/dist/src/commands/dev/stop-all.command.js.map +1 -0
- package/dist/src/commands/dev/sync-csp.command.d.ts +7 -0
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -0
- package/dist/src/commands/dev/sync-csp.command.js +61 -0
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -0
- package/dist/src/commands/frontend/publish.command.d.ts +16 -0
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -0
- package/dist/src/commands/frontend/publish.command.js +91 -0
- package/dist/src/commands/frontend/publish.command.js.map +1 -0
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +2 -0
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -0
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +79 -0
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +1 -0
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +2 -0
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -0
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +113 -0
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -0
- package/dist/src/commands/fwk/audit.command.d.ts +19 -0
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/audit.command.js +83 -0
- package/dist/src/commands/fwk/audit.command.js.map +1 -0
- package/dist/src/commands/fwk/dev-skills.command.d.ts +12 -0
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/dev-skills.command.js +56 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -0
- package/dist/src/commands/fwk/generate-docs.command.d.ts +7 -0
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-docs.command.js +38 -0
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -0
- package/dist/src/commands/fwk/graph.command.d.ts +18 -0
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/graph.command.js +56 -0
- package/dist/src/commands/fwk/graph.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts +7 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-all.command.js +51 -0
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-docker.command.d.ts +8 -0
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-docker.command.js +89 -0
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -0
- package/dist/src/commands/fwk/publish-npm.command.d.ts +8 -0
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/publish-npm.command.js +114 -0
- package/dist/src/commands/fwk/publish-npm.command.js.map +1 -0
- package/dist/src/commands/fwk/version-bump.command.d.ts +7 -0
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/version-bump.command.js +25 -0
- package/dist/src/commands/fwk/version-bump.command.js.map +1 -0
- package/dist/src/commands/fwk/version-set.command.d.ts +7 -0
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/version-set.command.js +24 -0
- package/dist/src/commands/fwk/version-set.command.js.map +1 -0
- package/dist/src/commands/fwk/version-show.command.d.ts +7 -0
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/version-show.command.js +22 -0
- package/dist/src/commands/fwk/version-show.command.js.map +1 -0
- package/dist/src/commands/fwk/version-sync.command.d.ts +7 -0
- package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/version-sync.command.js +18 -0
- package/dist/src/commands/fwk/version-sync.command.js.map +1 -0
- package/dist/src/commands/fwk/what-touches.command.d.ts +17 -0
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/what-touches.command.js +48 -0
- package/dist/src/commands/fwk/what-touches.command.js.map +1 -0
- package/dist/src/commands/fwk/wt-status.command.d.ts +22 -0
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/wt-status.command.js +60 -0
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -0
- package/dist/src/commands/fwk/wt-tail.command.d.ts +22 -0
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/wt-tail.command.js +64 -0
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +2 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +94 -0
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -0
- package/dist/src/commands/generate/email-command.utils.d.ts +72 -0
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -0
- package/dist/src/commands/generate/email-command.utils.js +91 -0
- package/dist/src/commands/generate/email-command.utils.js.map +1 -0
- package/dist/src/commands/generate/email-preview.command.d.ts +7 -0
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email-preview.command.js +62 -0
- package/dist/src/commands/generate/email-preview.command.js.map +1 -0
- package/dist/src/commands/generate/email-status.command.d.ts +7 -0
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email-status.command.js +42 -0
- package/dist/src/commands/generate/email-status.command.js.map +1 -0
- package/dist/src/commands/generate/email-test-send.command.d.ts +7 -0
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email-test-send.command.js +67 -0
- package/dist/src/commands/generate/email-test-send.command.js.map +1 -0
- package/dist/src/commands/generate/email-translate.command.d.ts +7 -0
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email-translate.command.js +59 -0
- package/dist/src/commands/generate/email-translate.command.js.map +1 -0
- package/dist/src/commands/generate/email.command.d.ts +10 -0
- package/dist/src/commands/generate/email.command.d.ts.map +1 -0
- package/dist/src/commands/generate/email.command.js +62 -0
- package/dist/src/commands/generate/email.command.js.map +1 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts +138 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -0
- package/dist/src/commands/generate/labelling-command.utils.js +422 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -0
- package/dist/src/commands/generate/labels-plan.command.d.ts +34 -0
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -0
- package/dist/src/commands/generate/labels-plan.command.js +103 -0
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -0
- package/dist/src/commands/generate/labels.command.d.ts +29 -0
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -0
- package/dist/src/commands/generate/labels.command.js +87 -0
- package/dist/src/commands/generate/labels.command.js.map +1 -0
- package/dist/src/commands/generate/translate.command.d.ts +31 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -0
- package/dist/src/commands/generate/translate.command.js +95 -0
- package/dist/src/commands/generate/translate.command.js.map +1 -0
- package/dist/src/commands/help.command.d.ts +7 -0
- package/dist/src/commands/help.command.d.ts.map +1 -0
- package/dist/src/commands/help.command.js +86 -0
- package/dist/src/commands/help.command.js.map +1 -0
- package/dist/src/commands/init.command.d.ts +113 -0
- package/dist/src/commands/init.command.d.ts.map +1 -0
- package/dist/src/commands/init.command.js +636 -0
- package/dist/src/commands/init.command.js.map +1 -0
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/dev-status.command.test.js +58 -0
- package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/dev.command.test.js +399 -0
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.js +260 -0
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/init.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/init.command.test.js +83 -0
- package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.js +177 -0
- package/dist/src/commands/local/__tests__/reinit.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/reset.command.test.js +266 -0
- package/dist/src/commands/local/__tests__/reset.command.test.js.map +1 -0
- package/dist/src/commands/local/__tests__/up.command.test.d.ts +2 -0
- package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -0
- package/dist/src/commands/local/__tests__/up.command.test.js +207 -0
- package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -0
- package/dist/src/commands/local/dev-status.command.d.ts +15 -0
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -0
- package/dist/src/commands/local/dev-status.command.js +84 -0
- package/dist/src/commands/local/dev-status.command.js.map +1 -0
- package/dist/src/commands/local/dev.command.d.ts +150 -0
- package/dist/src/commands/local/dev.command.d.ts.map +1 -0
- package/dist/src/commands/local/dev.command.js +813 -0
- package/dist/src/commands/local/dev.command.js.map +1 -0
- package/dist/src/commands/local/doctor.command.d.ts +177 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -0
- package/dist/src/commands/local/doctor.command.js +863 -0
- package/dist/src/commands/local/doctor.command.js.map +1 -0
- package/dist/src/commands/local/down.command.d.ts +9 -0
- package/dist/src/commands/local/down.command.d.ts.map +1 -0
- package/dist/src/commands/local/down.command.js +117 -0
- package/dist/src/commands/local/down.command.js.map +1 -0
- package/dist/src/commands/local/init.command.d.ts +15 -0
- package/dist/src/commands/local/init.command.d.ts.map +1 -0
- package/dist/src/commands/local/init.command.js +85 -0
- package/dist/src/commands/local/init.command.js.map +1 -0
- package/dist/src/commands/local/logs.command.d.ts +9 -0
- package/dist/src/commands/local/logs.command.d.ts.map +1 -0
- package/dist/src/commands/local/logs.command.js +61 -0
- package/dist/src/commands/local/logs.command.js.map +1 -0
- package/dist/src/commands/local/reinit.command.d.ts +35 -0
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -0
- package/dist/src/commands/local/reinit.command.js +135 -0
- package/dist/src/commands/local/reinit.command.js.map +1 -0
- package/dist/src/commands/local/reset.command.d.ts +42 -0
- package/dist/src/commands/local/reset.command.d.ts.map +1 -0
- package/dist/src/commands/local/reset.command.js +203 -0
- package/dist/src/commands/local/reset.command.js.map +1 -0
- package/dist/src/commands/local/status.command.d.ts +9 -0
- package/dist/src/commands/local/status.command.d.ts.map +1 -0
- package/dist/src/commands/local/status.command.js +79 -0
- package/dist/src/commands/local/status.command.js.map +1 -0
- package/dist/src/commands/local/up.command.d.ts +32 -0
- package/dist/src/commands/local/up.command.d.ts.map +1 -0
- package/dist/src/commands/local/up.command.js +355 -0
- package/dist/src/commands/local/up.command.js.map +1 -0
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts +11 -0
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -0
- package/dist/src/commands/lock/__tests__/check.command.test.js +140 -0
- package/dist/src/commands/lock/__tests__/check.command.test.js.map +1 -0
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +35 -0
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -0
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js +122 -0
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +1 -0
- package/dist/src/commands/lock/check.command.d.ts +92 -0
- package/dist/src/commands/lock/check.command.d.ts.map +1 -0
- package/dist/src/commands/lock/check.command.js +242 -0
- package/dist/src/commands/lock/check.command.js.map +1 -0
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts +2 -0
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -0
- package/dist/src/commands/market/__tests__/generate.command.test.js +207 -0
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -0
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +2 -0
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -0
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +146 -0
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -0
- package/dist/src/commands/market/generate.command.d.ts +56 -0
- package/dist/src/commands/market/generate.command.d.ts.map +1 -0
- package/dist/src/commands/market/generate.command.js +191 -0
- package/dist/src/commands/market/generate.command.js.map +1 -0
- package/dist/src/commands/market/market-command.utils.d.ts +70 -0
- package/dist/src/commands/market/market-command.utils.d.ts.map +1 -0
- package/dist/src/commands/market/market-command.utils.js +89 -0
- package/dist/src/commands/market/market-command.utils.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +37 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -0
- package/dist/src/commands/registry/add.command.js +251 -0
- package/dist/src/commands/registry/add.command.js.map +1 -0
- package/dist/src/commands/registry/info.command.d.ts +14 -0
- package/dist/src/commands/registry/info.command.d.ts.map +1 -0
- package/dist/src/commands/registry/info.command.js +83 -0
- package/dist/src/commands/registry/info.command.js.map +1 -0
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts +31 -0
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -0
- package/dist/src/commands/registry/lockfile-smoke.command.js +131 -0
- package/dist/src/commands/registry/lockfile-smoke.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts +28 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -0
- package/dist/src/commands/registry/login.command.js +117 -0
- package/dist/src/commands/registry/login.command.js.map +1 -0
- package/dist/src/commands/registry/logout.command.d.ts +15 -0
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -0
- package/dist/src/commands/registry/logout.command.js +47 -0
- package/dist/src/commands/registry/logout.command.js.map +1 -0
- package/dist/src/commands/registry/ping.command.d.ts +21 -0
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -0
- package/dist/src/commands/registry/ping.command.js +92 -0
- package/dist/src/commands/registry/ping.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts +37 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -0
- package/dist/src/commands/registry/publish.command.js +211 -0
- package/dist/src/commands/registry/publish.command.js.map +1 -0
- package/dist/src/commands/registry/remove.command.d.ts +25 -0
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -0
- package/dist/src/commands/registry/remove.command.js +122 -0
- package/dist/src/commands/registry/remove.command.js.map +1 -0
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +31 -0
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -0
- package/dist/src/commands/registry/repair-lockfile.command.js +174 -0
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -0
- package/dist/src/commands/registry/search.command.d.ts +15 -0
- package/dist/src/commands/registry/search.command.d.ts.map +1 -0
- package/dist/src/commands/registry/search.command.js +76 -0
- package/dist/src/commands/registry/search.command.js.map +1 -0
- package/dist/src/commands/registry/update.command.d.ts +32 -0
- package/dist/src/commands/registry/update.command.d.ts.map +1 -0
- package/dist/src/commands/registry/update.command.js +297 -0
- package/dist/src/commands/registry/update.command.js.map +1 -0
- package/dist/src/commands/registry/whoami.command.d.ts +16 -0
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -0
- package/dist/src/commands/registry/whoami.command.js +116 -0
- package/dist/src/commands/registry/whoami.command.js.map +1 -0
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +2 -0
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -0
- package/dist/src/commands/remote/__tests__/remote-commands.test.js +100 -0
- package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +1 -0
- package/dist/src/commands/remote/create.command.d.ts +7 -0
- package/dist/src/commands/remote/create.command.d.ts.map +1 -0
- package/dist/src/commands/remote/create.command.js +110 -0
- package/dist/src/commands/remote/create.command.js.map +1 -0
- package/dist/src/commands/remote/list.command.d.ts +7 -0
- package/dist/src/commands/remote/list.command.d.ts.map +1 -0
- package/dist/src/commands/remote/list.command.js +46 -0
- package/dist/src/commands/remote/list.command.js.map +1 -0
- package/dist/src/commands/remote/status.command.d.ts +7 -0
- package/dist/src/commands/remote/status.command.d.ts.map +1 -0
- package/dist/src/commands/remote/status.command.js +67 -0
- package/dist/src/commands/remote/status.command.js.map +1 -0
- package/dist/src/commands/remote/sync.command.d.ts +7 -0
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -0
- package/dist/src/commands/remote/sync.command.js +27 -0
- package/dist/src/commands/remote/sync.command.js.map +1 -0
- package/dist/src/commands/setup.command.d.ts +19 -0
- package/dist/src/commands/setup.command.d.ts.map +1 -0
- package/dist/src/commands/setup.command.js +95 -0
- package/dist/src/commands/setup.command.js.map +1 -0
- package/dist/src/commands/version.command.d.ts +7 -0
- package/dist/src/commands/version.command.d.ts.map +1 -0
- package/dist/src/commands/version.command.js +16 -0
- package/dist/src/commands/version.command.js.map +1 -0
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts +2 -0
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js +105 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -0
- package/dist/src/commands/website/audit.command.d.ts +12 -0
- package/dist/src/commands/website/audit.command.d.ts.map +1 -0
- package/dist/src/commands/website/audit.command.js +90 -0
- package/dist/src/commands/website/audit.command.js.map +1 -0
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +2 -0
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -0
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +59 -0
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +1 -0
- package/dist/src/commands/workbench/open.command.d.ts +7 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -0
- package/dist/src/commands/workbench/open.command.js +26 -0
- package/dist/src/commands/workbench/open.command.js.map +1 -0
- package/dist/src/commands/workbench/status.command.d.ts +7 -0
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -0
- package/dist/src/commands/workbench/status.command.js +47 -0
- package/dist/src/commands/workbench/status.command.js.map +1 -0
- package/dist/src/infrastructure/errors/error.utils.d.ts +30 -0
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -0
- package/dist/src/infrastructure/errors/error.utils.js +80 -0
- package/dist/src/infrastructure/errors/error.utils.js.map +1 -0
- package/dist/src/infrastructure/io/file.utils.d.ts +11 -0
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -0
- package/dist/src/infrastructure/io/file.utils.js +36 -0
- package/dist/src/infrastructure/io/file.utils.js.map +1 -0
- package/dist/src/infrastructure/io/io.schemas.d.ts +39 -0
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -0
- package/dist/src/infrastructure/io/io.schemas.js +45 -0
- package/dist/src/infrastructure/io/io.schemas.js.map +1 -0
- package/dist/src/infrastructure/io/template-processor.d.ts +31 -0
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -0
- package/dist/src/infrastructure/io/template-processor.js +160 -0
- package/dist/src/infrastructure/io/template-processor.js.map +1 -0
- package/dist/src/infrastructure/logger/logger.service.d.ts +62 -0
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -0
- package/dist/src/infrastructure/logger/logger.service.js +116 -0
- package/dist/src/infrastructure/logger/logger.service.js.map +1 -0
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +2 -0
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -0
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +138 -0
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +1 -0
- package/dist/src/infrastructure/process/spawn.utils.d.ts +60 -0
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -0
- package/dist/src/infrastructure/process/spawn.utils.js +222 -0
- package/dist/src/infrastructure/process/spawn.utils.js.map +1 -0
- package/dist/src/infrastructure/ui/formatting.service.d.ts +23 -0
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -0
- package/dist/src/infrastructure/ui/formatting.service.js +106 -0
- package/dist/src/infrastructure/ui/formatting.service.js.map +1 -0
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts +17 -0
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -0
- package/dist/src/infrastructure/ui/interaction-engine.service.js +87 -0
- package/dist/src/infrastructure/ui/interaction-engine.service.js.map +1 -0
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts +8 -0
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -0
- package/dist/src/infrastructure/ui/markdown-renderer.service.js +153 -0
- package/dist/src/infrastructure/ui/markdown-renderer.service.js.map +1 -0
- package/dist/src/infrastructure/ui/ui.schemas.d.ts +36 -0
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -0
- package/dist/src/infrastructure/ui/ui.schemas.js +12 -0
- package/dist/src/infrastructure/ui/ui.schemas.js.map +1 -0
- package/dist/src/infrastructure/utils/string.utils.d.ts +8 -0
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -0
- package/dist/src/infrastructure/utils/string.utils.js +10 -0
- package/dist/src/infrastructure/utils/string.utils.js.map +1 -0
- package/dist/src/infrastructure/validation/validator.service.d.ts +31 -0
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -0
- package/dist/src/infrastructure/validation/validator.service.js +52 -0
- package/dist/src/infrastructure/validation/validator.service.js.map +1 -0
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/bootstrap.test.js +88 -0
- package/dist/src/kernel/__tests__/bootstrap.test.js.map +1 -0
- package/dist/src/kernel/__tests__/command-registry.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/command-registry.test.js +188 -0
- package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -0
- package/dist/src/kernel/__tests__/command-runner.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/command-runner.test.js +285 -0
- package/dist/src/kernel/__tests__/command-runner.test.js.map +1 -0
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/command-scope-utils.test.js +46 -0
- package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +1 -0
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/flag-utils.test.js +38 -0
- package/dist/src/kernel/__tests__/flag-utils.test.js.map +1 -0
- package/dist/src/kernel/__tests__/hooks.test.d.ts +2 -0
- package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -0
- package/dist/src/kernel/__tests__/hooks.test.js +72 -0
- package/dist/src/kernel/__tests__/hooks.test.js.map +1 -0
- package/dist/src/kernel/base-command.d.ts +26 -0
- package/dist/src/kernel/base-command.d.ts.map +1 -0
- package/dist/src/kernel/base-command.js +79 -0
- package/dist/src/kernel/base-command.js.map +1 -0
- package/dist/src/kernel/bootstrap.d.ts +9 -0
- package/dist/src/kernel/bootstrap.d.ts.map +1 -0
- package/dist/src/kernel/bootstrap.js +109 -0
- package/dist/src/kernel/bootstrap.js.map +1 -0
- package/dist/src/kernel/command-registry.d.ts +44 -0
- package/dist/src/kernel/command-registry.d.ts.map +1 -0
- package/dist/src/kernel/command-registry.js +248 -0
- package/dist/src/kernel/command-registry.js.map +1 -0
- package/dist/src/kernel/command-runner.d.ts +26 -0
- package/dist/src/kernel/command-runner.d.ts.map +1 -0
- package/dist/src/kernel/command-runner.js +169 -0
- package/dist/src/kernel/command-runner.js.map +1 -0
- package/dist/src/kernel/command-scope-utils.d.ts +27 -0
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -0
- package/dist/src/kernel/command-scope-utils.js +40 -0
- package/dist/src/kernel/command-scope-utils.js.map +1 -0
- package/dist/src/kernel/flag-utils.d.ts +32 -0
- package/dist/src/kernel/flag-utils.d.ts.map +1 -0
- package/dist/src/kernel/flag-utils.js +43 -0
- package/dist/src/kernel/flag-utils.js.map +1 -0
- package/dist/src/kernel/hooks.d.ts +17 -0
- package/dist/src/kernel/hooks.d.ts.map +1 -0
- package/dist/src/kernel/hooks.js +51 -0
- package/dist/src/kernel/hooks.js.map +1 -0
- package/dist/src/kernel/logger.d.ts +3 -0
- package/dist/src/kernel/logger.d.ts.map +1 -0
- package/dist/src/kernel/logger.js +10 -0
- package/dist/src/kernel/logger.js.map +1 -0
- package/dist/src/kernel/types.d.ts +145 -0
- package/dist/src/kernel/types.d.ts.map +1 -0
- package/dist/src/kernel/types.js +66 -0
- package/dist/src/kernel/types.js.map +1 -0
- package/dist/src/main.d.ts +7 -0
- package/dist/src/main.d.ts.map +1 -0
- package/dist/src/main.js +12 -0
- package/dist/src/main.js.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +2 -0
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +88 -0
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +2 -0
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +96 -0
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -0
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts +53 -0
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/admin-user.module.js +130 -0
- package/dist/src/modules/domain/credentials/admin-user.module.js.map +1 -0
- package/dist/src/modules/domain/credentials/module.types.d.ts +2 -0
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/module.types.js +1 -0
- package/dist/src/modules/domain/credentials/module.types.js.map +1 -0
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +31 -0
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/providers-config.module.js +146 -0
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -0
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +2 -0
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +89 -0
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +1 -0
- package/dist/src/modules/domain/environment/database-config.module.d.ts +10 -0
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/database-config.module.js +131 -0
- package/dist/src/modules/domain/environment/database-config.module.js.map +1 -0
- package/dist/src/modules/domain/environment/module.types.d.ts +14 -0
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/module.types.js +1 -0
- package/dist/src/modules/domain/environment/module.types.js.map +1 -0
- package/dist/src/modules/domain/environment/paths-config.module.d.ts +15 -0
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/paths-config.module.js +90 -0
- package/dist/src/modules/domain/environment/paths-config.module.js.map +1 -0
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts +7 -0
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/runtime-selector.module.js +30 -0
- package/dist/src/modules/domain/environment/runtime-selector.module.js.map +1 -0
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts +8 -0
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -0
- package/dist/src/modules/domain/environment/runtime-semantics.module.js +35 -0
- package/dist/src/modules/domain/environment/runtime-semantics.module.js.map +1 -0
- package/dist/src/modules/domain/module.types.d.ts +10 -0
- package/dist/src/modules/domain/module.types.d.ts.map +1 -0
- package/dist/src/modules/domain/module.types.js +1 -0
- package/dist/src/modules/domain/module.types.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +129 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +220 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +112 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +873 -0
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +237 -0
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -0
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +244 -0
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +81 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +211 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +159 -0
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +137 -0
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +41 -0
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -0
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +65 -0
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +1 -0
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +46 -0
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +10 -0
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +142 -0
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +292 -0
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +348 -0
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +98 -0
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +94 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +771 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +19 -0
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +173 -0
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -0
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +29 -0
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +378 -0
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +438 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.js +1512 -0
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -0
- package/dist/src/services/application/app-env.service.d.ts +18 -0
- package/dist/src/services/application/app-env.service.d.ts.map +1 -0
- package/dist/src/services/application/app-env.service.js +55 -0
- package/dist/src/services/application/app-env.service.js.map +1 -0
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts +34 -0
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -0
- package/dist/src/services/application/app-local-runtime-addresses.service.js +110 -0
- package/dist/src/services/application/app-local-runtime-addresses.service.js.map +1 -0
- package/dist/src/services/application/app-runtime-targets.service.d.ts +74 -0
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -0
- package/dist/src/services/application/app-runtime-targets.service.js +134 -0
- package/dist/src/services/application/app-runtime-targets.service.js.map +1 -0
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts +81 -0
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/application/app-schema-bootstrap.service.js +139 -0
- package/dist/src/services/application/app-schema-bootstrap.service.js.map +1 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts +75 -0
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -0
- package/dist/src/services/application/application-assets-delivery.service.js +152 -0
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -0
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +142 -0
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -0
- package/dist/src/services/application/application-dependency-alignment.service.js +388 -0
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -0
- package/dist/src/services/application/application-dev-port-offsets.d.ts +35 -0
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -0
- package/dist/src/services/application/application-dev-port-offsets.js +35 -0
- package/dist/src/services/application/application-dev-port-offsets.js.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts +51 -0
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -0
- package/dist/src/services/application/application-initialization-verification.service.js +124 -0
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -0
- package/dist/src/services/application/application-root.utils.d.ts +9 -0
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -0
- package/dist/src/services/application/application-root.utils.js +21 -0
- package/dist/src/services/application/application-root.utils.js.map +1 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +39 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js +99 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -0
- package/dist/src/services/application/dev-orchestrator.service.d.ts +31 -0
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -0
- package/dist/src/services/application/dev-orchestrator.service.js +182 -0
- package/dist/src/services/application/dev-orchestrator.service.js.map +1 -0
- package/dist/src/services/application/dev-schema-drift.service.d.ts +75 -0
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -0
- package/dist/src/services/application/dev-schema-drift.service.js +210 -0
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -0
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts +18 -0
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/application/existing-app-bootstrap.service.js +221 -0
- package/dist/src/services/application/existing-app-bootstrap.service.js.map +1 -0
- package/dist/src/services/application/local-app-reinit.service.d.ts +41 -0
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -0
- package/dist/src/services/application/local-app-reinit.service.js +118 -0
- package/dist/src/services/application/local-app-reinit.service.js.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts +36 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.js +96 -0
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +63 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.js +609 -0
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -0
- package/dist/src/services/application/saas-scaffold.service.d.ts +14 -0
- package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -0
- package/dist/src/services/application/saas-scaffold.service.js +86 -0
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts +69 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -0
- package/dist/src/services/application/saas-skeleton.service.js +774 -0
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +23 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +190 -0
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +1 -0
- package/dist/src/services/brand/brand-asset-projection.d.ts +39 -0
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -0
- package/dist/src/services/brand/brand-asset-projection.js +68 -0
- package/dist/src/services/brand/brand-asset-projection.js.map +1 -0
- package/dist/src/services/brand/brand-destination-utils.d.ts +137 -0
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -0
- package/dist/src/services/brand/brand-destination-utils.js +227 -0
- package/dist/src/services/brand/brand-destination-utils.js.map +1 -0
- package/dist/src/services/brand/brand-propagation.types.d.ts +101 -0
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -0
- package/dist/src/services/brand/brand-propagation.types.js +22 -0
- package/dist/src/services/brand/brand-propagation.types.js.map +1 -0
- package/dist/src/services/brand/brand-ssot-reader.d.ts +52 -0
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -0
- package/dist/src/services/brand/brand-ssot-reader.js +146 -0
- package/dist/src/services/brand/brand-ssot-reader.js.map +1 -0
- package/dist/src/services/brand/destinations/app-public.destination.d.ts +30 -0
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/app-public.destination.js +79 -0
- package/dist/src/services/brand/destinations/app-public.destination.js.map +1 -0
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +61 -0
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +149 -0
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +1 -0
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +22 -0
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +84 -0
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +1 -0
- package/dist/src/services/brand/destinations/website-og.destination.d.ts +34 -0
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/website-og.destination.js +80 -0
- package/dist/src/services/brand/destinations/website-og.destination.js.map +1 -0
- package/dist/src/services/brand/destinations/website-public.destination.d.ts +40 -0
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -0
- package/dist/src/services/brand/destinations/website-public.destination.js +122 -0
- package/dist/src/services/brand/destinations/website-public.destination.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +2 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +142 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +2 -0
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -0
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +94 -0
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +91 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -0
- package/dist/src/services/catalog/service-address-resolver.service.js +255 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +165 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -0
- package/dist/src/services/catalog/service-catalog.schemas.js +273 -0
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +105 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +418 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +10 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +95 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +74 -0
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +14 -0
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +50 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -0
- package/dist/src/services/companion/companion-client-options.utils.d.ts +17 -0
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-client-options.utils.js +31 -0
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -0
- package/dist/src/services/companion/companion-client.service.d.ts +16 -0
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -0
- package/dist/src/services/companion/companion-client.service.js +149 -0
- package/dist/src/services/companion/companion-client.service.js.map +1 -0
- package/dist/src/services/companion/companion-lifecycle.service.d.ts +18 -0
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -0
- package/dist/src/services/companion/companion-lifecycle.service.js +96 -0
- package/dist/src/services/companion/companion-lifecycle.service.js.map +1 -0
- package/dist/src/services/companion/companion.schemas.d.ts +36 -0
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -0
- package/dist/src/services/companion/companion.schemas.js +25 -0
- package/dist/src/services/companion/companion.schemas.js.map +1 -0
- package/dist/src/services/companion/git-helper.service.d.ts +29 -0
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -0
- package/dist/src/services/companion/git-helper.service.js +59 -0
- package/dist/src/services/companion/git-helper.service.js.map +1 -0
- package/dist/src/services/companion/local-companion-authority.service.d.ts +24 -0
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -0
- package/dist/src/services/companion/local-companion-authority.service.js +79 -0
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -0
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts +9 -0
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -0
- package/dist/src/services/companion/workbench-browser-launcher.service.js +34 -0
- package/dist/src/services/companion/workbench-browser-launcher.service.js.map +1 -0
- package/dist/src/services/companion/workbench-cli.service.d.ts +41 -0
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -0
- package/dist/src/services/companion/workbench-cli.service.js +74 -0
- package/dist/src/services/companion/workbench-cli.service.js.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +2 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +49 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +2 -0
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -0
- package/dist/src/services/context/__tests__/context-manager.service.test.js +119 -0
- package/dist/src/services/context/__tests__/context-manager.service.test.js.map +1 -0
- package/dist/src/services/context/context-manager.service.d.ts +66 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -0
- package/dist/src/services/context/context-manager.service.js +161 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -0
- package/dist/src/services/context/context.schemas.d.ts +31 -0
- package/dist/src/services/context/context.schemas.d.ts.map +1 -0
- package/dist/src/services/context/context.schemas.js +1 -0
- package/dist/src/services/context/context.schemas.js.map +1 -0
- package/dist/src/services/context/state-manager.service.d.ts +49 -0
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -0
- package/dist/src/services/context/state-manager.service.js +94 -0
- package/dist/src/services/context/state-manager.service.js.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +14 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +258 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +277 -0
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +31 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +124 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts +498 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.js +454 -0
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -0
- package/dist/src/services/credentials/credentials.service.d.ts +23 -0
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -0
- package/dist/src/services/credentials/credentials.service.js +118 -0
- package/dist/src/services/credentials/credentials.service.js.map +1 -0
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +169 -0
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -0
- package/dist/src/services/credentials/framework-managed-secrets.js +406 -0
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +142 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.js +420 -0
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -0
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts +109 -0
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secrets-provisioning.service.js +104 -0
- package/dist/src/services/credentials/secrets-provisioning.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts +64 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.js +222 -0
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts +21 -0
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secrets-rotation.service.js +30 -0
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-writer.service.d.ts +29 -0
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secrets-writer.service.js +63 -0
- package/dist/src/services/credentials/secrets-writer.service.js.map +1 -0
- package/dist/src/services/data-services/data-services.schemas.d.ts +229 -0
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -0
- package/dist/src/services/data-services/data-services.schemas.js +239 -0
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -0
- package/dist/src/services/data-services/data-services.service.d.ts +14 -0
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -0
- package/dist/src/services/data-services/data-services.service.js +24 -0
- package/dist/src/services/data-services/data-services.service.js.map +1 -0
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +64 -0
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +147 -0
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +39 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +286 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +20 -0
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +316 -0
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +211 -0
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +97 -0
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +258 -0
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +223 -0
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +100 -0
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +11 -0
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +451 -0
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +189 -0
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +150 -0
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +245 -0
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +27 -0
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +1 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts +7 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js +51 -0
- package/dist/src/services/deployment/apps-manager-diagnostics.service.js.map +1 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts +54 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.js +319 -0
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +109 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.js +160 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +45 -0
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +81 -0
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +814 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +2 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +77 -0
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +225 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +696 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +89 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +198 -0
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -0
- package/dist/src/services/deployment/docker/docker.schemas.d.ts +17 -0
- package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/docker.schemas.js +4 -0
- package/dist/src/services/deployment/docker/docker.schemas.js.map +1 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts +23 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -0
- package/dist/src/services/deployment/docker/docker.service.js +94 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +209 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.js +283 -0
- package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -0
- package/dist/src/services/deployment/infra-writer.service.d.ts +16 -0
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -0
- package/dist/src/services/deployment/infra-writer.service.js +71 -0
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +235 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +968 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +39 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +175 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +47 -0
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +22 -0
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts +30 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +659 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts +47 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js +135 -0
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +283 -0
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +874 -0
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +164 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +74 -0
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts +152 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.js +430 -0
- package/dist/src/services/deployment/k8s/k8s-operations.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +23 -0
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +351 -0
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts +36 -0
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/k8s.schemas.js +39 -0
- package/dist/src/services/deployment/k8s/k8s.schemas.js.map +1 -0
- package/dist/src/services/deployment/k8s/kind.service.d.ts +64 -0
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/kind.service.js +448 -0
- package/dist/src/services/deployment/k8s/kind.service.js.map +1 -0
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts +11 -0
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js +29 -0
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts +35 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js +80 -0
- package/dist/src/services/deployment/local-dev-observer-lifecycle.js.map +1 -0
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts +120 -0
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-output-boundary.js +450 -0
- package/dist/src/services/deployment/local-dev-output-boundary.js.map +1 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts +63 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.js +240 -0
- package/dist/src/services/deployment/local-dev-session-lease.service.js.map +1 -0
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts +56 -0
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -0
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js +62 -0
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.js.map +1 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts +16 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js +72 -0
- package/dist/src/services/deployment/local-infrastructure-initialization.service.js.map +1 -0
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts +41 -0
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -0
- package/dist/src/services/deployment/local-precondition-checks.schemas.js +32 -0
- package/dist/src/services/deployment/local-precondition-checks.schemas.js.map +1 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +394 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js +785 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -0
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +83 -0
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -0
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +298 -0
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -0
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts +105 -0
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -0
- package/dist/src/services/deployment/platform-lifecycle.service.js +509 -0
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -0
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts +18 -0
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -0
- package/dist/src/services/deployment/platform-runtime-policy.service.js +33 -0
- package/dist/src/services/deployment/platform-runtime-policy.service.js.map +1 -0
- package/dist/src/services/deployment/version-compare.utils.d.ts +38 -0
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -0
- package/dist/src/services/deployment/version-compare.utils.js +59 -0
- package/dist/src/services/deployment/version-compare.utils.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts +5 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.js +277 -0
- package/dist/src/services/design-tokens/design-tokens-command.service.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts +5 -0
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-config.service.js +45 -0
- package/dist/src/services/design-tokens/design-tokens-config.service.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts +2 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.js +12 -0
- package/dist/src/services/design-tokens/design-tokens-config.template.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts +7 -0
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-css-block.service.js +24 -0
- package/dist/src/services/design-tokens/design-tokens-css-block.service.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts +23 -0
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens-paths.service.js +49 -0
- package/dist/src/services/design-tokens/design-tokens-paths.service.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts +7 -0
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens.constants.js +16 -0
- package/dist/src/services/design-tokens/design-tokens.constants.js.map +1 -0
- package/dist/src/services/design-tokens/design-tokens.models.d.ts +7 -0
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -0
- package/dist/src/services/design-tokens/design-tokens.models.js +1 -0
- package/dist/src/services/design-tokens/design-tokens.models.js.map +1 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js +93 -0
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +105 -0
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +555 -0
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/env-sync.service.test.js +122 -0
- package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +1547 -0
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +22 -0
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +100 -0
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +82 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +116 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js +18 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js +175 -0
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +164 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +96 -0
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js +30 -0
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +48 -0
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +96 -0
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +121 -0
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +1 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts +69 -0
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -0
- package/dist/src/services/environment/authored-infra-config.utils.js +174 -0
- package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +340 -0
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -0
- package/dist/src/services/environment/env-configuration-generator.service.js +560 -0
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -0
- package/dist/src/services/environment/env-sync.service.d.ts +36 -0
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -0
- package/dist/src/services/environment/env-sync.service.js +166 -0
- package/dist/src/services/environment/env-sync.service.js.map +1 -0
- package/dist/src/services/environment/env-vars-builder.service.d.ts +301 -0
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -0
- package/dist/src/services/environment/env-vars-builder.service.js +1493 -0
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -0
- package/dist/src/services/environment/environment-hydration.utils.d.ts +92 -0
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -0
- package/dist/src/services/environment/environment-hydration.utils.js +178 -0
- package/dist/src/services/environment/environment-hydration.utils.js.map +1 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +103 -0
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment-lifecycle.service.js +264 -0
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -0
- package/dist/src/services/environment/environment-paths.service.d.ts +235 -0
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment-paths.service.js +472 -0
- package/dist/src/services/environment/environment-paths.service.js.map +1 -0
- package/dist/src/services/environment/environment-registry.service.d.ts +111 -0
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment-registry.service.js +391 -0
- package/dist/src/services/environment/environment-registry.service.js.map +1 -0
- package/dist/src/services/environment/environment-setup.service.d.ts +28 -0
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment-setup.service.js +304 -0
- package/dist/src/services/environment/environment-setup.service.js.map +1 -0
- package/dist/src/services/environment/environment.schemas.d.ts +211 -0
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -0
- package/dist/src/services/environment/environment.schemas.js +56 -0
- package/dist/src/services/environment/environment.schemas.js.map +1 -0
- package/dist/src/services/environment/environment.service.d.ts +74 -0
- package/dist/src/services/environment/environment.service.d.ts.map +1 -0
- package/dist/src/services/environment/environment.service.js +65 -0
- package/dist/src/services/environment/environment.service.js.map +1 -0
- package/dist/src/services/environment/platform-engine-change.utils.d.ts +87 -0
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -0
- package/dist/src/services/environment/platform-engine-change.utils.js +121 -0
- package/dist/src/services/environment/platform-engine-change.utils.js.map +1 -0
- package/dist/src/services/environment/platform-runtime-state.service.d.ts +14 -0
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -0
- package/dist/src/services/environment/platform-runtime-state.service.js +68 -0
- package/dist/src/services/environment/platform-runtime-state.service.js.map +1 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +74 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -0
- package/dist/src/services/environment/platform-runtime.schemas.js +85 -0
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -0
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts +285 -0
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -0
- package/dist/src/services/environment/runtime-bootstrap.service.js +436 -0
- package/dist/src/services/environment/runtime-bootstrap.service.js.map +1 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +14 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +65 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +41 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +38 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +181 -0
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +328 -0
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +84 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +232 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +1316 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +1224 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +504 -0
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +456 -0
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-release.service.test.js +75 -0
- package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +64 -0
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/framework-version.service.test.js +105 -0
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +60 -0
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +67 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js +536 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -0
- package/dist/src/services/framework/framework-docker-publish.service.d.ts +82 -0
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-docker-publish.service.js +234 -0
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -0
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts +42 -0
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -0
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js +214 -0
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.js.map +1 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +547 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.js +2138 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +181 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.js +1794 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +11 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +74 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -0
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +82 -0
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-npm-publish.service.js +365 -0
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +111 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-publish-manifest.service.js +520 -0
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -0
- package/dist/src/services/framework/framework-release.service.d.ts +40 -0
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-release.service.js +104 -0
- package/dist/src/services/framework/framework-release.service.js.map +1 -0
- package/dist/src/services/framework/framework-version.service.d.ts +39 -0
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -0
- package/dist/src/services/framework/framework-version.service.js +200 -0
- package/dist/src/services/framework/framework-version.service.js.map +1 -0
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +61 -0
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -0
- package/dist/src/services/framework/installed-framework-assets.service.js +87 -0
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +2 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +69 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +1 -0
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +2 -0
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -0
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +52 -0
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +1 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +2 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +129 -0
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +1 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts +49 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.js +84 -0
- package/dist/src/services/frontend/cloudflare-cdn.service.js.map +1 -0
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts +62 -0
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-dist-uploader.service.js +149 -0
- package/dist/src/services/frontend/frontend-dist-uploader.service.js.map +1 -0
- package/dist/src/services/frontend/frontend-publish.service.d.ts +70 -0
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -0
- package/dist/src/services/frontend/frontend-publish.service.js +211 -0
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -0
- package/dist/src/services/generation/domain-generator.service.d.ts +11 -0
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -0
- package/dist/src/services/generation/domain-generator.service.js +35 -0
- package/dist/src/services/generation/domain-generator.service.js.map +1 -0
- package/dist/src/services/generation/generator.schemas.d.ts +27 -0
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -0
- package/dist/src/services/generation/generator.schemas.js +4 -0
- package/dist/src/services/generation/generator.schemas.js.map +1 -0
- package/dist/src/services/generation/operation-generator.service.d.ts +11 -0
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -0
- package/dist/src/services/generation/operation-generator.service.js +42 -0
- package/dist/src/services/generation/operation-generator.service.js.map +1 -0
- package/dist/src/services/generation/resource-generator.service.d.ts +11 -0
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -0
- package/dist/src/services/generation/resource-generator.service.js +41 -0
- package/dist/src/services/generation/resource-generator.service.js.map +1 -0
- package/dist/src/services/generation/template-registry.service.d.ts +13 -0
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -0
- package/dist/src/services/generation/template-registry.service.js +25 -0
- package/dist/src/services/generation/template-registry.service.js.map +1 -0
- package/dist/src/services/registry/artifact-extractor.utils.d.ts +49 -0
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -0
- package/dist/src/services/registry/artifact-extractor.utils.js +146 -0
- package/dist/src/services/registry/artifact-extractor.utils.js.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts +95 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.js +178 -0
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -0
- package/dist/src/services/registry/index.d.ts +7 -0
- package/dist/src/services/registry/index.d.ts.map +1 -0
- package/dist/src/services/registry/index.js +7 -0
- package/dist/src/services/registry/index.js.map +1 -0
- package/dist/src/services/registry/registry-command.utils.d.ts +90 -0
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -0
- package/dist/src/services/registry/registry-command.utils.js +164 -0
- package/dist/src/services/registry/registry-command.utils.js.map +1 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +50 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -0
- package/dist/src/services/registry/registry-config-resolver.service.js +88 -0
- package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -0
- package/dist/src/services/registry/registry-credentials.service.d.ts +64 -0
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -0
- package/dist/src/services/registry/registry-credentials.service.js +171 -0
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -0
- package/dist/src/services/registry/saas-root-required.error.d.ts +22 -0
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -0
- package/dist/src/services/registry/saas-root-required.error.js +26 -0
- package/dist/src/services/registry/saas-root-required.error.js.map +1 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +2 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.js +99 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.js.map +1 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +2 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +158 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -0
- package/dist/src/services/security/csp-sync.service.d.ts +65 -0
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -0
- package/dist/src/services/security/csp-sync.service.js +294 -0
- package/dist/src/services/security/csp-sync.service.js.map +1 -0
- package/dist/src/services/tools/utility-tools.service.d.ts +47 -0
- package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -0
- package/dist/src/services/tools/utility-tools.service.js +332 -0
- package/dist/src/services/tools/utility-tools.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +15 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.js +125 -0
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -0
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts +4 -0
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -0
- package/dist/src/test-utils/resolved-homes.test.utils.js +18 -0
- package/dist/src/test-utils/resolved-homes.test.utils.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/framework-root-package.json +270 -0
- package/package.json +431 -0
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +773 -0
- package/templates/config/app-backend-env.example.hbs +47 -0
- package/templates/infra/ci/README.md +36 -0
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +103 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +114 -0
- package/templates/infra/ci/wildo-config-validation.yml.hbs +40 -0
- package/templates/infra/docker-compose/.env.example +24 -0
- package/templates/infra/docker-compose/docker-compose.app.yml.hbs +174 -0
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +1198 -0
- package/templates/infra/docker-images/application/.dockerignore +83 -0
- package/templates/infra/docker-images/backend/Dockerfile.backend-base +43 -0
- package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +31 -0
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +178 -0
- package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +46 -0
- package/templates/infra/docker-images/platform/entrypoint.sh +191 -0
- package/templates/infra/docker-images/platform/verify-peers.mjs +67 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +164 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.immudb-audit-state.pvc.yaml.hbs +43 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +31 -0
- package/templates/infra/k8s/applications/wildo-ai-application/frontend.deployment.yaml.hbs +117 -0
- package/templates/infra/k8s/applications/wildo-ai-application/frontend.service.yaml.hbs +27 -0
- package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +59 -0
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +158 -0
- package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +145 -0
- package/templates/infra/k8s/applications/wildo-ai-application/worker.service.yaml.hbs +29 -0
- package/templates/infra/k8s/ingress/cert-manager/cluster-issuer.yaml.hbs +44 -0
- package/templates/infra/k8s/ingress/cert-manager/local/selfsigned-issuer.yaml +48 -0
- package/templates/infra/k8s/ingress/cert-manager/local/wildcard-certificate.yaml +24 -0
- package/templates/infra/k8s/ingress/cert-manager/wildcard-certificate.yaml.hbs +41 -0
- package/templates/infra/k8s/ingress/providers/scaleway-annotations.yaml.hbs +39 -0
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +57 -0
- package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +79 -0
- package/templates/infra/k8s/internal/clamav/deployment.yaml.hbs +96 -0
- package/templates/infra/k8s/internal/clamav/service.yaml.hbs +22 -0
- package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +46 -0
- package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +19 -0
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +153 -0
- package/templates/infra/k8s/internal/immudb/service.yaml.hbs +21 -0
- package/templates/infra/k8s/internal/minio/deployment.yaml.hbs +97 -0
- package/templates/infra/k8s/internal/minio/service.yaml.hbs +23 -0
- package/templates/infra/k8s/internal/mongodb/deployment.yaml.hbs +273 -0
- package/templates/infra/k8s/internal/mongodb/service.yaml.hbs +24 -0
- package/templates/infra/k8s/internal/mongot/configmap.yaml.hbs +53 -0
- package/templates/infra/k8s/internal/mongot/deployment.yaml.hbs +123 -0
- package/templates/infra/k8s/internal/mongot/service.yaml.hbs +33 -0
- package/templates/infra/k8s/internal/postgresql/configmap.yaml.hbs +46 -0
- package/templates/infra/k8s/internal/postgresql/deployment.yaml.hbs +131 -0
- package/templates/infra/k8s/internal/postgresql/service.yaml.hbs +19 -0
- package/templates/infra/k8s/internal/rabbitmq/deployment.yaml.hbs +105 -0
- package/templates/infra/k8s/internal/rabbitmq/service.yaml.hbs +23 -0
- package/templates/infra/k8s/internal/valkey/configmap.yaml.hbs +23 -0
- package/templates/infra/k8s/internal/valkey/deployment.yaml.hbs +129 -0
- package/templates/infra/k8s/internal/valkey/service.yaml.hbs +19 -0
- package/templates/infra/k8s/middleware.yaml.hbs +101 -0
- package/templates/infra/k8s/namespace.yaml.hbs +7 -0
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +172 -0
- package/templates/infra/k8s/platform/platform-apps-manager/service.yaml +19 -0
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +161 -0
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/service.yaml +19 -0
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +161 -0
- package/templates/infra/k8s/platform/platform-module-registry/service.yaml +19 -0
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +221 -0
- package/templates/infra/k8s/storage/local/storage-class.yaml +74 -0
- package/templates/infra/k8s/tls-config.yaml.hbs +41 -0
- package/templates/infra/yara-rules/archives.yar +99 -0
- package/templates/infra/yara-rules/executables.yar +88 -0
- package/templates/infra/yara-rules/office_macros.yar +79 -0
- package/templates/infra/yara-rules/scripts.yar +103 -0
- package/templates/infra/yara-rules/webshells.yar +111 -0
- package/templates/infra/yara-service/Dockerfile +30 -0
- package/templates/infra/yara-service/api.py +236 -0
- package/templates/infra/yara-service/requirements.txt +3 -0
- package/templates/infra/yara-service/rules/archives.yar +99 -0
- package/templates/infra/yara-service/rules/executables.yar +88 -0
- package/templates/infra/yara-service/rules/office_macros.yar +79 -0
- package/templates/infra/yara-service/rules/scripts.yar +103 -0
- package/templates/infra/yara-service/rules/webshells.yar +111 -0
- package/templates/saas/engine-peer-closure.json +569 -0
- package/templates/saas/i18n/email/components/AlertBox.tsx +53 -0
- package/templates/saas/i18n/email/components/BodyText.tsx +25 -0
- package/templates/saas/i18n/email/components/Card.tsx +23 -0
- package/templates/saas/i18n/email/components/Divider.tsx +19 -0
- package/templates/saas/i18n/email/components/EmailFooter.tsx +47 -0
- package/templates/saas/i18n/email/components/EmailHeader.tsx +37 -0
- package/templates/saas/i18n/email/components/EmailLayout.tsx +52 -0
- package/templates/saas/i18n/email/components/HeadingText.tsx +27 -0
- package/templates/saas/i18n/email/components/InfoRow.tsx +43 -0
- package/templates/saas/i18n/email/components/OtpCodeDisplay.tsx +35 -0
- package/templates/saas/i18n/email/components/PrimaryButton.tsx +30 -0
- package/templates/saas/i18n/email/components/SecondaryButton.tsx +31 -0
- package/templates/saas/i18n/email/components/index.ts +35 -0
- package/templates/saas/i18n/email/email-template-definitions.ts +46 -0
- package/templates/saas/i18n/email/index.ts +2 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +60 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +80 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +80 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +80 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +30 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +84 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +73 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/labels.en.ts +19 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +63 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/labels.en.ts +17 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +43 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +77 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.en.ts +15 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +58 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +51 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +61 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.en.ts +15 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +54 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +52 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.en.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +48 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.en.ts +11 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +39 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.en.ts +11 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +37 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +39 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +102 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +46 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.en.ts +12 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +46 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +56 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/system/email-otp/labels.en.ts +10 -0
- package/templates/saas/i18n/email/system/email-otp/template.tsx +44 -0
- package/templates/saas/i18n/email/system/email-verification/labels.en.ts +11 -0
- package/templates/saas/i18n/email/system/email-verification/template.tsx +39 -0
- package/templates/saas/i18n/email/system/magic-link/labels.en.ts +10 -0
- package/templates/saas/i18n/email/system/magic-link/template.tsx +44 -0
- package/templates/saas/i18n/email/system/new-device-login/labels.en.ts +18 -0
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +62 -0
- package/templates/saas/i18n/email/system/organization-invitation/labels.en.ts +15 -0
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +65 -0
- package/templates/saas/i18n/email/system/organization-member-removed/labels.en.ts +14 -0
- package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +54 -0
- package/templates/saas/i18n/email/system/password-reset/labels.en.ts +10 -0
- package/templates/saas/i18n/email/system/password-reset/template.tsx +42 -0
- package/templates/saas/i18n/email/system/payment-failed/labels.en.ts +16 -0
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +59 -0
- package/templates/saas/i18n/email/system/security-alert/labels.en.ts +16 -0
- package/templates/saas/i18n/email/system/security-alert/template.tsx +71 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.en.ts +15 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +56 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.en.ts +14 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +59 -0
- package/templates/saas/i18n/email/system/welcome-email/labels.en.ts +15 -0
- package/templates/saas/i18n/email/system/welcome-email/template.tsx +42 -0
- package/templates/saas/scenarios/add-backend-provider/scenario.json +17 -0
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +36 -0
- package/templates/saas/scenarios/add-custom-operation/scenario.json +61 -0
- package/templates/saas/scenarios/add-environment/files/infrastructure/__envName__/wildo.infra.remote.config.ts.hbs +73 -0
- package/templates/saas/scenarios/add-environment/scenario.json +53 -0
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +27 -0
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +27 -0
- package/templates/saas/scenarios/add-locale/files/website/src/i18n/__localePath__.json.hbs +18 -0
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +52 -0
- package/templates/saas/scenarios/add-locale/scenario.json +19 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +52 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.bridge.tsx.hbs +22 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +49 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +59 -0
- package/templates/saas/scenarios/add-marketing-page/scenario.json +38 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/Dockerfile.hbs +20 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/package.json.hbs +42 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/application-initialization.ts.hbs +81 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/companion-exports.ts.hbs +15 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +135 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/minion-init.ts.hbs +39 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/tsconfig.build.json +12 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/tsconfig.json +16 -0
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/wildo.minion.config.ts.hbs +33 -0
- package/templates/saas/scenarios/add-minion/scenario.json +27 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/container.ts.hbs +9 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/container.types.ts.hbs +2 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/controllers/index.ts.hbs +12 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/addons/services/index.ts.hbs +8 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/index.ts.hbs +17 -0
- package/templates/saas/scenarios/add-module/files/backend-api/src/modules/__moduleId__/resources/index.ts +9 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-level-views/index.ts.hbs +11 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-level-views/view-refs.frontend.ts.hbs +6 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/app-shell.module.frontend.ts.hbs +33 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/index.ts.hbs +14 -0
- package/templates/saas/scenarios/add-module/files/frontend/src/modules/__moduleId__/resources/index.ts.hbs +11 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/index.ts.hbs +16 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.relationships.ts.hbs +27 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.resource-configs.ts.hbs +17 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/__moduleId__.resources-types.ts.hbs +10 -0
- package/templates/saas/scenarios/add-module/files/shared-lib/src/modules/__moduleId__/resources/index.ts.hbs +7 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/chart-view-specifications.ts.hbs +12 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/composite-views/index.ts.hbs +4 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/execution-view-specifications.ts.hbs +11 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/index.ts.hbs +31 -0
- package/templates/saas/scenarios/add-module/files/specifications/src/modules/__moduleId__/resources/index.ts.hbs +10 -0
- package/templates/saas/scenarios/add-module/scenario.json +69 -0
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.resources-config.ts.hbs +86 -0
- package/templates/saas/scenarios/add-resource/files/shared-lib/src/modules/__moduleId__/resources/__resourceDir__/__resourceDir__.schemas.ts.hbs +26 -0
- package/templates/saas/scenarios/add-resource/files/specifications/src/modules/__moduleId__/resources/__resourceDir__.resource.specification.ts.hbs +126 -0
- package/templates/saas/scenarios/add-resource/scenario.json +149 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +288 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/README.md +195 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/basic.conf +20 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/directive-only/cross-domain-insecure.conf +12 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/cross-domain-fonts.conf.hbs +40 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/location/protect-system-files.conf +20 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/mime.types +108 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/nginx.conf +91 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/nginx-config/sites-enabled/default.hbs +112 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +56 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/verify-api-reference-conservation.ts +110 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +54 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/companion-exports.ts +16 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +72 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +89 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/css/custom.css +951 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated/csp.generated.json.hbs +13 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/generated-consumer-documentation.ts +41 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +5 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +5 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/index.tsx +12 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +83 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +10 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +38 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +11 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/tsconfig.json +27 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +87 -0
- package/templates/saas/scenarios/add-technical-doc/scenario.json +27 -0
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +103 -0
- package/templates/saas/scenarios/add-website/files/website/nginx-config/default.conf.hbs +15 -0
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +32 -0
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +25 -0
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +21 -0
- package/templates/saas/scenarios/add-website/files/website/src/companion-exports.ts +7 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/FooterComponent.tsx.hbs +63 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +119 -0
- package/templates/saas/scenarios/add-website/files/website/src/components/index.ts +20 -0
- package/templates/saas/scenarios/add-website/files/website/src/csp.config.ts +40 -0
- package/templates/saas/scenarios/add-website/files/website/src/env.d.ts +1 -0
- package/templates/saas/scenarios/add-website/files/website/src/generated/csp.generated.json.hbs +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/head-assets.ts +22 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +18 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +52 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/robots.txt.ts +30 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.bridge.tsx +34 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +50 -0
- package/templates/saas/scenarios/add-website/files/website/src/provider-contributions.ts +10 -0
- package/templates/saas/scenarios/add-website/files/website/src/sections/index.ts +59 -0
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +76 -0
- package/templates/saas/scenarios/add-website/files/website/src/site.constants.ts.hbs +15 -0
- package/templates/saas/scenarios/add-website/files/website/src/styles/website.css +441 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-root.config.ts.hbs +126 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +81 -0
- package/templates/saas/scenarios/add-website/files/website/tsconfig.json +12 -0
- package/templates/saas/scenarios/add-website/files/website/wildo.website.config.ts.hbs +32 -0
- package/templates/saas/scenarios/add-website/scenario.json +25 -0
- package/templates/saas/scenarios/add-website-section/scenario.json +43 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +19 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/package.json.hbs +40 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/companion-exports.ts.hbs +17 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +180 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/tsconfig.build.json +12 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/tsconfig.json +16 -0
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/wildo.worker.config.ts.hbs +38 -0
- package/templates/saas/scenarios/add-worker-node/scenario.json +24 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Cargo.toml.hbs +21 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/Dockerfile.hbs +21 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/src/main.rs.hbs +408 -0
- package/templates/saas/scenarios/add-worker-rust/files/workers/__workerDir__/wildo.worker.config.ts.hbs +41 -0
- package/templates/saas/scenarios/add-worker-rust/scenario.json +22 -0
- package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/package.json.hbs +10 -0
- package/templates/saas/skeleton/.wildo-saas/application-creation-workbench/scripts/dev-supervised.sh.hbs +161 -0
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/resolve-home-path.mts +62 -0
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +552 -0
- package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +75 -0
- package/templates/saas/skeleton/CLAUDE.md.hbs +82 -0
- package/templates/saas/skeleton/backend-api/package.json.hbs +50 -0
- package/templates/saas/skeleton/backend-api/scripts/dev-supervised.sh.hbs +116 -0
- package/templates/saas/skeleton/backend-api/src/backend-owned-module.ts +8 -0
- package/templates/saas/skeleton/backend-api/src/bootstrap-config.ts +51 -0
- package/templates/saas/skeleton/backend-api/src/companion-exports.ts +37 -0
- package/templates/saas/skeleton/backend-api/src/engine/email/email-template-definitions.ts +46 -0
- package/templates/saas/skeleton/backend-api/src/engine/email/index.ts +2 -0
- package/templates/saas/skeleton/backend-api/src/engine/i18n/index.ts +30 -0
- package/templates/saas/skeleton/backend-api/src/engine/index.ts +16 -0
- package/templates/saas/skeleton/backend-api/src/engine/resources/index.ts +8 -0
- package/templates/saas/skeleton/backend-api/src/index.ts +99 -0
- package/templates/saas/skeleton/backend-api/src/modules/index.ts +21 -0
- package/templates/saas/skeleton/backend-api/src/modules-registry.backend.ts.hbs +71 -0
- package/templates/saas/skeleton/backend-api/src/provider-contributions.ts +44 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +165 -0
- package/templates/saas/skeleton/backend-api/tsconfig.build.json +14 -0
- package/templates/saas/skeleton/backend-api/tsconfig.json.hbs +24 -0
- package/templates/saas/skeleton/backend-api/tsconfig.runtime.json.hbs +12 -0
- package/templates/saas/skeleton/frontend/Dockerfile +25 -0
- package/templates/saas/skeleton/frontend/index.html.hbs +57 -0
- package/templates/saas/skeleton/frontend/nginx-config/default.conf.hbs +15 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +83 -0
- package/templates/saas/skeleton/frontend/scripts/dev-supervised.sh +129 -0
- package/templates/saas/skeleton/frontend/src/__tests__/setup.ts.hbs +156 -0
- package/templates/saas/skeleton/frontend/src/__tests__/vitest-jsdom-globals-setup.mjs +120 -0
- package/templates/saas/skeleton/frontend/src/browser-bootstrap/__tests__/first-paint-ownership.test.ts +41 -0
- package/templates/saas/skeleton/frontend/src/browser-bootstrap/app-shell-bootstrap.ts +46 -0
- package/templates/saas/skeleton/frontend/src/companion-exports.ts.hbs +60 -0
- package/templates/saas/skeleton/frontend/src/config/app-shell.config.ts +184 -0
- package/templates/saas/skeleton/frontend/src/config/design-system.config.ts +169 -0
- package/templates/saas/skeleton/frontend/src/config/global-views.config.ts +91 -0
- package/templates/saas/skeleton/frontend/src/config/index.ts +5 -0
- package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +100 -0
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +49 -0
- package/templates/saas/skeleton/frontend/src/csp.config.ts +37 -0
- package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +133 -0
- package/templates/saas/skeleton/frontend/src/engine/app-shell.module.frontend.ts +17 -0
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +42 -0
- package/templates/saas/skeleton/frontend/src/engine/index.ts +15 -0
- package/templates/saas/skeleton/frontend/src/engine/providers/index.ts +10 -0
- package/templates/saas/skeleton/frontend/src/engine/resources/resource-ui-behavior.frontend.ts +14 -0
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +13 -0
- package/templates/saas/skeleton/frontend/src/index.css.hbs +714 -0
- package/templates/saas/skeleton/frontend/src/main.tsx +13 -0
- package/templates/saas/skeleton/frontend/src/modules/index.ts +17 -0
- package/templates/saas/skeleton/frontend/src/modules-registry.frontend.ts.hbs +76 -0
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +17 -0
- package/templates/saas/skeleton/frontend/src/vite-env.d.ts +1 -0
- package/templates/saas/skeleton/frontend/tsconfig.json.hbs +49 -0
- package/templates/saas/skeleton/frontend/tsconfig.library.json +39 -0
- package/templates/saas/skeleton/frontend/tsconfig.node.json +11 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +439 -0
- package/templates/saas/skeleton/gitignore +75 -0
- package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +49 -0
- package/templates/saas/skeleton/shared-lib/package.json.hbs +48 -0
- package/templates/saas/skeleton/shared-lib/src/companion-exports.ts +19 -0
- package/templates/saas/skeleton/shared-lib/src/engine/features.ts +82 -0
- package/templates/saas/skeleton/shared-lib/src/engine/index.ts +27 -0
- package/templates/saas/skeleton/shared-lib/src/engine/milestones.ts +16 -0
- package/templates/saas/skeleton/shared-lib/src/engine/product.ts +18 -0
- package/templates/saas/skeleton/shared-lib/src/engine/roles.ts +8 -0
- package/templates/saas/skeleton/shared-lib/src/index.ts +11 -0
- package/templates/saas/skeleton/shared-lib/src/modules-registry.shared.ts +29 -0
- package/templates/saas/skeleton/shared-lib/tsconfig.build.json.hbs +24 -0
- package/templates/saas/skeleton/shared-lib/tsconfig.json.hbs +19 -0
- package/templates/saas/skeleton/specifications/package.json.hbs +43 -0
- package/templates/saas/skeleton/specifications/src/companion-exports.ts +37 -0
- package/templates/saas/skeleton/specifications/src/engine/engine.all-modules.specifications.ts +7 -0
- package/templates/saas/skeleton/specifications/src/index.ts +12 -0
- package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +28 -0
- package/templates/saas/skeleton/specifications/tsconfig.build.json +11 -0
- package/templates/saas/skeleton/specifications/tsconfig.json +12 -0
- package/templates/saas/skeleton/tsconfig-saas.json +20 -0
- package/templates/saas/skeleton/tsconfig.common.json +60 -0
- package/templates/saas/skeleton/turbo.json +17 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +135 -0
- package/wildo-framework.info.json +5 -0
|
@@ -0,0 +1,968 @@
|
|
|
1
|
+
import { afterEach, describe, expect, it, vi } from 'vitest';
|
|
2
|
+
import { existsSync, mkdtempSync, readFileSync, rmSync, mkdirSync, writeFileSync } from 'fs';
|
|
3
|
+
import { join, resolve, dirname } from 'path';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
import { tmpdir } from 'os';
|
|
6
|
+
import { RuntimeEnvironment } from '@wildo-ai/saas-models';
|
|
7
|
+
import { BackingServiceKind, BackingServiceSource, resolveFrameworkLayout, WildoDeploymentRuntime, WildoLocationType, } from '@wildo-ai/platform-config-lib';
|
|
8
|
+
vi.mock('~wildo-cli/services/environment/environment-paths.service', () => ({
|
|
9
|
+
EnvironmentPaths: {
|
|
10
|
+
resolveInfraDir: vi.fn(),
|
|
11
|
+
},
|
|
12
|
+
}));
|
|
13
|
+
vi.mock('~wildo-cli/services/deployment/platform-runtime-policy.service', () => ({
|
|
14
|
+
shouldDeployPlatformServicesInRuntime: vi.fn(() => false),
|
|
15
|
+
}));
|
|
16
|
+
import { parse as parseYaml } from 'yaml';
|
|
17
|
+
import { EnvironmentPaths } from '../../../../services/environment/environment-paths.service.js';
|
|
18
|
+
import { K8sManifestGenerator } from '../k8s-manifest-generator.service.js';
|
|
19
|
+
import { TemplateProcessor } from '../../../../infrastructure/io/template-processor.js';
|
|
20
|
+
import { getDeployableInfraServicesForK8s } from '../../../../services/catalog/service-catalog.schemas.js';
|
|
21
|
+
describe('K8sManifestGenerator', () => {
|
|
22
|
+
const tempDirs = [];
|
|
23
|
+
afterEach(() => {
|
|
24
|
+
vi.restoreAllMocks();
|
|
25
|
+
for (const dir of tempDirs.splice(0)) {
|
|
26
|
+
rmSync(dir, { recursive: true, force: true });
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
it('renders manifests from the framework templates/infra/k8s root', () => {
|
|
30
|
+
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-k8s-manifests-'));
|
|
31
|
+
const frameworkRoot = join(sandboxRoot, 'wildo-ai');
|
|
32
|
+
const infraRoot = join(sandboxRoot, 'generated-infra');
|
|
33
|
+
const frameworkLayout = resolveFrameworkLayout(frameworkRoot);
|
|
34
|
+
tempDirs.push(sandboxRoot);
|
|
35
|
+
mkdirSync(frameworkLayout.k8sTemplatesHome, { recursive: true });
|
|
36
|
+
writeFileSync(join(frameworkLayout.k8sTemplatesHome, 'namespace.yaml.hbs'), 'apiVersion: v1\nkind: Namespace\nmetadata:\n name: {{namespace}}\n', 'utf8');
|
|
37
|
+
vi.mocked(EnvironmentPaths.resolveInfraDir).mockReturnValue(infraRoot);
|
|
38
|
+
const result = K8sManifestGenerator.renderAllManifests({
|
|
39
|
+
name: 'local',
|
|
40
|
+
locationType: WildoLocationType.LOCAL,
|
|
41
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
42
|
+
runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
|
|
43
|
+
publicDomain: 'local.wildo.test',
|
|
44
|
+
kubernetes: {
|
|
45
|
+
namespace: 'demo-local',
|
|
46
|
+
},
|
|
47
|
+
}, frameworkRoot, { isFrameworkDeveloper: true });
|
|
48
|
+
const renderedPath = join(infraRoot, 'manifests', 'cluster', 'namespace.yaml');
|
|
49
|
+
// 2, not 1: `renderClusterInfra` writes the stubbed namespace.yaml AND the
|
|
50
|
+
// network-policy set, which is serialised from typed documents rather than
|
|
51
|
+
// rendered from a template and so is emitted even in this sandbox where only
|
|
52
|
+
// one `.hbs` is stubbed in. The count moved because a manifest was genuinely
|
|
53
|
+
// added (Step 5-egress half A) — not because an assertion was relaxed.
|
|
54
|
+
expect(result.total).toBe(2);
|
|
55
|
+
expect(existsSync(renderedPath)).toBe(true);
|
|
56
|
+
expect(readFileSync(renderedPath, 'utf8')).toContain('name: demo-local');
|
|
57
|
+
});
|
|
58
|
+
it('does not render wildo-ai-application manifests for local runtimes', () => {
|
|
59
|
+
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-k8s-manifests-app-'));
|
|
60
|
+
const frameworkRoot = join(sandboxRoot, 'wildo-ai');
|
|
61
|
+
const infraRoot = join(sandboxRoot, 'generated-infra');
|
|
62
|
+
const frameworkLayout = resolveFrameworkLayout(frameworkRoot);
|
|
63
|
+
tempDirs.push(sandboxRoot);
|
|
64
|
+
mkdirSync(join(frameworkLayout.k8sTemplatesHome, 'applications', 'wildo-ai-application'), {
|
|
65
|
+
recursive: true,
|
|
66
|
+
});
|
|
67
|
+
writeFileSync(join(frameworkLayout.k8sTemplatesHome, 'applications', 'wildo-ai-application', 'deployment.yaml.hbs'), 'apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: wildo-ai-application\n', 'utf8');
|
|
68
|
+
vi.mocked(EnvironmentPaths.resolveInfraDir).mockReturnValue(infraRoot);
|
|
69
|
+
K8sManifestGenerator.renderAllManifests({
|
|
70
|
+
name: 'local',
|
|
71
|
+
locationType: WildoLocationType.LOCAL,
|
|
72
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
73
|
+
runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
|
|
74
|
+
publicDomain: 'local.wildo.test',
|
|
75
|
+
kubernetes: {
|
|
76
|
+
namespace: 'demo-local',
|
|
77
|
+
},
|
|
78
|
+
}, frameworkRoot, { isFrameworkDeveloper: true });
|
|
79
|
+
expect(existsSync(join(infraRoot, 'manifests', 'applications'))).toBe(false);
|
|
80
|
+
});
|
|
81
|
+
it('derives application applicationEnv from the canonical runtime environment', () => {
|
|
82
|
+
const templateVariables = K8sManifestGenerator.buildForApplication({
|
|
83
|
+
name: 'staging',
|
|
84
|
+
locationType: WildoLocationType.REMOTE,
|
|
85
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
86
|
+
runtimeEnvironment: RuntimeEnvironment.STAGING,
|
|
87
|
+
publicDomain: 'staging.wildo.test',
|
|
88
|
+
kubernetes: {
|
|
89
|
+
namespace: 'demo-staging',
|
|
90
|
+
imageRegistry: 'registry.example.com/demo',
|
|
91
|
+
},
|
|
92
|
+
remoteProvider: {
|
|
93
|
+
provider: 'scaleway',
|
|
94
|
+
registryEndpoint: 'registry.example.com/demo',
|
|
95
|
+
},
|
|
96
|
+
}, 'staging-build', 2);
|
|
97
|
+
expect(templateVariables.applicationEnv).toBe(RuntimeEnvironment.STAGING);
|
|
98
|
+
});
|
|
99
|
+
it('Audit Phase 2 — renders the REAL immudb StatefulSet + Service + static PV (targeted, catches a Handlebars typo the parity test cannot)', () => {
|
|
100
|
+
// Render ONLY the immudb templates + the PV template against the REAL
|
|
101
|
+
// framework templates root — a targeted render avoids the unrelated cluster
|
|
102
|
+
// templates while still catching any Handlebars error in `internal/immudb/*`
|
|
103
|
+
// or the immudb PV block before `wildo local up` would.
|
|
104
|
+
const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../../../../../../..');
|
|
105
|
+
const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'k8s'));
|
|
106
|
+
const env = {
|
|
107
|
+
name: 'local',
|
|
108
|
+
locationType: WildoLocationType.LOCAL,
|
|
109
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
110
|
+
runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
|
|
111
|
+
publicDomain: 'local.wildo.test',
|
|
112
|
+
kubernetes: { namespace: 'demo-local' },
|
|
113
|
+
backingServices: {
|
|
114
|
+
[BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF },
|
|
115
|
+
[BackingServiceKind.CLAMAV]: { source: BackingServiceSource.SELF },
|
|
116
|
+
},
|
|
117
|
+
};
|
|
118
|
+
const immudbVars = K8sManifestGenerator.buildForInternalService('immudb', env);
|
|
119
|
+
const deployment = tp.processTemplate('internal/immudb/deployment.yaml.hbs', immudbVars);
|
|
120
|
+
expect(deployment).toContain('kind: StatefulSet');
|
|
121
|
+
expect(deployment).toContain('name: immudb');
|
|
122
|
+
expect(deployment).toContain('mountPath: /var/lib/immudb');
|
|
123
|
+
expect(deployment).toContain('codenotary/immudb:1.11.1');
|
|
124
|
+
expect(deployment).toContain('containerPort: 3322');
|
|
125
|
+
const service = tp.processTemplate('internal/immudb/service.yaml.hbs', immudbVars);
|
|
126
|
+
expect(service).toContain('kind: Service');
|
|
127
|
+
expect(service).toContain('name: immudb');
|
|
128
|
+
expect(service).toContain('port: 3322');
|
|
129
|
+
// The PV template is rendered once with a placeholder service; the immudb PV
|
|
130
|
+
// block is gated on `includeLocalImmudb` (true — immudb.source === SELF).
|
|
131
|
+
const pvVars = K8sManifestGenerator.buildForInternalService('valkey', env);
|
|
132
|
+
const pvs = tp.processTemplate('storage/local/persistent-volumes.yaml.hbs', pvVars);
|
|
133
|
+
expect(pvs).toContain('immudb-data-pv');
|
|
134
|
+
expect(pvs).toContain('/mnt/local-data/immudb');
|
|
135
|
+
// Both stateful PVs are 2Gi so their pre-bound PVCs (which request the
|
|
136
|
+
// generator's 2Gi) bind — the immudb PV + the ClamAV 1Gi→2Gi bind-fix.
|
|
137
|
+
expect(pvs).toMatch(/immudb-data-pv[\s\S]*?storage: 2Gi/);
|
|
138
|
+
expect(pvs).toMatch(/clamav-data-pv[\s\S]*?storage: 2Gi/);
|
|
139
|
+
});
|
|
140
|
+
// ==========================================================================
|
|
141
|
+
// Audit Phase 2 — self-hosted immudb in PROD / STAGING k8s
|
|
142
|
+
// ==========================================================================
|
|
143
|
+
// The tamper-evident audit store must self-host in prod/staging exactly like
|
|
144
|
+
// the other stateful backing services — NOT be silently absent (which would
|
|
145
|
+
// force every remote deployment onto a managed immudb). These pin that a
|
|
146
|
+
// production-grade StatefulSet renders when `immudb.source === SELF` and that
|
|
147
|
+
// a managed/external immudb renders NOTHING.
|
|
148
|
+
const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../../../../../../..');
|
|
149
|
+
function prodEnv(immudbSource) {
|
|
150
|
+
return {
|
|
151
|
+
name: 'production',
|
|
152
|
+
locationType: WildoLocationType.REMOTE,
|
|
153
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
154
|
+
runtimeEnvironment: RuntimeEnvironment.PRODUCTION,
|
|
155
|
+
publicDomain: 'app.example.com',
|
|
156
|
+
kubernetes: { namespace: 'demo-prod', imageRegistry: 'registry.example.com/demo' },
|
|
157
|
+
remoteProvider: { provider: 'scaleway', registryEndpoint: 'registry.example.com/demo' },
|
|
158
|
+
backingServices: immudbSource
|
|
159
|
+
? { [BackingServiceKind.IMMUDB]: { source: immudbSource } }
|
|
160
|
+
: undefined,
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
it('Audit Phase 2 — self-hosts a production-grade immudb StatefulSet for a PROD env when immudb.source === SELF', () => {
|
|
164
|
+
const env = prodEnv(BackingServiceSource.SELF);
|
|
165
|
+
const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'k8s'));
|
|
166
|
+
// The deployable list drives which internal/<svc>/ templates render — it is
|
|
167
|
+
// NOT location-gated for immudb, so a REMOTE (prod) env self-hosting immudb
|
|
168
|
+
// is included exactly like local.
|
|
169
|
+
expect(getDeployableInfraServicesForK8s(env)).toContain('immudb');
|
|
170
|
+
const vars = K8sManifestGenerator.buildForInternalService('immudb', env);
|
|
171
|
+
const deployment = tp.processTemplate('internal/immudb/deployment.yaml.hbs', vars);
|
|
172
|
+
// Core StatefulSet identity (name / image / PVC / port).
|
|
173
|
+
expect(deployment).toContain('kind: StatefulSet');
|
|
174
|
+
expect(deployment).toContain('name: immudb');
|
|
175
|
+
expect(deployment).toContain('namespace: demo-prod');
|
|
176
|
+
expect(deployment).toContain('codenotary/immudb:1.11.1');
|
|
177
|
+
expect(deployment).toContain('containerPort: 3322');
|
|
178
|
+
expect(deployment).toContain('mountPath: /var/lib/immudb');
|
|
179
|
+
expect(deployment).toContain('storage: 2Gi');
|
|
180
|
+
// Prod PVC is dynamically provisioned by the cluster's DEFAULT StorageClass:
|
|
181
|
+
// it must NOT bind the LOCAL static PV (empty storageClassName) and must NOT
|
|
182
|
+
// carry the local `wildo-local-storage` class. `useStaticPV` is false and
|
|
183
|
+
// `storageClassName` is undefined for a remote env → no storageClassName line.
|
|
184
|
+
expect(deployment).not.toContain('storageClassName: ""');
|
|
185
|
+
expect(deployment).not.toContain('wildo-local-storage');
|
|
186
|
+
expect(deployment).not.toMatch(/storageClassName:/);
|
|
187
|
+
// immudb-specific resource profile (was the generic platform fallback before
|
|
188
|
+
// the DEFAULT_INTERNAL_RESOURCES.immudb entry landed).
|
|
189
|
+
expect(deployment).toMatch(/requests:\s*\n\s*cpu: "100m"\s*\n\s*memory: "256Mi"/);
|
|
190
|
+
expect(deployment).toMatch(/limits:\s*\n\s*cpu: "1000m"\s*\n\s*memory: "1Gi"/);
|
|
191
|
+
// IMMUDB_* credential wiring: the built-in admin password is sourced from
|
|
192
|
+
// the operator-supplied provider secret via `immudb-secret` (optional ref).
|
|
193
|
+
expect(deployment).toContain('IMMUDB_ADMIN_PASSWORD');
|
|
194
|
+
expect(deployment).toContain('name: immudb-secret');
|
|
195
|
+
expect(deployment).toContain('optional: true');
|
|
196
|
+
// Health/readiness probes carry over (immuadmin status heartbeat).
|
|
197
|
+
expect(deployment).toContain('command: ["immuadmin", "status"]');
|
|
198
|
+
// Service renders too.
|
|
199
|
+
const service = tp.processTemplate('internal/immudb/service.yaml.hbs', vars);
|
|
200
|
+
expect(service).toContain('kind: Service');
|
|
201
|
+
expect(service).toContain('name: immudb');
|
|
202
|
+
expect(service).toContain('port: 3322');
|
|
203
|
+
});
|
|
204
|
+
it('Audit Phase 2 — a MANAGED / external immudb renders NO StatefulSet in prod (excluded from the deployable list)', () => {
|
|
205
|
+
const managed = prodEnv(BackingServiceSource.MANAGED);
|
|
206
|
+
const none = prodEnv(undefined);
|
|
207
|
+
// The generator renders internal/<svc>/ templates ONLY for services in the
|
|
208
|
+
// deployable list; a managed (or unset) immudb is excluded, so no immudb
|
|
209
|
+
// StatefulSet / Service / PV is ever written — the provider points
|
|
210
|
+
// IMMUDB_HOST at the external endpoint instead.
|
|
211
|
+
expect(getDeployableInfraServicesForK8s(managed)).not.toContain('immudb');
|
|
212
|
+
expect(getDeployableInfraServicesForK8s(none)).not.toContain('immudb');
|
|
213
|
+
});
|
|
214
|
+
// ==========================================================================
|
|
215
|
+
// HIGH-1 — the APP BACKEND's durable immudb audit trust-anchor in prod/staging
|
|
216
|
+
// ==========================================================================
|
|
217
|
+
// The cross-restart tamper-evidence anchor must live on a DURABLE, access-protected
|
|
218
|
+
// volume in remote clusters — never the pod's ephemeral fs, where a rollback of the
|
|
219
|
+
// audit ledger is silently re-adopted (signature pinning cannot catch a rollback).
|
|
220
|
+
// These pin that the rendered prod app-backend manifest sets IMMUDB_STATE_DIR AND
|
|
221
|
+
// mounts a PVC-backed volume for it, and that the matching PVC is emitted.
|
|
222
|
+
const appTarget = {
|
|
223
|
+
appName: 'wonder-todos',
|
|
224
|
+
backendServiceName: 'wonder-todos-backend-api',
|
|
225
|
+
ingressRoutes: [{ host: 'api.example.com', serviceName: 'wonder-todos-backend-api', port: 4000 }],
|
|
226
|
+
podPorts: [{ name: 'api', containerPort: 4000 }],
|
|
227
|
+
healthPort: 3999,
|
|
228
|
+
frontends: [],
|
|
229
|
+
};
|
|
230
|
+
it('HIGH-1 — a PROD app backend with immudb audit configured sets IMMUDB_STATE_DIR AND mounts a durable PVC volume for it', () => {
|
|
231
|
+
const env = prodEnv(BackingServiceSource.SELF);
|
|
232
|
+
const rendered = K8sManifestGenerator.renderApplicationForTarget(env, repoRoot, appTarget, 'prod-build');
|
|
233
|
+
const deployment = rendered.find((r) => r.name === 'wonder-todos-backend-api-deployment')?.yaml;
|
|
234
|
+
const pvc = rendered.find((r) => r.name === 'wonder-todos-backend-api-immudb-audit-state-pvc')?.yaml;
|
|
235
|
+
expect(deployment).toBeDefined();
|
|
236
|
+
expect(pvc).toBeDefined();
|
|
237
|
+
// No unresolved Handlebars placeholders survived the render.
|
|
238
|
+
expect(deployment).not.toContain('{{');
|
|
239
|
+
expect(pvc).not.toContain('{{');
|
|
240
|
+
// Structural proof on the DEPLOYMENT: IMMUDB_STATE_DIR env + volumeMount + PVC-backed volume,
|
|
241
|
+
// all agreeing on the same durable in-container path.
|
|
242
|
+
const dep = parseYaml(deployment);
|
|
243
|
+
const container = dep.spec.template.spec.containers[0];
|
|
244
|
+
expect(container.env).toContainEqual({ name: 'IMMUDB_STATE_DIR', value: '/var/lib/wildo/immudb-audit-state' });
|
|
245
|
+
expect(container.volumeMounts).toContainEqual({ name: 'immudb-audit-state', mountPath: '/var/lib/wildo/immudb-audit-state' });
|
|
246
|
+
expect(dep.spec.template.spec.volumes).toContainEqual({
|
|
247
|
+
name: 'immudb-audit-state',
|
|
248
|
+
persistentVolumeClaim: { claimName: 'wonder-todos-backend-api-immudb-audit-state' },
|
|
249
|
+
});
|
|
250
|
+
// Structural proof on the PVC: durable RWO claim, dynamically provisioned (no storageClassName
|
|
251
|
+
// ⇒ cluster default class, the prod posture), namespaced to the env.
|
|
252
|
+
const claim = parseYaml(pvc);
|
|
253
|
+
expect(claim.kind).toBe('PersistentVolumeClaim');
|
|
254
|
+
expect(claim.metadata.name).toBe('wonder-todos-backend-api-immudb-audit-state');
|
|
255
|
+
expect(claim.metadata.namespace).toBe('demo-prod');
|
|
256
|
+
expect(claim.spec.accessModes).toEqual(['ReadWriteOnce']);
|
|
257
|
+
expect(claim.spec.storageClassName).toBeUndefined();
|
|
258
|
+
expect(claim.spec.resources.requests.storage).toBe('1Gi');
|
|
259
|
+
});
|
|
260
|
+
it('HIGH-1 — a PROD app backend WITHOUT immudb audit renders no IMMUDB_STATE_DIR and no anchor PVC', () => {
|
|
261
|
+
const env = prodEnv(undefined); // no immudb backing service
|
|
262
|
+
const rendered = K8sManifestGenerator.renderApplicationForTarget(env, repoRoot, appTarget, 'prod-build');
|
|
263
|
+
const deployment = rendered.find((r) => r.name === 'wonder-todos-backend-api-deployment')?.yaml;
|
|
264
|
+
expect(deployment).toBeDefined();
|
|
265
|
+
expect(deployment).not.toContain('IMMUDB_STATE_DIR');
|
|
266
|
+
expect(deployment).not.toContain('immudb-audit-state');
|
|
267
|
+
expect(rendered.find((r) => r.name.includes('immudb-audit-state'))).toBeUndefined();
|
|
268
|
+
});
|
|
269
|
+
// ==========================================================================
|
|
270
|
+
// Cluster-infra TLS templates — the wildcard secret-name transform
|
|
271
|
+
// ==========================================================================
|
|
272
|
+
// `tls-config.yaml.hbs` is rendered UNCONDITIONALLY by `renderClusterInfra`
|
|
273
|
+
// (it is a fixed entry in the cluster template list and the file always
|
|
274
|
+
// exists), so a Handlebars *parse* error in it throws for EVERY
|
|
275
|
+
// `renderAllManifests` call — i.e. every `wildo config sync --domain manifest`
|
|
276
|
+
// / k8s deploy, for any env, local or remote. The template originally used a
|
|
277
|
+
// Nunjucks/Liquid-style pipe (`{{publicDomain | replace "." "-"}}`), which
|
|
278
|
+
// Handlebars cannot parse — it reads `| ... |` as block params and throws
|
|
279
|
+
// `Expecting 'CLOSE...', got 'CLOSE_BLOCK_PARAMS'`. The registered helper is
|
|
280
|
+
// `replace(str, search, replacement)`, so the only valid form is the prefix
|
|
281
|
+
// call `{{replace publicDomain "." "-"}}` (as the sibling app ingress
|
|
282
|
+
// templates already use inside `concat`). Nothing rendered the full cluster
|
|
283
|
+
// infra against the REAL templates root before, so the broken pipe shipped
|
|
284
|
+
// undetected. These pin the fix through the real `TemplateProcessor`.
|
|
285
|
+
it('renders the REAL tls-config.yaml.hbs via the real TemplateProcessor into the flattened wildcard-<domain>-tls secret name', () => {
|
|
286
|
+
const env = prodEnv(undefined); // publicDomain: 'app.example.com'
|
|
287
|
+
const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'k8s'));
|
|
288
|
+
// Same builder + same template path `renderClusterInfra` feeds this template.
|
|
289
|
+
const vars = K8sManifestGenerator.buildForInternalService('valkey', env);
|
|
290
|
+
const tlsConfig = tp.processTemplate('tls-config.yaml.hbs', vars);
|
|
291
|
+
// Compiled with no parse error AND the `replace` helper flattened the dotted
|
|
292
|
+
// domain into a single-level subdomain secret name.
|
|
293
|
+
expect(tlsConfig).toContain('secretName: wildcard-app-example-com-tls');
|
|
294
|
+
expect(tlsConfig).toContain('namespace: demo-prod');
|
|
295
|
+
// Full resolution: no placeholder survived the render (a pipe would have
|
|
296
|
+
// thrown at compile above; this also catches any unresolved `{{var}}`).
|
|
297
|
+
expect(tlsConfig).not.toContain('{{');
|
|
298
|
+
});
|
|
299
|
+
it('renders the REAL wildcard-certificate.yaml.hbs (remote cert) via the real TemplateProcessor — cert name + backing secret both flattened', () => {
|
|
300
|
+
const env = prodEnv(undefined);
|
|
301
|
+
const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'k8s'));
|
|
302
|
+
const vars = K8sManifestGenerator.buildForInternalService('valkey', env);
|
|
303
|
+
const cert = tp.processTemplate('ingress/cert-manager/wildcard-certificate.yaml.hbs', vars);
|
|
304
|
+
// Both the Certificate `metadata.name` and its `spec.secretName` use the
|
|
305
|
+
// flattened domain; the secret name must match `tls-config.yaml.hbs` so
|
|
306
|
+
// Traefik's TLSStore and cert-manager agree on the same Secret.
|
|
307
|
+
expect(cert).toContain('name: wildcard-app-example-com');
|
|
308
|
+
expect(cert).toContain('secretName: wildcard-app-example-com-tls');
|
|
309
|
+
// Unset `issuerName` falls back to the `default` helper value.
|
|
310
|
+
expect(cert).toContain('name: letsencrypt-prod');
|
|
311
|
+
// Full resolution: no placeholder survived the render.
|
|
312
|
+
expect(cert).not.toContain('{{');
|
|
313
|
+
});
|
|
314
|
+
it('exercises the real renderClusterInfra path end-to-end: renderAllManifests writes cluster/tls-config.yaml with the flattened wildcard secret', () => {
|
|
315
|
+
// The gap this closes: nothing drove `renderAllManifests` against the REAL
|
|
316
|
+
// templates root (the sandbox tests above stub in a single namespace.yaml.hbs),
|
|
317
|
+
// so `renderClusterInfra` — which renders `tls-config.yaml.hbs` unconditionally
|
|
318
|
+
// — never actually parsed the real template. This renders the full cluster
|
|
319
|
+
// infra for a sample LOCAL env (the `wildo local dev` path) through the real
|
|
320
|
+
// TemplateProcessor and reads the written manifest back.
|
|
321
|
+
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-k8s-tls-e2e-'));
|
|
322
|
+
tempDirs.push(sandboxRoot);
|
|
323
|
+
const outputBase = join(sandboxRoot, 'generated-infra');
|
|
324
|
+
const result = K8sManifestGenerator.renderAllManifests({
|
|
325
|
+
name: 'local',
|
|
326
|
+
locationType: WildoLocationType.LOCAL,
|
|
327
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
328
|
+
runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
|
|
329
|
+
publicDomain: 'app.example.com',
|
|
330
|
+
kubernetes: { namespace: 'demo-local' },
|
|
331
|
+
}, repoRoot,
|
|
332
|
+
// outputBase bypasses EnvironmentPaths.resolveInfraDir (mocked) so the full
|
|
333
|
+
// render lands entirely in the temp sandbox.
|
|
334
|
+
{ isFrameworkDeveloper: true, outputBase });
|
|
335
|
+
// Network segmentation (Step 5-egress half A) rides the SAME cluster render,
|
|
336
|
+
// so it is asserted here rather than against the builder — which is already
|
|
337
|
+
// pinned in `platform-config-lib`. What lives HERE is whether the documents
|
|
338
|
+
// are actually written, and whether the labels the policies select on are the
|
|
339
|
+
// labels the pod templates actually emit. The two halves are useless apart:
|
|
340
|
+
// policies keyed on a label nothing sets deny the entire namespace.
|
|
341
|
+
const policyPath = join(outputBase, 'manifests', 'cluster', 'network-policies.yaml');
|
|
342
|
+
const policies = readFileSync(policyPath, 'utf8');
|
|
343
|
+
expect(policies).toContain('kind: NetworkPolicy');
|
|
344
|
+
expect(policies).toContain('name: wildo-default-deny');
|
|
345
|
+
// Both directions — an egress-only default still lets an unlabelled pod be REACHED.
|
|
346
|
+
expect(policies).toContain('Ingress');
|
|
347
|
+
expect(policies).toContain('Egress');
|
|
348
|
+
// The coupling: every selector key must be one the pod templates emit. The
|
|
349
|
+
// minion deployment above renders `wildo.ai/net-wildo-data-rabbit`, so a
|
|
350
|
+
// policy selecting it can actually match something.
|
|
351
|
+
expect(policies).toContain('wildo.ai/net-wildo-data-rabbit');
|
|
352
|
+
expect(policies).toContain('wildo.ai/net-wildo-egress');
|
|
353
|
+
// Namespace-scoped. Emitting these documents WITHOUT a namespace is silent and
|
|
354
|
+
// wrong: they would apply to `default` rather than the application's namespace,
|
|
355
|
+
// so the app's pods stay unprotected while the manifests look correct. Added
|
|
356
|
+
// after a mutation dropping the namespace argument passed every other pin.
|
|
357
|
+
expect(policies).toMatch(/namespace: \S+/);
|
|
358
|
+
const tlsPath = join(outputBase, 'manifests', 'cluster', 'tls-config.yaml');
|
|
359
|
+
expect(existsSync(tlsPath)).toBe(true);
|
|
360
|
+
expect(readFileSync(tlsPath, 'utf8')).toContain('secretName: wildcard-app-example-com-tls');
|
|
361
|
+
expect(result.total).toBeGreaterThan(0);
|
|
362
|
+
});
|
|
363
|
+
// ==========================================================================
|
|
364
|
+
// Remote TLS wiring — HTTP-01 per-ingress strategy
|
|
365
|
+
// ==========================================================================
|
|
366
|
+
// `remote-k8s-tls-wiring.md` D1=B. The remote CI path renders an HTTP-01
|
|
367
|
+
// `ClusterIssuer` + a TLSStore-SUPPRESSED tls-config as FLAT files, and every
|
|
368
|
+
// ingress owns its OWN per-ingress `<name>-tls` secret with explicitly
|
|
369
|
+
// enumerated hosts (ACME HTTP-01 cannot validate a wildcard host). These pin
|
|
370
|
+
// the contract end-to-end so a regression to the impossible wildcard+HTTP-01
|
|
371
|
+
// combination — or a shared-wildcard-secret ingress — fails at test time.
|
|
372
|
+
const LOCAL_ENV = {
|
|
373
|
+
name: 'local',
|
|
374
|
+
locationType: WildoLocationType.LOCAL,
|
|
375
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
376
|
+
runtimeEnvironment: RuntimeEnvironment.DEVELOPMENT,
|
|
377
|
+
publicDomain: 'local.wildo.ai',
|
|
378
|
+
kubernetes: { namespace: 'wildo-local' },
|
|
379
|
+
};
|
|
380
|
+
function remoteTlsEnv(overrides) {
|
|
381
|
+
return {
|
|
382
|
+
name: 'production',
|
|
383
|
+
locationType: WildoLocationType.REMOTE,
|
|
384
|
+
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
385
|
+
runtimeEnvironment: RuntimeEnvironment.PRODUCTION,
|
|
386
|
+
publicDomain: 'app.example.com',
|
|
387
|
+
kubernetes: { namespace: 'demo-prod', imageRegistry: 'registry.example.com/demo' },
|
|
388
|
+
remoteProvider: {
|
|
389
|
+
provider: 'scaleway',
|
|
390
|
+
registryEndpoint: 'registry.example.com/demo',
|
|
391
|
+
acmeEmail: overrides?.acmeEmail ?? 'ops@example.com',
|
|
392
|
+
tlsIssuer: overrides?.tlsIssuer,
|
|
393
|
+
},
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
it('buildForApplication (remote) sets the per-ingress TLS context (perIngressTls + acmeEmail + prod issuer default + per-ingress secret)', () => {
|
|
397
|
+
const vars = K8sManifestGenerator.buildForApplication(remoteTlsEnv(), 'prod-build', 1);
|
|
398
|
+
expect(vars.perIngressTls).toBe(true);
|
|
399
|
+
expect(vars.acmeEmail).toBe('ops@example.com');
|
|
400
|
+
expect(vars.issuerName).toBe('letsencrypt-prod'); // default when tlsIssuer unset
|
|
401
|
+
expect(vars.tlsSecretName).toBe('wildo-ai-application-tls');
|
|
402
|
+
});
|
|
403
|
+
it('buildForApplication (remote) honors an explicit letsencrypt-staging issuer', () => {
|
|
404
|
+
const vars = K8sManifestGenerator.buildForApplication(remoteTlsEnv({ tlsIssuer: 'letsencrypt-staging' }), 'prod-build', 1);
|
|
405
|
+
expect(vars.issuerName).toBe('letsencrypt-staging');
|
|
406
|
+
});
|
|
407
|
+
it('buildForApplication (local) carries NO remote TLS context (self-signed wildcard preserved)', () => {
|
|
408
|
+
const vars = K8sManifestGenerator.buildForApplication(LOCAL_ENV);
|
|
409
|
+
expect(vars.perIngressTls).toBeUndefined();
|
|
410
|
+
expect(vars.acmeEmail).toBeUndefined();
|
|
411
|
+
expect(vars.issuerName).toBeUndefined();
|
|
412
|
+
});
|
|
413
|
+
it('application ingress renders serviceHosts-driven hosts from ingressRoutes (parameterized identity, no fan-out)', () => {
|
|
414
|
+
const tp = new TemplateProcessor(join(repoRoot, 'templates', 'infra', 'k8s'));
|
|
415
|
+
// ingressRoutes come from buildK8sApplicationIngressRoutes (serviceHosts-driven);
|
|
416
|
+
// appName parameterizes the identity (D4) instead of the fixed wildo-ai-application.
|
|
417
|
+
const vars = {
|
|
418
|
+
appName: 'acme',
|
|
419
|
+
namespace: 'acme-prod',
|
|
420
|
+
tlsEnabled: true,
|
|
421
|
+
issuerName: 'letsencrypt-prod',
|
|
422
|
+
ingressRoutes: [
|
|
423
|
+
{ host: 'app.acme.com', serviceName: 'acme-app', port: 4242 },
|
|
424
|
+
{ host: 'api.acme.com', serviceName: 'acme-backend-api', port: 4241 },
|
|
425
|
+
],
|
|
426
|
+
};
|
|
427
|
+
const ingress = tp.processTemplate('applications/wildo-ai-application/ingress.yaml.hbs', vars);
|
|
428
|
+
// Parameterized identity (D4) — the Ingress object itself is named for the app.
|
|
429
|
+
expect(ingress).toContain('name: acme');
|
|
430
|
+
// serviceHosts hosts in BOTH the TLS block and the rules.
|
|
431
|
+
expect(ingress).toContain('- app.acme.com');
|
|
432
|
+
expect(ingress).toContain('- host: app.acme.com');
|
|
433
|
+
expect(ingress).toContain('- host: api.acme.com');
|
|
434
|
+
// Per-service model: each host routes to its OWN Service (serviceName), NOT a
|
|
435
|
+
// shared app Service — app host → acme-app, api host → acme-backend-api.
|
|
436
|
+
expect(ingress).toContain('name: acme-app');
|
|
437
|
+
expect(ingress).toContain('name: acme-backend-api');
|
|
438
|
+
expect(ingress).toContain('number: 4242');
|
|
439
|
+
expect(ingress).toContain('number: 4241');
|
|
440
|
+
// Per-ingress TLS secret (concat appName "-tls") + issuer annotation.
|
|
441
|
+
expect(ingress).toContain('secretName: acme-tls');
|
|
442
|
+
expect(ingress).toContain('cert-manager.io/cluster-issuer: "letsencrypt-prod"');
|
|
443
|
+
// Greenfield: no `{svc}-{slug}-{env}` fan-out, no wildcard secret.
|
|
444
|
+
expect(ingress).not.toContain('-acme-prod.');
|
|
445
|
+
expect(ingress).not.toContain('wildcard-');
|
|
446
|
+
expect(ingress).not.toContain('{{');
|
|
447
|
+
});
|
|
448
|
+
/**
|
|
449
|
+
* F20 — the app BACKEND and FRONTEND had NO container floor at all until
|
|
450
|
+
* 2026-08-10, while minions and workers had a complete one. The backend is the
|
|
451
|
+
* weakest of the four sites: it is the container that holds every credential
|
|
452
|
+
* the application has, and it ran as root with a writable root filesystem.
|
|
453
|
+
*
|
|
454
|
+
* The frontend expectations below are not guesses. They were MEASURED against
|
|
455
|
+
* `nginx:1.27-alpine` before the template was written — see the plan's F20
|
|
456
|
+
* entry for the positive run and the three negative controls.
|
|
457
|
+
*/
|
|
458
|
+
it('renderApplicationForTarget emits the isolation floor on the backend AND every frontend', () => {
|
|
459
|
+
const rendered = K8sManifestGenerator.renderApplicationForTarget(remoteTlsEnv(), repoRoot, {
|
|
460
|
+
appName: 'demo-app',
|
|
461
|
+
backendServiceName: 'demo-app-backend-api',
|
|
462
|
+
ingressRoutes: [
|
|
463
|
+
{ host: 'app.example.com', serviceName: 'demo-app-app', port: 4242 },
|
|
464
|
+
{ host: 'api.example.com', serviceName: 'demo-app-backend-api', port: 4241 },
|
|
465
|
+
],
|
|
466
|
+
podPorts: [{ name: 'backend', containerPort: 4241 }],
|
|
467
|
+
healthPort: 4240,
|
|
468
|
+
// Deliberately authoring NO isolation on either kind: "authored nothing"
|
|
469
|
+
// is the common case and the one that must come out hardened.
|
|
470
|
+
frontends: [{ serviceName: 'demo-app-app', port: 4242 }],
|
|
471
|
+
}, 'sha-abc123');
|
|
472
|
+
const backend = rendered.find((r) => r.name === 'demo-app-backend-api-deployment').yaml;
|
|
473
|
+
const frontend = rendered.find((r) => r.name === 'demo-app-app-deployment').yaml;
|
|
474
|
+
for (const [kind, yaml] of [['backend', backend], ['frontend', frontend]]) {
|
|
475
|
+
expect(yaml, kind).toContain('runAsNonRoot: true');
|
|
476
|
+
expect(yaml, kind).toContain('readOnlyRootFilesystem: true');
|
|
477
|
+
expect(yaml, kind).toContain('allowPrivilegeEscalation: false');
|
|
478
|
+
expect(yaml, kind).toMatch(/capabilities:\s*\n\s*drop:\s*\n\s*- ALL/);
|
|
479
|
+
expect(yaml, kind).toMatch(/seccompProfile:\s*\n\s*type: RuntimeDefault/);
|
|
480
|
+
expect(yaml, kind).toContain('automountServiceAccountToken: false');
|
|
481
|
+
// `fsGroup` is what makes an emptyDir writable by a non-root process.
|
|
482
|
+
// Without it every scratch mount below arrives root-owned and the floor
|
|
483
|
+
// renders perfectly while the container cannot start.
|
|
484
|
+
expect(yaml, kind).toMatch(/fsGroup: \d+/);
|
|
485
|
+
expect(yaml, kind).toMatch(/- name: scratch-tmp\s*\n\s*mountPath: \/tmp/);
|
|
486
|
+
expect(yaml, kind).not.toContain('{{');
|
|
487
|
+
}
|
|
488
|
+
// Kind-correct uids, resolved from the config boundary rather than per
|
|
489
|
+
// renderer: Node-as-`wildo` 1001 for the backend, nginx 101 for the
|
|
490
|
+
// frontend. One number for both would give half the services a uid their
|
|
491
|
+
// image does not define.
|
|
492
|
+
expect(backend).toContain('runAsUser: 1001');
|
|
493
|
+
expect(frontend).toContain('runAsUser: 101');
|
|
494
|
+
// nginx cannot start read-only without these two, measured (omitting
|
|
495
|
+
// /var/cache/nginx → `mkdir() ... client_temp failed`; omitting /run →
|
|
496
|
+
// `open() "/run/nginx.pid" failed`). The backend gets neither — they are
|
|
497
|
+
// nginx implementation detail, not a shared floor.
|
|
498
|
+
expect(frontend).toMatch(/- name: scratch-var-cache-nginx\s*\n\s*mountPath: \/var\/cache\/nginx/);
|
|
499
|
+
expect(frontend).toMatch(/- name: scratch-run\s*\n\s*mountPath: \/run/);
|
|
500
|
+
expect(backend).not.toContain('/var/cache/nginx');
|
|
501
|
+
// The frontend keeps container port 80. Containers set
|
|
502
|
+
// `net.ipv4.ip_unprivileged_port_start=0`, so a non-root nginx binds it
|
|
503
|
+
// fine — verified by running the image, after an earlier revision of this
|
|
504
|
+
// work asserted the opposite in a JSDoc nobody had tested.
|
|
505
|
+
expect(frontend).toContain('containerPort: 80');
|
|
506
|
+
});
|
|
507
|
+
it('renderApplicationForTarget (Phase 9) renders per-service backend + frontend Deployments/Services + one Ingress from the target', () => {
|
|
508
|
+
const rendered = K8sManifestGenerator.renderApplicationForTarget(remoteTlsEnv(), repoRoot, {
|
|
509
|
+
appName: 'demo-app',
|
|
510
|
+
backendServiceName: 'demo-app-backend-api',
|
|
511
|
+
ingressRoutes: [
|
|
512
|
+
{ host: 'app.example.com', serviceName: 'demo-app-app', port: 4242 },
|
|
513
|
+
{ host: 'api.example.com', serviceName: 'demo-app-backend-api', port: 4241 },
|
|
514
|
+
],
|
|
515
|
+
podPorts: [
|
|
516
|
+
{ name: 'backend', containerPort: 4241 },
|
|
517
|
+
{ name: 'health', containerPort: 4240 },
|
|
518
|
+
],
|
|
519
|
+
healthPort: 4240,
|
|
520
|
+
frontends: [{ serviceName: 'demo-app-app', port: 4242 }],
|
|
521
|
+
}, 'sha-abc123');
|
|
522
|
+
// FLAT per-service filenames (CI `kubectl apply -f` is non-recursive): a
|
|
523
|
+
// backend Deployment+Service, one nginx Deployment+Service per frontend, and
|
|
524
|
+
// one app Ingress.
|
|
525
|
+
expect(rendered.map((r) => r.name).sort()).toEqual([
|
|
526
|
+
'demo-app-app-deployment',
|
|
527
|
+
'demo-app-app-service',
|
|
528
|
+
'demo-app-backend-api-deployment',
|
|
529
|
+
'demo-app-backend-api-service',
|
|
530
|
+
'demo-app-ingress',
|
|
531
|
+
]);
|
|
532
|
+
const backendDeploy = rendered.find((r) => r.name === 'demo-app-backend-api-deployment').yaml;
|
|
533
|
+
const backendSvc = rendered.find((r) => r.name === 'demo-app-backend-api-service').yaml;
|
|
534
|
+
const feDeploy = rendered.find((r) => r.name === 'demo-app-app-deployment').yaml;
|
|
535
|
+
const feSvc = rendered.find((r) => r.name === 'demo-app-app-service').yaml;
|
|
536
|
+
const ingress = rendered.find((r) => r.name === 'demo-app-ingress').yaml;
|
|
537
|
+
// Backend Deployment: per-service identity + image + `{appSlug}-secret` mount
|
|
538
|
+
// + backend ports + probe on the derived health port. NO admin creds, NO
|
|
539
|
+
// relic env, NO unresolved handlebars.
|
|
540
|
+
expect(backendDeploy).toContain('name: demo-app-backend-api');
|
|
541
|
+
expect(backendDeploy).toContain('image: registry.example.com/demo/demo-app-backend-api:sha-abc123');
|
|
542
|
+
expect(backendDeploy).toMatch(/envFrom:[\s\S]*?secretRef:[\s\S]*?name: demo-app-secret/);
|
|
543
|
+
expect(backendDeploy).toContain('containerPort: 4241');
|
|
544
|
+
expect(backendDeploy).toContain('containerPort: 4240');
|
|
545
|
+
expect(backendDeploy).toMatch(/port: 4240/); // probe healthPort
|
|
546
|
+
expect(backendDeploy).not.toContain('valkey-secret');
|
|
547
|
+
expect(backendDeploy).not.toContain('rabbitmq-secret');
|
|
548
|
+
expect(backendDeploy).not.toMatch(/- name: SKIP_GIT_CLONE/);
|
|
549
|
+
expect(backendDeploy).not.toContain('{{');
|
|
550
|
+
// Backend Service: service-specific selector (NOT the bare `app:` grouping
|
|
551
|
+
// label frontends/minions/workers also carry) + backend ports.
|
|
552
|
+
expect(backendSvc).toContain('name: demo-app-backend-api');
|
|
553
|
+
expect(backendSvc).toMatch(/selector:\s*\n\s*app\.kubernetes\.io\/name: demo-app-backend-api/);
|
|
554
|
+
expect(backendSvc).not.toMatch(/selector:\s*\n\s*app: demo-app-backend-api/);
|
|
555
|
+
expect(backendSvc).toContain('port: 4241');
|
|
556
|
+
expect(backendSvc).not.toContain('{{');
|
|
557
|
+
// Frontend Deployment: nginx on :80, own image, and — crucially — NO app
|
|
558
|
+
// secret (static bundle, no handshake).
|
|
559
|
+
expect(feDeploy).toContain('name: demo-app-app');
|
|
560
|
+
expect(feDeploy).toContain('image: registry.example.com/demo/demo-app-app:sha-abc123');
|
|
561
|
+
expect(feDeploy).toContain('containerPort: 80');
|
|
562
|
+
expect(feDeploy).not.toContain('demo-app-secret');
|
|
563
|
+
expect(feDeploy).not.toContain('{{');
|
|
564
|
+
// Frontend Service: exposes the authored defaultPort → nginx :80.
|
|
565
|
+
expect(feSvc).toContain('name: demo-app-app');
|
|
566
|
+
expect(feSvc).toMatch(/port: 4242/);
|
|
567
|
+
expect(feSvc).toMatch(/targetPort: 80/);
|
|
568
|
+
expect(feSvc).not.toContain('{{');
|
|
569
|
+
// Ingress: one object; each host → its OWN per-service Service.
|
|
570
|
+
expect(ingress).toContain('- host: app.example.com');
|
|
571
|
+
expect(ingress).toContain('name: demo-app-app');
|
|
572
|
+
expect(ingress).toContain('- host: api.example.com');
|
|
573
|
+
expect(ingress).toContain('name: demo-app-backend-api');
|
|
574
|
+
expect(ingress).toContain('number: 4241');
|
|
575
|
+
expect(ingress).toContain('secretName: demo-app-tls');
|
|
576
|
+
expect(ingress).not.toContain('{{');
|
|
577
|
+
});
|
|
578
|
+
it('renderMinionForTarget (Phase 8) renders a singleton Deployment mounting {appSlug}-secret, correct reinstantiation strategy, file-liveness, hardened securityContext — no infra ADMIN SECRETS', () => {
|
|
579
|
+
// kill_previous (default) → Recreate (MinionReinstantiationSchema).
|
|
580
|
+
const [killPrev] = K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', minionName: 'scraper', reinstantiationPolicy: 'kill_previous', liveness: { kind: 'file', filePath: '/tmp/alive', staleAfterSec: 90 } }, 'sha-abc123');
|
|
581
|
+
expect(killPrev.name).toBe('demo-app-minion-scraper');
|
|
582
|
+
const minion = killPrev.yaml;
|
|
583
|
+
expect(minion).toContain('name: demo-app-minion-scraper');
|
|
584
|
+
expect(minion).toContain('replicas: 1');
|
|
585
|
+
expect(minion).toContain('type: Recreate');
|
|
586
|
+
expect(minion).not.toMatch(/rollingUpdate:/); // Recreate → no rollingUpdate block (prose comment says "RollingUpdate", no colon)
|
|
587
|
+
// Reuses the app image (headless role) + mounts the SAME {appSlug}-secret.
|
|
588
|
+
// Per-service model: the minion runs its OWN per-minion image
|
|
589
|
+
// (`{appSlug}-minion-{minionName}`), NOT the deleted single-pod `{appSlug}` image.
|
|
590
|
+
expect(minion).toContain('image: registry.example.com/demo/demo-app-minion-scraper:sha-abc123');
|
|
591
|
+
expect(minion).toMatch(/envFrom:[\s\S]*?secretRef:[\s\S]*?name: demo-app-secret/);
|
|
592
|
+
// file-liveness exec probe (find-based freshness). No infra ADMIN SECRETS —
|
|
593
|
+
// note this asserts the Mongo/Redis/RabbitMQ admin material is absent, NOT
|
|
594
|
+
// that no cluster-wide credential reaches the pod: `{appSlug}-secret` carries
|
|
595
|
+
// the MinIO root credential via STORAGE_ACCESS_KEY (F8). Distinct problem,
|
|
596
|
+
// distinct plan; do not read these assertions as covering it.
|
|
597
|
+
expect(minion).toContain('find /tmp/alive -mmin -1.5'); // 90s / 60 = 1.5 (exact, per schema)
|
|
598
|
+
expect(minion).not.toContain('valkey-secret');
|
|
599
|
+
expect(minion).not.toContain('REDIS_ADMIN_PASSWORD');
|
|
600
|
+
expect(minion).not.toContain('{{');
|
|
601
|
+
// ── Container isolation (Step 5-core) ──────────────────────────────────
|
|
602
|
+
// The security FLOOR is emitted unconditionally — no caller supplied any
|
|
603
|
+
// isolation input above, and it must appear anyway. That is the whole design
|
|
604
|
+
// (`MinionIsolationSchema`): a minion that authors nothing still comes out
|
|
605
|
+
// hardened.
|
|
606
|
+
expect(minion).toContain('runAsNonRoot: true');
|
|
607
|
+
expect(minion).toContain('readOnlyRootFilesystem: true');
|
|
608
|
+
expect(minion).toContain('allowPrivilegeEscalation: false');
|
|
609
|
+
expect(minion).toMatch(/capabilities:\s*\n\s*drop:\s*\n\s*- ALL/);
|
|
610
|
+
expect(minion).toMatch(/seccompProfile:\s*\n\s*type: RuntimeDefault/);
|
|
611
|
+
expect(minion).toContain('automountServiceAccountToken: false');
|
|
612
|
+
// Schema defaults for the authorable knobs.
|
|
613
|
+
expect(minion).toContain('runAsUser: 10001');
|
|
614
|
+
expect(minion).toContain('runAsGroup: 10001');
|
|
615
|
+
// ⚠️ The pairing that keeps healthy minions alive: `readOnlyRootFilesystem`
|
|
616
|
+
// WITHOUT a writable /tmp makes the liveness heartbeat unwritable, and k8s
|
|
617
|
+
// restart-loops every healthy minion. If a refactor ever emits one without
|
|
618
|
+
// the other, this is the assertion that catches it.
|
|
619
|
+
expect(minion).toMatch(/volumeMounts:\s*\n\s*- name: scratch-tmp\s*\n\s*mountPath: \/tmp/);
|
|
620
|
+
expect(minion).toMatch(/volumes:\s*\n\s*- name: scratch-tmp\s*\n\s*emptyDir: \{\}/);
|
|
621
|
+
// let_run → RollingUpdate maxSurge:1/maxUnavailable:0.
|
|
622
|
+
const [letRun] = K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', minionName: 'idem', reinstantiationPolicy: 'let_run' }, 'sha-abc123');
|
|
623
|
+
expect(letRun.yaml).toContain('type: RollingUpdate');
|
|
624
|
+
expect(letRun.yaml).toContain('maxSurge: 1');
|
|
625
|
+
expect(letRun.yaml).toContain('maxUnavailable: 0');
|
|
626
|
+
// Authored isolation: image-dependent uid/gid and an ADDITIVE scratch mount.
|
|
627
|
+
// `/tmp` must still lead — it is prepended by the renderer, not authored, and
|
|
628
|
+
// the schema rejects authoring it (duplicate mountPath = pod refused).
|
|
629
|
+
const [authored] = K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, {
|
|
630
|
+
appName: 'demo-app',
|
|
631
|
+
minionName: 'scraper',
|
|
632
|
+
isolation: { runAsUser: 1000, runAsGroup: 1000, writablePaths: ['/var/cache/scraper'] },
|
|
633
|
+
}, 'sha-abc123');
|
|
634
|
+
expect(authored.yaml).toContain('runAsUser: 1000');
|
|
635
|
+
expect(authored.yaml).toContain('runAsGroup: 1000');
|
|
636
|
+
expect(authored.yaml).toMatch(/- name: scratch-tmp\s*\n\s*mountPath: \/tmp/);
|
|
637
|
+
expect(authored.yaml).toMatch(/- name: scratch-var-cache-scraper\s*\n\s*mountPath: \/var\/cache\/scraper/);
|
|
638
|
+
// Authoring an extra mount must NOT displace the mandatory one.
|
|
639
|
+
expect(authored.yaml).toContain('mountPath: /tmp');
|
|
640
|
+
// …and the floor is unchanged by anything the author supplied.
|
|
641
|
+
expect(authored.yaml).toContain('readOnlyRootFilesystem: true');
|
|
642
|
+
expect(authored.yaml).toContain('runAsNonRoot: true');
|
|
643
|
+
});
|
|
644
|
+
it('renderWorkerForTarget (Phase 8) renders a scalable Deployment + ClusterIP Service on httpPort mounting {appSlug}-secret', () => {
|
|
645
|
+
const rendered = K8sManifestGenerator.renderWorkerForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', workerName: 'acker', httpPort: 8080, replicas: 3, healthPath: '/healthz', readyPath: '/readyz' }, 'sha-abc123');
|
|
646
|
+
expect(rendered.map((r) => r.name).sort()).toEqual([
|
|
647
|
+
'demo-app-acker-worker-deployment',
|
|
648
|
+
'demo-app-acker-worker-service',
|
|
649
|
+
]);
|
|
650
|
+
const deployment = rendered.find((r) => r.name.endsWith('worker-deployment')).yaml;
|
|
651
|
+
const service = rendered.find((r) => r.name.endsWith('worker-service')).yaml;
|
|
652
|
+
// Deployment: per-worker image, scalable, httpPort, {appSlug}-secret mount,
|
|
653
|
+
// httpGet probes. No unresolved handlebars.
|
|
654
|
+
expect(deployment).toContain('name: demo-app-worker-acker');
|
|
655
|
+
expect(deployment).toContain('image: registry.example.com/demo/demo-app-worker-acker:sha-abc123');
|
|
656
|
+
expect(deployment).toContain('replicas: 3');
|
|
657
|
+
expect(deployment).toContain('containerPort: 8080');
|
|
658
|
+
expect(deployment).toMatch(/envFrom:[\s\S]*?secretRef:[\s\S]*?name: demo-app-secret/);
|
|
659
|
+
expect(deployment).toMatch(/livenessProbe:[\s\S]*?path: "\/healthz"/);
|
|
660
|
+
expect(deployment).not.toContain('{{');
|
|
661
|
+
// ── Container isolation (F-B) ──────────────────────────────────────────
|
|
662
|
+
// Same floor as the minion, emitted unconditionally: the target above
|
|
663
|
+
// authors no `isolation` at all and must still come out hardened. Workers
|
|
664
|
+
// had ZERO floor before this — the parallel was missed when the minion one
|
|
665
|
+
// shipped, which is the enumeration failure this pins shut.
|
|
666
|
+
expect(deployment).toContain('runAsNonRoot: true');
|
|
667
|
+
expect(deployment).toContain('readOnlyRootFilesystem: true');
|
|
668
|
+
expect(deployment).toContain('allowPrivilegeEscalation: false');
|
|
669
|
+
expect(deployment).toMatch(/capabilities:\s*\n\s*drop:\s*\n\s*- ALL/);
|
|
670
|
+
expect(deployment).toMatch(/seccompProfile:\s*\n\s*type: RuntimeDefault/);
|
|
671
|
+
expect(deployment).toContain('automountServiceAccountToken: false');
|
|
672
|
+
expect(deployment).toContain('runAsUser: 10001');
|
|
673
|
+
expect(deployment).toContain('runAsGroup: 10001');
|
|
674
|
+
// `readOnlyRootFilesystem` without a writable mount breaks any worker that
|
|
675
|
+
// writes a temp file. Unlike the minion the coupling is not to a liveness
|
|
676
|
+
// heartbeat (workers probe over HTTP), so the failure would be a workload
|
|
677
|
+
// error rather than a restart loop — quieter, and worth pinning for that.
|
|
678
|
+
expect(deployment).toMatch(/volumeMounts:\s*\n\s*- name: scratch-tmp\s*\n\s*mountPath: \/tmp/);
|
|
679
|
+
expect(deployment).toMatch(/volumes:\s*\n\s*- name: scratch-tmp\s*\n\s*emptyDir: \{\}/);
|
|
680
|
+
// Service: ClusterIP on httpPort.
|
|
681
|
+
expect(service).toContain('name: demo-app-worker-acker');
|
|
682
|
+
expect(service).toContain('type: ClusterIP');
|
|
683
|
+
expect(service).toContain('port: 8080');
|
|
684
|
+
expect(service).not.toContain('{{');
|
|
685
|
+
});
|
|
686
|
+
it('renderWorkerForTarget honors an image-dependent uid and ADDITIVE mounts without lowering the floor', () => {
|
|
687
|
+
// The uid stays authorable for a measured reason: Wonder Todos' own two
|
|
688
|
+
// workers run at DIFFERENT uids — the Node one as `USER node` (1000), the
|
|
689
|
+
// Rust one as distroless `nonroot` (65532). A hardcoded uid would leave one
|
|
690
|
+
// of them unable to read its own image layers.
|
|
691
|
+
const [authored] = K8sManifestGenerator.renderWorkerForTarget(remoteTlsEnv(), repoRoot, {
|
|
692
|
+
appName: 'demo-app',
|
|
693
|
+
workerName: 'acker',
|
|
694
|
+
isolation: { runAsUser: 65532, runAsGroup: 65532, writablePaths: ['/var/run/acker'] },
|
|
695
|
+
}, 'sha-abc123');
|
|
696
|
+
expect(authored.yaml).toContain('runAsUser: 65532');
|
|
697
|
+
expect(authored.yaml).toContain('runAsGroup: 65532');
|
|
698
|
+
// The mandatory mount still LEADS — the renderer prepends it, and the schema
|
|
699
|
+
// rejects authoring `/tmp` (a duplicate mountPath makes k8s refuse the pod).
|
|
700
|
+
expect(authored.yaml).toMatch(/- name: scratch-tmp\s*\n\s*mountPath: \/tmp/);
|
|
701
|
+
expect(authored.yaml).toMatch(/- name: scratch-var-run-acker\s*\n\s*mountPath: \/var\/run\/acker/);
|
|
702
|
+
// Nothing an author supplied may relax the floor.
|
|
703
|
+
expect(authored.yaml).toContain('readOnlyRootFilesystem: true');
|
|
704
|
+
expect(authored.yaml).toContain('runAsNonRoot: true');
|
|
705
|
+
expect(authored.yaml).toMatch(/capabilities:\s*\n\s*drop:\s*\n\s*- ALL/);
|
|
706
|
+
});
|
|
707
|
+
it('renderWorker/renderMinion normalize a camelCase bucket key into the DNS name while KEEPING the raw key as identity', () => {
|
|
708
|
+
// camelCase keys are the natural JS config-map style (wonder-todos authors
|
|
709
|
+
// `myNodeWorker` / `marketingScrapper`). The k8s object / image / Service /
|
|
710
|
+
// selector MUST be RFC1123-normalized (else an invalid Docker tag + object
|
|
711
|
+
// name — the latent bug this fixes), but the IDENTITY —
|
|
712
|
+
// `APP_OWNED_SERVICE_NAME` (the language-agnostic worker's apps-manager
|
|
713
|
+
// bootstrap key) + the `wildo.ai/owned-service-name` pod label — MUST stay the
|
|
714
|
+
// RAW bucket key. This pins the split the templates encode.
|
|
715
|
+
const worker = K8sManifestGenerator.renderWorkerForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', workerName: 'myNodeWorker', httpPort: 8081, replicas: 1 }, 'sha-abc123');
|
|
716
|
+
// Per-manifest FILE keys use the normalized DNS segment (kebab).
|
|
717
|
+
expect(worker.map((r) => r.name).sort()).toEqual([
|
|
718
|
+
'demo-app-my-node-worker-worker-deployment',
|
|
719
|
+
'demo-app-my-node-worker-worker-service',
|
|
720
|
+
]);
|
|
721
|
+
const workerDeploy = parseYaml(worker.find((r) => r.name.endsWith('worker-deployment')).yaml);
|
|
722
|
+
const workerSvc = parseYaml(worker.find((r) => r.name.endsWith('worker-service')).yaml);
|
|
723
|
+
// DNS-NAME axis — object name, selector, and image ref are normalized.
|
|
724
|
+
expect(workerDeploy.metadata.name).toBe('demo-app-worker-my-node-worker');
|
|
725
|
+
expect(workerSvc.metadata.name).toBe('demo-app-worker-my-node-worker');
|
|
726
|
+
expect(workerDeploy.spec.selector.matchLabels['app.kubernetes.io/name']).toBe('demo-app-worker-my-node-worker');
|
|
727
|
+
expect(workerSvc.spec.selector['app.kubernetes.io/name']).toBe('demo-app-worker-my-node-worker');
|
|
728
|
+
expect(workerDeploy.spec.template.spec.containers[0].image).toBe('registry.example.com/demo/demo-app-worker-my-node-worker:sha-abc123');
|
|
729
|
+
// IDENTITY axis — the `owned-service-name` label (metadata + pod template) and
|
|
730
|
+
// the `APP_OWNED_SERVICE_NAME` env stay the RAW bucket key.
|
|
731
|
+
expect(workerDeploy.metadata.labels['wildo.ai/owned-service-name']).toBe('myNodeWorker');
|
|
732
|
+
expect(workerDeploy.spec.template.metadata.labels['wildo.ai/owned-service-name']).toBe('myNodeWorker');
|
|
733
|
+
const ownedNameEnv = workerDeploy.spec.template.spec.containers[0].env
|
|
734
|
+
.find((e) => e.name === 'APP_OWNED_SERVICE_NAME');
|
|
735
|
+
expect(ownedNameEnv?.value).toBe('myNodeWorker');
|
|
736
|
+
// Minion — same split; the minion stamps NO `APP_OWNED_SERVICE_*` env, so its
|
|
737
|
+
// identity is the `owned-service-name` label only (still the RAW key).
|
|
738
|
+
const [minion] = K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', minionName: 'marketingScrapper', reinstantiationPolicy: 'kill_previous' }, 'sha-abc123');
|
|
739
|
+
expect(minion.name).toBe('demo-app-minion-marketing-scrapper');
|
|
740
|
+
const minionDeploy = parseYaml(minion.yaml);
|
|
741
|
+
expect(minionDeploy.metadata.name).toBe('demo-app-minion-marketing-scrapper');
|
|
742
|
+
expect(minionDeploy.spec.selector.matchLabels['app.kubernetes.io/name']).toBe('demo-app-minion-marketing-scrapper');
|
|
743
|
+
expect(minionDeploy.spec.template.spec.containers[0].image).toBe('registry.example.com/demo/demo-app-minion-marketing-scrapper:sha-abc123');
|
|
744
|
+
expect(minionDeploy.metadata.labels['wildo.ai/owned-service-name']).toBe('marketingScrapper');
|
|
745
|
+
expect(minionDeploy.spec.template.metadata.labels['wildo.ai/owned-service-name']).toBe('marketingScrapper');
|
|
746
|
+
});
|
|
747
|
+
it('rendered app/minion/worker manifests are VALID YAML with coherent labels/selectors/ports (parse-based)', () => {
|
|
748
|
+
const app = K8sManifestGenerator.renderApplicationForTarget(remoteTlsEnv(), repoRoot, {
|
|
749
|
+
appName: 'demo-app',
|
|
750
|
+
backendServiceName: 'demo-app-backend-api',
|
|
751
|
+
ingressRoutes: [
|
|
752
|
+
{ host: 'app.example.com', serviceName: 'demo-app-app', port: 4242 },
|
|
753
|
+
{ host: 'api.example.com', serviceName: 'demo-app-backend-api', port: 4241 },
|
|
754
|
+
],
|
|
755
|
+
podPorts: [
|
|
756
|
+
{ name: 'backend', containerPort: 4241 },
|
|
757
|
+
{ name: 'health', containerPort: 4240 },
|
|
758
|
+
{ name: 'webhook', containerPort: 4239 },
|
|
759
|
+
],
|
|
760
|
+
healthPort: 4240,
|
|
761
|
+
frontends: [{ serviceName: 'demo-app-app', port: 4242 }],
|
|
762
|
+
}, 'sha1');
|
|
763
|
+
const [minion] = K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, {
|
|
764
|
+
appName: 'demo-app',
|
|
765
|
+
minionName: 'scraper',
|
|
766
|
+
reinstantiationPolicy: 'kill_previous',
|
|
767
|
+
liveness: { kind: 'file', filePath: '/tmp/wildo-minion-alive', staleAfterSec: 90 },
|
|
768
|
+
}, 'sha1');
|
|
769
|
+
const worker = K8sManifestGenerator.renderWorkerForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', workerName: 'acker', httpPort: 8080, replicas: 2, healthPath: '/healthz', readyPath: '/readyz' }, 'sha1');
|
|
770
|
+
// Parse EVERY rendered doc — `parseYaml` throws on malformed YAML.
|
|
771
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
772
|
+
const docs = {};
|
|
773
|
+
for (const { name, yaml } of [...app, minion, ...worker]) {
|
|
774
|
+
const parsed = parseYaml(yaml);
|
|
775
|
+
expect(parsed, `${name} is a YAML mapping`).toBeTypeOf('object');
|
|
776
|
+
expect(parsed.kind, `${name} has a kind`).toBeTruthy();
|
|
777
|
+
docs[name] = parsed;
|
|
778
|
+
}
|
|
779
|
+
const backendDeploy = docs['demo-app-backend-api-deployment'];
|
|
780
|
+
const backendSvc = docs['demo-app-backend-api-service'];
|
|
781
|
+
const feDeploy = docs['demo-app-app-deployment'];
|
|
782
|
+
const feSvc = docs['demo-app-app-service'];
|
|
783
|
+
const appIngress = docs['demo-app-ingress'];
|
|
784
|
+
const minionDeploy = docs['demo-app-minion-scraper'];
|
|
785
|
+
const workerDeploy = docs['demo-app-acker-worker-deployment'];
|
|
786
|
+
const workerSvc = docs['demo-app-acker-worker-service'];
|
|
787
|
+
// Per-service model: each Service AND Deployment selects ITS OWN pod
|
|
788
|
+
// SPECIFICALLY (the Deployment selector is immutable, so it must be the
|
|
789
|
+
// service-specific label), never the bare `app:` grouping label every sibling
|
|
790
|
+
// pod carries.
|
|
791
|
+
expect(backendSvc.spec.selector).toEqual({ 'app.kubernetes.io/name': 'demo-app-backend-api' });
|
|
792
|
+
expect(backendDeploy.spec.selector.matchLabels).toEqual({ 'app.kubernetes.io/name': 'demo-app-backend-api' });
|
|
793
|
+
expect(feSvc.spec.selector).toEqual({ 'app.kubernetes.io/name': 'demo-app-app' });
|
|
794
|
+
expect(feDeploy.spec.selector.matchLabels).toEqual({ 'app.kubernetes.io/name': 'demo-app-app' });
|
|
795
|
+
// Every service's pod-name label is DISTINCT — no Service over-matches a sibling.
|
|
796
|
+
const podNames = [backendDeploy, feDeploy, minionDeploy, workerDeploy].map((d) => d.spec.template.metadata.labels['app.kubernetes.io/name']);
|
|
797
|
+
expect(new Set(podNames).size).toBe(podNames.length);
|
|
798
|
+
// Every Deployment's selector.matchLabels ⊆ its own pod-template labels.
|
|
799
|
+
for (const d of [backendDeploy, feDeploy, minionDeploy, workerDeploy]) {
|
|
800
|
+
const podLabels = d.spec.template.metadata.labels;
|
|
801
|
+
for (const [k, v] of Object.entries(d.spec.selector.matchLabels)) {
|
|
802
|
+
expect(podLabels[k], `${d.metadata.name} selector[${k}]`).toBe(v);
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
// Ingress coherence: each rule routes to a REAL per-service Service, on a
|
|
806
|
+
// port that Service actually exposes.
|
|
807
|
+
const svcPortsByName = {
|
|
808
|
+
[backendSvc.metadata.name]: new Set(backendSvc.spec.ports.map((p) => p.port)),
|
|
809
|
+
[feSvc.metadata.name]: new Set(feSvc.spec.ports.map((p) => p.port)),
|
|
810
|
+
};
|
|
811
|
+
const ingressBackends = (appIngress.spec.rules ?? []).flatMap((r) => (r.http?.paths ?? []).map((p) => p.backend.service));
|
|
812
|
+
expect(ingressBackends.length).toBe(2);
|
|
813
|
+
for (const b of ingressBackends) {
|
|
814
|
+
const ports = svcPortsByName[b.name];
|
|
815
|
+
expect(ports, `ingress routes to a real Service '${b.name}'`).toBeTruthy();
|
|
816
|
+
expect(ports.has(b.port.number), `ingress port ${b.port.number} ∈ ${b.name} ports`).toBe(true);
|
|
817
|
+
}
|
|
818
|
+
// Minion file-liveness: the shell command survived YAML as a 3-element
|
|
819
|
+
// string array (NOT split by the embedded quotes / `$()`), singleton + Recreate.
|
|
820
|
+
const cmd = minionDeploy.spec.template.spec.containers[0].livenessProbe.exec.command;
|
|
821
|
+
expect(cmd).toEqual([
|
|
822
|
+
'/bin/sh',
|
|
823
|
+
'-c',
|
|
824
|
+
'test -n "$(find /tmp/wildo-minion-alive -mmin -1.5)"', // 90s / 60 = 1.5min (exact, per schema)
|
|
825
|
+
]);
|
|
826
|
+
expect(minionDeploy.spec.replicas).toBe(1);
|
|
827
|
+
expect(minionDeploy.spec.strategy.type).toBe('Recreate');
|
|
828
|
+
// Worker Service = ClusterIP selecting the worker pod on httpPort; scalable.
|
|
829
|
+
expect(workerSvc.spec.type).toBe('ClusterIP');
|
|
830
|
+
expect(workerSvc.spec.selector['app.kubernetes.io/name']).toBe('demo-app-worker-acker');
|
|
831
|
+
expect(workerSvc.spec.ports[0].port).toBe(8080);
|
|
832
|
+
expect(workerDeploy.spec.template.spec.containers[0].ports[0].containerPort).toBe(8080);
|
|
833
|
+
expect(workerDeploy.spec.replicas).toBe(2);
|
|
834
|
+
});
|
|
835
|
+
it('minion liveness command is YAML-injection-safe against authored filePath `:`/`#` and exec commands (F1)', () => {
|
|
836
|
+
// A `filePath` containing `:` (would become a YAML map) AND `#` (would
|
|
837
|
+
// truncate as a comment) must survive as the full command string.
|
|
838
|
+
const [fileMinion] = K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', minionName: 'm', liveness: { kind: 'file', filePath: '/data/app: cache #x', staleAfterSec: 90 } }, 'sha1');
|
|
839
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
840
|
+
const fileCmd = parseYaml(fileMinion.yaml).spec.template.spec.containers[0].livenessProbe.exec.command;
|
|
841
|
+
expect(fileCmd).toEqual(['/bin/sh', '-c', 'test -n "$(find /data/app: cache #x -mmin -1.5)"']);
|
|
842
|
+
// An authored exec command with a `: ` also survives intact.
|
|
843
|
+
const [execMinion] = K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', minionName: 'm2', liveness: { kind: 'exec', execCommand: ['sh', '-c', 'echo status: ok'] } }, 'sha1');
|
|
844
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
845
|
+
const execCmd = parseYaml(execMinion.yaml).spec.template.spec.containers[0].livenessProbe.exec.command;
|
|
846
|
+
expect(execCmd).toEqual(['sh', '-c', 'echo status: ok']);
|
|
847
|
+
});
|
|
848
|
+
it('renderRemoteClusterInfra (remote) writes flat cluster-issuer.yaml (HTTP-01 + acme email, NOT dns01) + tls-config.yaml WITHOUT the wildcard TLSStore', () => {
|
|
849
|
+
const k8sDir = mkdtempSync(join(tmpdir(), 'wildo-remote-cluster-'));
|
|
850
|
+
tempDirs.push(k8sDir);
|
|
851
|
+
const written = K8sManifestGenerator.renderRemoteClusterInfra(remoteTlsEnv(), repoRoot, k8sDir);
|
|
852
|
+
expect(written).toHaveLength(2);
|
|
853
|
+
expect(existsSync(join(k8sDir, 'cluster-issuer.yaml'))).toBe(true);
|
|
854
|
+
expect(existsSync(join(k8sDir, 'tls-config.yaml'))).toBe(true);
|
|
855
|
+
const issuer = readFileSync(join(k8sDir, 'cluster-issuer.yaml'), 'utf8');
|
|
856
|
+
expect(issuer).toContain('kind: ClusterIssuer');
|
|
857
|
+
expect(issuer).toContain('name: letsencrypt-prod');
|
|
858
|
+
expect(issuer).toContain('name: letsencrypt-staging');
|
|
859
|
+
expect(issuer).toContain('email: ops@example.com');
|
|
860
|
+
expect(issuer).toContain('http01:'); // per-ingress solver
|
|
861
|
+
expect(issuer).not.toContain('dns01:'); // wildcard DNS-01 is the deferred path
|
|
862
|
+
expect(issuer).not.toContain('{{');
|
|
863
|
+
const tlsConfig = readFileSync(join(k8sDir, 'tls-config.yaml'), 'utf8');
|
|
864
|
+
// Wildcard TLSStore suppressed under per-ingress; websocket transport remains.
|
|
865
|
+
expect(tlsConfig).not.toContain('kind: TLSStore');
|
|
866
|
+
expect(tlsConfig).not.toContain('wildcard-app-example-com-tls');
|
|
867
|
+
expect(tlsConfig).toContain('kind: ServersTransport');
|
|
868
|
+
expect(tlsConfig).not.toContain('{{');
|
|
869
|
+
});
|
|
870
|
+
it('renderRemoteClusterInfra (local) renders nothing — the local ingress stack is owned by phaseIngressStack', () => {
|
|
871
|
+
const k8sDir = mkdtempSync(join(tmpdir(), 'wildo-local-cluster-'));
|
|
872
|
+
tempDirs.push(k8sDir);
|
|
873
|
+
expect(K8sManifestGenerator.renderRemoteClusterInfra(LOCAL_ENV, repoRoot, k8sDir)).toEqual([]);
|
|
874
|
+
expect(existsSync(join(k8sDir, 'cluster-issuer.yaml'))).toBe(false);
|
|
875
|
+
});
|
|
876
|
+
it('renderRemoteTraefikValues (remote) writes a provider-agnostic LoadBalancer values file; local writes nothing', () => {
|
|
877
|
+
const outputDir = mkdtempSync(join(tmpdir(), 'wildo-traefik-'));
|
|
878
|
+
tempDirs.push(outputDir);
|
|
879
|
+
const path = K8sManifestGenerator.renderRemoteTraefikValues(remoteTlsEnv(), repoRoot, outputDir);
|
|
880
|
+
expect(path).toBe(join(outputDir, 'traefik-values.yaml'));
|
|
881
|
+
const values = readFileSync(path, 'utf8');
|
|
882
|
+
expect(values).toContain('type: LoadBalancer');
|
|
883
|
+
expect(values).not.toContain('{{');
|
|
884
|
+
expect(K8sManifestGenerator.renderRemoteTraefikValues(LOCAL_ENV, repoRoot, outputDir)).toBeNull();
|
|
885
|
+
});
|
|
886
|
+
/**
|
|
887
|
+
* Network segment labels on the minion pod (Step 5-egress / 5A, labels half).
|
|
888
|
+
*
|
|
889
|
+
* Pinned against the RENDERED YAML rather than against
|
|
890
|
+
* `buildRuntimeNetworkPodLabels`, which is already pinned in `platform-config-lib`.
|
|
891
|
+
* A test that re-derives membership and compares it to itself proves nothing about
|
|
892
|
+
* the template — the failure modes that live HERE are a missing interpolation, a
|
|
893
|
+
* mis-indented block that becomes a sibling key, and an unquoted `true` that a
|
|
894
|
+
* YAML reader parses as a boolean.
|
|
895
|
+
*/
|
|
896
|
+
describe('K8sManifestGenerator — minion network segment labels', () => {
|
|
897
|
+
const renderMinion = (accessDeclaration) => K8sManifestGenerator.renderMinionForTarget(remoteTlsEnv(), repoRoot, { appName: 'demo-app', minionName: 'scraper', accessDeclaration }, 'sha-abc123')[0].yaml;
|
|
898
|
+
it('labels a NON-declaring minion for platform + queue + cache only', () => {
|
|
899
|
+
const yaml = renderMinion();
|
|
900
|
+
expect(yaml).toContain('wildo.ai/net-wildo-platform: "true"');
|
|
901
|
+
expect(yaml).toContain('wildo.ai/net-wildo-data-rabbit: "true"');
|
|
902
|
+
expect(yaml).toContain('wildo.ai/net-wildo-data-redis: "true"');
|
|
903
|
+
// The D11/R3 gate, visible in the manifest.
|
|
904
|
+
expect(yaml).not.toContain('wildo.ai/net-wildo-data-mongo');
|
|
905
|
+
expect(yaml).not.toContain('wildo.ai/net-wildo-data-objects');
|
|
906
|
+
});
|
|
907
|
+
it('adds the database and object segments once resourceAccess is declared', () => {
|
|
908
|
+
const yaml = renderMinion({ resourceAccess: { read: ['todos'] } });
|
|
909
|
+
expect(yaml).toContain('wildo.ai/net-wildo-data-mongo: "true"');
|
|
910
|
+
expect(yaml).toContain('wildo.ai/net-wildo-data-objects: "true"');
|
|
911
|
+
});
|
|
912
|
+
it('labels the BACKEND for edge + data, and a static FRONTEND for the edge ONLY', () => {
|
|
913
|
+
// Built from the same target as the isolation-floor test above, which is known
|
|
914
|
+
// to render BOTH deployments. Two earlier attempts invented a target and
|
|
915
|
+
// rendered nothing — `frontends` is the field that decides whether a frontend
|
|
916
|
+
// deployment exists at all, and a pin that selects nothing reports as a missing
|
|
917
|
+
// label rather than as a broken fixture.
|
|
918
|
+
const rendered = K8sManifestGenerator.renderApplicationForTarget(remoteTlsEnv(), repoRoot, {
|
|
919
|
+
appName: 'demo-app',
|
|
920
|
+
backendServiceName: 'demo-app-backend-api',
|
|
921
|
+
ingressRoutes: [
|
|
922
|
+
{ host: 'app.example.com', serviceName: 'demo-app-app', port: 4242 },
|
|
923
|
+
{ host: 'api.example.com', serviceName: 'demo-app-backend-api', port: 4241 },
|
|
924
|
+
],
|
|
925
|
+
podPorts: [{ name: 'backend', containerPort: 4241 }],
|
|
926
|
+
healthPort: 4240,
|
|
927
|
+
frontends: [{ serviceName: 'demo-app-app', port: 4242 }],
|
|
928
|
+
}, 'sha-abc123');
|
|
929
|
+
const backend = rendered.find((r) => r.name === 'demo-app-backend-api-deployment').yaml;
|
|
930
|
+
const frontend = rendered.find((r) => r.name === 'demo-app-app-deployment').yaml;
|
|
931
|
+
// The general runtime: serves the public route AND reaches the app's data.
|
|
932
|
+
expect(backend).toContain('wildo.ai/net-wildo-edge: "true"');
|
|
933
|
+
expect(backend).toContain('wildo.ai/net-wildo-data-mongo: "true"');
|
|
934
|
+
// A static file server holds no credential and reaches no backing service.
|
|
935
|
+
// Passing APPLICATION_BACKEND here "to keep it simple" would put an nginx
|
|
936
|
+
// container on every database segment — the widest over-grant this change
|
|
937
|
+
// could have made, and it would have looked like tidy reuse. This is the pin
|
|
938
|
+
// that catches it.
|
|
939
|
+
expect(frontend).toContain('wildo.ai/net-wildo-edge: "true"');
|
|
940
|
+
expect(frontend).not.toContain('wildo.ai/net-wildo-data-mongo');
|
|
941
|
+
expect(frontend).not.toContain('wildo.ai/net-wildo-data-objects');
|
|
942
|
+
expect(frontend).not.toContain('wildo.ai/net-wildo-data-rabbit');
|
|
943
|
+
// Nor the PLATFORM segment: a static file server authenticates to nothing and
|
|
944
|
+
// has no bootstrap material to fetch. That membership was unconditional until
|
|
945
|
+
// it was narrowed deliberately — asserting it here is what stops it drifting
|
|
946
|
+
// back on the next "every runtime needs platform" simplification.
|
|
947
|
+
expect(frontend).not.toContain('wildo.ai/net-wildo-platform');
|
|
948
|
+
});
|
|
949
|
+
it('never labels a minion for the EDGE segment', () => {
|
|
950
|
+
// A minion serves no HTTP route; joining the edge would be reachability it
|
|
951
|
+
// has no use for, and the renderer passes `servesHttp: false` for that reason.
|
|
952
|
+
expect(renderMinion({ resourceAccess: { read: ['todos'] } })).not.toContain('wildo.ai/net-wildo-edge');
|
|
953
|
+
});
|
|
954
|
+
it('QUOTES every label value, so `true` is not read as a boolean', () => {
|
|
955
|
+
// Unquoted `true` is a YAML boolean, and a label value must be a string —
|
|
956
|
+
// k8s rejects it, but only at apply time, which is the worst place to learn.
|
|
957
|
+
expect(renderMinion()).not.toMatch(/wildo\.ai\/net-[a-z-]+: true$/m);
|
|
958
|
+
});
|
|
959
|
+
it('indents the block INSIDE the pod template labels mapping', () => {
|
|
960
|
+
// A mis-indented block becomes a sibling key of `labels:` and silently stops
|
|
961
|
+
// being a label at all. Anchored on the neighbouring authored label so the
|
|
962
|
+
// pin tracks the real mapping rather than a column number.
|
|
963
|
+
const yaml = renderMinion();
|
|
964
|
+
expect(yaml).toMatch(/\n {8}wildo\.ai\/owned-service-name: "scraper"\n {8}wildo\.ai\/net-/);
|
|
965
|
+
});
|
|
966
|
+
});
|
|
967
|
+
});
|
|
968
|
+
//# sourceMappingURL=k8s-manifest-generator.service.test.js.map
|