@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 @@
|
|
|
1
|
+
{"version":3,"file":"saas-skeleton.service.js","sourceRoot":"","sources":["../../../../../../src/services/application/saas-skeleton.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAC9H,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AAC5H,OAAO,EACL,0CAA0C,EAC1C,qCAAqC,GACtC,MAAM,0EAA0E,CAAC;AAClF,OAAO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;oBAChB,KAAK,EAAE,oCAAoC;oBAC3C,OAAO,EAAE,MAAM;oBACf,IAAI,EAAE,CAAC,UAAU,EAAE,IAAI,IAAI,iBAAiB,EAAE,UAAU,EAAE,IAAI,IAAI,aAAa,EAAE,UAAU,EAAE,IAAI,IAAI,cAAc,EAAE,OAAO,CAAC;oBAC7H,GAAG,EAAE,OAAO;iBACb,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IAC7E,CAAC;CACF,CAAC","sourcesContent":["/**\n * SaasSkeletonService — materialize a full, bootable-after-setup application\n * skeleton from `templates/saas/skeleton/` (issue #51, T1–T10).\n *\n * The template tree carries three file classes:\n * - plain files, copied verbatim (`tsconfig.common.json`, package sources, …);\n * - `*.hbs` files, rendered through the shared Handlebars `TemplateProcessor`\n * with the app identity + ALLOCATED ports (D4: two applications sharing a\n * framework checkout must never collide on ports);\n * - `gitignore`, written as `.gitignore` (a literal dotfile inside the\n * template tree would make git ignore the template's own files).\n *\n * Two files are DERIVED rather than templated, per the T4 rule (\"derived from\n * the framework's current override set, never a frozen copy\"):\n * - the root `package.json` — its `pnpm.overrides` are computed live from\n * `scripts/app-dependency-alignment/propagated-engine-overrides.json`\n * (names) joined with the framework root's `pnpm.overrides` (versions),\n * plus, in framework-developer mode, `file:` links for every\n * `frameworkFileLinkPackages` entry resolved through the framework's own\n * pnpm-workspace;\n * - `.wildo-saas/dev-framework-scripts/run-dev-stack.sh` — its\n * `pnpm --filter` package lists are the scaffolded workspace members.\n *\n * DUAL MODE (D7 — both modes authored from the start). Both are live: the npm\n * publish lane put all twenty declared packages on the registry at 1.1.1 on\n * 2026-08-31, `@wildo-ai/dev-companion` among them, so app-creator mode installs\n * and delivers like any other consumer:\n * - `framework-dev`: `file:` overrides into the checkout, dev-framework\n * scripts installed, companion dist delivered via\n * `scripts/dev-orchestrator/dev-companion-deliver.mjs`;\n * - `app-creator`: `@wildo-ai/*` overrides pinned to the published framework\n * version; the companion drop is a re-export shim over the published\n * `@wildo-ai/dev-companion`, keeping the framework-dev entry layout.\n */\nimport { spawnSync } from 'child_process';\nimport { appendFileSync, copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync, chmodSync } from 'fs';\nimport { dirname, join, relative } from 'path';\nimport { parse as parseYaml } from 'yaml';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\nimport { COMPANION_PORT_OFFSET, WORKBENCH_PORT_OFFSET } from '~wildo-cli/services/application/application-dev-port-offsets';\nimport {\n APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE,\n ApplicationDependencyAlignmentService,\n} from '~wildo-cli/services/application/application-dependency-alignment.service';\nimport { resolveFrameworkRootManifestPath } from '~wildo-cli/services/framework/installed-framework-assets.service';\n\n/**\n * The two delivery modes every skeleton artifact is authored for (issue #51 D7).\n * The mode decides the root manifest's dependency story and which dev tooling\n * the scaffold materializes — it never changes the application's own sources.\n */\nexport enum SkeletonMode {\n /**\n * In-repo example app beside the framework checkout: `file:` overrides into\n * the checkout's workspace packages, dev-framework scripts installed, and the\n * companion dist delivered straight from the framework build.\n */\n FRAMEWORK_DEV = 'framework-dev',\n /**\n * Standalone app consuming published `@wildo-ai/*` versions. No framework\n * scripts; the companion arrives as a shim over the published\n * `@wildo-ai/dev-companion` rather than as a hard-linked build mirror. The\n * root `dev` script runs the workspace members' own dev scripts.\n */\n APP_CREATOR = 'app-creator',\n}\n\nexport interface SkeletonPorts {\n backend: number;\n app: number;\n companion: number;\n workbench: number;\n}\n\nexport interface SaasSkeletonOptions {\n name: string;\n frameworkPath: string | null;\n mode: SkeletonMode;\n portBase?: number;\n skipInstall?: boolean;\n log: { info(message: string): void; warn(message: string): void };\n}\n\nexport interface SaasSkeletonResult {\n slug: string;\n ports: SkeletonPorts;\n filesWritten: number;\n companionDelivered: boolean;\n installed: boolean;\n built: boolean;\n}\n\nconst SKELETON_TEMPLATE_RELATIVE = 'templates/saas/skeleton';\nconst OVERRIDES_MANIFEST_RELATIVE = 'scripts/app-dependency-alignment/propagated-engine-overrides.json';\nconst COMPANION_DELIVER_RELATIVE = 'scripts/dev-orchestrator/dev-companion-deliver.mjs';\n/**\n * The workspace members `buildWorkspaceYaml` declares, minus the two GENERATED drops (their\n * manifests are written by their own generators and would overwrite anything injected here).\n * Kept beside that function on purpose: the two lists describe the same scaffold and must move\n * together.\n */\nconst SCAFFOLDED_WORKSPACE_MEMBERS = ['.', 'specifications', 'shared-lib', 'backend-api', 'frontend'] as const;\n\nconst DEFAULT_PORT_BASE = 4241;\nconst PORT_BASE_STRIDE = 10;\n\nfunction toSlug(name: string): string {\n return name\n .trim()\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, '-')\n .replace(/^-+|-+$/g, '');\n}\n\nfunction toDisplayName(name: string): string {\n return name\n .replace(/[-_]+/g, ' ')\n .replace(/\\b\\w/g, c => c.toUpperCase());\n}\n\n/**\n * Allocate the app's port base by scanning every sibling application's AUTHORED\n * port declarations under `<framework>/examples/*` (saas config `defaultPort:`\n * plus infra `port:` values). The next free `PORT_BASE_STRIDE` block above the\n * highest occupied one wins, so a second app lands at 4251 beside Wonder\n * Todos' 4241–4244 instead of silently colliding (the exact failure of the\n * 2026-08-25 hand bootstrap that T8/D4 records).\n */\nfunction allocatePortBase(frameworkPath: string | null): number {\n const used = collectUsedApplicationPorts(frameworkPath);\n // Walk stride-aligned bases upward until BOTH the service block (base..base+stride-1)\n // and the derived companion port (base+offset) are free of every scanned port.\n for (let base = DEFAULT_PORT_BASE; base < 5000; base += PORT_BASE_STRIDE) {\n if (portBlockIsFree(base, used)) {\n return base;\n }\n }\n // Exhaustion must REFUSE, not silently hand back the default base — returning\n // 4241 here would scaffold an app directly onto Wonder Todos' ports, which is\n // the exact collision this allocator exists to prevent.\n throw new Error(\n 'No free application port block found in the 4000-4999 tier (stride 10 + companion offset 100). '\n + 'Pass an explicit --port-base outside the scanned range, or retire an unused sibling application.',\n );\n}\n\n/** True when the whole service block AND both derived tool ports avoid every scanned port. */\nfunction portBlockIsFree(base: number, used: ReadonlySet<number>): boolean {\n const blockPorts = Array.from({ length: PORT_BASE_STRIDE }, (_, i) => base + i);\n return blockPorts.every((port) => !used.has(port))\n && !used.has(base + COMPANION_PORT_OFFSET)\n && !used.has(base + WORKBENCH_PORT_OFFSET);\n}\n\n/** Collect every authored sibling port (saas `defaultPort:` + infra `port:`) in the 4xxx tier. */\nfunction collectUsedApplicationPorts(frameworkPath: string | null): Set<number> {\n const usedPorts: number[] = [];\n if (frameworkPath) {\n const examplesHome = join(frameworkPath, 'examples');\n if (existsSync(examplesHome)) {\n for (const entry of readdirSync(examplesHome, { withFileTypes: true })) {\n if (!entry.isDirectory()) continue;\n const appRoot = join(examplesHome, entry.name);\n for (const candidate of [\n join(appRoot, 'wildo.saas.config.ts'),\n join(appRoot, 'infrastructure/local/wildo.infra.local.config.ts'),\n ]) {\n if (!existsSync(candidate)) continue;\n const source = readFileSync(candidate, 'utf8');\n for (const match of source.matchAll(/(?:defaultPort|port)\\s*:\\s*(\\d{4,5})/g)) {\n usedPorts.push(Number(match[1]));\n }\n }\n }\n }\n }\n return new Set(usedPorts.filter((port) => port >= 4000 && port < 5000));\n}\n\ninterface FrameworkWorkspacePackage {\n name: string;\n root: string;\n}\n\n/** Resolve every framework workspace member's package name → absolute root. */\nfunction readFrameworkWorkspacePackages(frameworkPath: string): Map<string, FrameworkWorkspacePackage> {\n const workspace = parseYaml(readFileSync(join(frameworkPath, 'pnpm-workspace.yaml'), 'utf8')) as { packages?: string[] };\n const packages = new Map<string, FrameworkWorkspacePackage>();\n for (const memberPattern of workspace.packages ?? []) {\n // The framework workspace deliberately uses explicit entries; tolerate a\n // one-level trailing glob for robustness.\n const candidates = memberPattern.endsWith('/*')\n ? readdirSync(join(frameworkPath, memberPattern.slice(0, -2)), { withFileTypes: true })\n .filter((entry) => entry.isDirectory())\n .map((entry) => join(memberPattern.slice(0, -2), entry.name))\n : [memberPattern];\n for (const memberRelative of candidates) {\n const manifestPath = join(frameworkPath, memberRelative, 'package.json');\n if (!existsSync(manifestPath)) continue;\n const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as { name?: string };\n if (manifest.name) packages.set(manifest.name, { name: manifest.name, root: join(frameworkPath, memberRelative) });\n }\n }\n return packages;\n}\n\ninterface OverridesManifest {\n propagatedOverrideKeys?: string[];\n frameworkFileLinkPackages?: string[];\n}\n\nfunction buildRootOverrides(input: {\n appRoot: string;\n frameworkPath: string;\n mode: SkeletonMode;\n}): Record<string, string> {\n const manifest = JSON.parse(\n readFileSync(join(input.frameworkPath, OVERRIDES_MANIFEST_RELATIVE), 'utf8'),\n ) as OverridesManifest;\n // Through the resolver, never `<root>/package.json`: in an INSTALLED framework-assets root that\n // file is the CLI's own manifest, and the framework root manifest ships beside it under another\n // name (`installed-framework-assets.service.ts`).\n const frameworkRootManifest = JSON.parse(\n readFileSync(resolveFrameworkRootManifestPath(input.frameworkPath), 'utf8'),\n ) as { version?: string; pnpm?: { overrides?: Record<string, string> } };\n const frameworkOverrides = frameworkRootManifest.pnpm?.overrides ?? {};\n const frameworkInfo = JSON.parse(\n readFileSync(join(input.frameworkPath, 'wildo-framework.info.json'), 'utf8'),\n ) as { version: string };\n\n const overrides: Record<string, string> = {};\n\n if (input.mode === SkeletonMode.FRAMEWORK_DEV) {\n const workspacePackages = readFrameworkWorkspacePackages(input.frameworkPath);\n for (const packageName of manifest.frameworkFileLinkPackages ?? []) {\n const workspacePackage = workspacePackages.get(packageName);\n if (!workspacePackage) {\n throw new Error(\n `frameworkFileLinkPackages names '${packageName}' but no framework workspace member carries that name — `\n + `fix ${OVERRIDES_MANIFEST_RELATIVE} or the workspace.`,\n );\n }\n overrides[packageName] = `file:${relative(input.appRoot, workspacePackage.root)}`;\n }\n } else {\n for (const packageName of manifest.frameworkFileLinkPackages ?? []) {\n overrides[packageName] = frameworkInfo.version;\n }\n }\n\n for (const key of manifest.propagatedOverrideKeys ?? []) {\n const version = frameworkOverrides[key];\n if (!version) {\n throw new Error(\n `propagatedOverrideKeys names '${key}' but the framework root pnpm.overrides carries no version for it.`,\n );\n }\n overrides[key] = version;\n }\n\n return Object.fromEntries(Object.entries(overrides).sort(([a], [b]) => a.localeCompare(b)));\n}\n\nfunction buildRootPackageJson(input: {\n slug: string;\n appRoot: string;\n frameworkPath: string | null;\n mode: SkeletonMode;\n}): string {\n const frameworkRootManifest = input.frameworkPath\n ? JSON.parse(readFileSync(resolveFrameworkRootManifestPath(input.frameworkPath), 'utf8')) as { packageManager?: string }\n : {};\n\n const manifest: Record<string, unknown> = {\n name: `@${input.slug}/root`,\n version: '1.0.0',\n private: true,\n ...(frameworkRootManifest.packageManager ? { packageManager: frameworkRootManifest.packageManager } : {}),\n scripts: {\n // `run-dev-stack.sh` is only WRITTEN in framework-dev mode; an app-creator\n // manifest pointing at it would ship a `pnpm dev` that fails on a missing\n // file. App-creator runs the workspace members' own dev scripts directly.\n ...(input.mode === SkeletonMode.FRAMEWORK_DEV\n ? {\n dev: 'bash .wildo-saas/dev-framework-scripts/run-dev-stack.sh full',\n 'dev:sync': 'bash .wildo-saas/dev-framework-scripts/sync-engine.sh',\n }\n : { dev: 'pnpm --parallel -r run dev' }),\n build: 'turbo build',\n clean: 'turbo run clean',\n },\n ...(input.frameworkPath\n ? { pnpm: { overrides: buildRootOverrides({ appRoot: input.appRoot, frameworkPath: input.frameworkPath, mode: input.mode }) } }\n : {}),\n devDependencies: {\n '@wildo-ai/external-connectors-models': '*',\n // The compiled agent knowledge (skills, rules, references) `wildo assets sync` delivers into\n // `.claude/` and `.wildo-saas/docs/`. Declared at the ROOT so the CLI resolves it from the\n // application without knowing which workspace member happens to depend on it transitively.\n '@wildo-ai/framework-knowledge': '*',\n '@wildo-ai/platform-config-lib': '*',\n '@wildo-ai/saas-models': '*',\n tsx: '^4.21.0',\n turbo: '^2.8.11',\n },\n };\n return `${JSON.stringify(manifest, null, 2)}\\n`;\n}\n\nfunction buildWorkspaceYaml(): string {\n return [\n 'packages:',\n \" - 'specifications'\",\n \" - 'shared-lib'\",\n \" - 'backend-api'\",\n \" - 'frontend'\",\n ' # The dev companion drop: a GENERATED dist-only delivery (see the app',\n ' # .gitignore); its manifest is a workspace member so its dependencies',\n ' # resolve like every other package.',\n \" - '.wildo-saas/wildo-dev-companion'\",\n ' # The application-creation workbench drop: a launcher, not a delivery. Unlike the',\n ' # companion it carries no dist — in framework-dev mode it runs Vite against the',\n ' # framework source. It is a workspace member so `pnpm --filter` can reach it from',\n ' # the app root, which is what puts it in the dev stack beside everything else.',\n ' #',\n ' # Listed unconditionally, though an APP-CREATOR install never materializes the',\n ' # directory (it has no framework source to run Vite against). That is safe, and',\n ' # measured rather than assumed: a `packages:` entry naming a directory that does',\n ' # not exist is silently ignored — `pnpm install` exits 0, reports no warning, and',\n ' # does not count it among the workspace projects. The companion entry above has',\n ' # relied on the same behaviour for as long as it has existed, since it too is',\n ' # absent until its dist is delivered.',\n \" - '.wildo-saas/application-creation-workbench'\",\n '',\n ].join('\\n');\n}\n\nfunction buildRunDevStack(slug: string): string {\n return `#!/bin/bash\n\n# GENERATED by \\`wildo init\\` (issue #51 T9) — the mode→package dispatch mirrors\n# this application's workspace members. Regenerate by re-running the scaffolder\n# rather than hand-editing the filter lists.\n#\n# \\`full\\` DERIVES its set rather than listing it, and that is the whole point of the\n# mode. An application GROWS workspace members after \\`wildo init\\` — \\`wildo compose\n# add-website\\`, \\`add-technical-doc\\`, \\`add-minion\\`, \\`add-worker-node\\` each append one\n# — and no scenario edits this file. A hand-written list here is therefore a second\n# enumeration of a population somebody else owns, and it drifted exactly that way: a\n# composed documentation portal was a declared service, a workspace member, and an\n# allocated port, and \\`full\\` never started it. Nothing reported that, because an\n# unlisted package simply does not appear.\n#\n# \\`pnpm -r\\` runs \\`dev\\` in every workspace package that HAS one, which is the honest\n# reading of \"the full stack\" and cannot fall behind a scenario. The narrow modes below\n# stay explicit: each names a deliberate subset, so listing is what they are for.\n\nset -u\nset -o pipefail\n\nSCRIPT_DIR=\"$(cd \"$(dirname \"$0\")\" && pwd)\"\nMODE=\"\\${1:-full}\"\n\ncase \"$MODE\" in\n full)\n STACK_COMMAND=(\n pnpm --parallel -r\n run dev\n )\n ;;\n backend)\n STACK_COMMAND=(\n pnpm --parallel\n --filter @${slug}/specifications\n --filter @${slug}/shared-lib\n --filter @${slug}/backend-api\n run dev\n )\n ;;\n companion)\n STACK_COMMAND=(\n pnpm --parallel\n --filter @${slug}/specifications\n --filter @${slug}/shared-lib\n --filter @wildo-ai/dev-companion\n run dev\n )\n ;;\n frontend)\n STACK_COMMAND=(\n pnpm --parallel\n --filter @${slug}/main-app\n run dev\n )\n ;;\n # The workbench ALONE, for iterating on the tool itself. It talks to a companion over HTTP\n # rather than importing it, so it runs perfectly well against a companion already started by\n # another mode — and starting it here does not drag the application's stack along.\n workbench)\n STACK_COMMAND=(\n pnpm --parallel\n --filter @wildo-ai/application-creation-workbench\n run dev\n )\n ;;\n *)\n echo \"[dev-stack] Unknown mode: $MODE\"\n echo \"[dev-stack] Expected one of: full, backend, companion, frontend, workbench\"\n exit 1\n ;;\nesac\n\nif [ -f \"$SCRIPT_DIR/sync-engine.sh\" ]; then\n \"$SCRIPT_DIR/sync-engine.sh\" &\n SYNC_PID=$!\n HAS_CLEANED_UP=0\n\n cleanup() {\n if [ \"$HAS_CLEANED_UP\" -eq 1 ]; then\n return\n fi\n HAS_CLEANED_UP=1\n if kill -0 \"$SYNC_PID\" 2>/dev/null; then\n kill \"$SYNC_PID\" 2>/dev/null || true\n wait \"$SYNC_PID\" 2>/dev/null || true\n fi\n }\n\n trap cleanup EXIT INT TERM\nfi\n\n\"\\${STACK_COMMAND[@]}\"\n`;\n}\n\n/**\n * Declare, in every scaffolded workspace package, the engine peers it must SUPPLY (issue #167).\n *\n * A pnpm override rewrites a specifier that some manifest wrote down; it never creates one. A peer\n * nobody declares therefore falls to `autoInstallPeers`, whose resolution is STICKY: correct on a\n * fresh lockfile, and frozen at whatever predates the override otherwise. So an application that\n * does not declare the engine's peers cannot receive a later pin bump — moving a root pin from `^6`\n * to `^7` leaves it on 6 with a warning and no remedy short of deleting its lockfile.\n *\n * Each name is written as `\"*\"`, never a version: the root `pnpm.overrides` block written beside it\n * already carries the pin, so a framework bump reaches the application with no edit here.\n *\n * The name set is READ from the generated `enginePeerClosure` rather than re-derived. That map is\n * produced and gated by `scripts/app-dependency-alignment.mjs`; only the trivial union lookup is\n * repeated here, because this service is compiled TypeScript in another package and cannot import\n * the repository's `.mjs` derivation.\n *\n * Nothing is ever removed — the same restraint the reconciler applies. A template-authored peer that\n * the closure does not require (`ufo`, today) is the application's own declaration, and a shared name\n * is not evidence of shared ownership.\n */\nfunction declareEnginePeersInScaffoldedPackages(input: { appRoot: string; frameworkPath: string }): void {\n const manifestPath = join(input.frameworkPath, OVERRIDES_MANIFEST_RELATIVE);\n if (!existsSync(manifestPath)) return;\n const { enginePeerClosure } = JSON.parse(readFileSync(manifestPath, 'utf8')) as {\n enginePeerClosure?: Record<string, string[]>;\n };\n if (!enginePeerClosure) return;\n\n for (const member of SCAFFOLDED_WORKSPACE_MEMBERS) {\n const packageJsonPath = join(input.appRoot, member, 'package.json');\n if (!existsSync(packageJsonPath)) continue;\n const manifest = JSON.parse(readFileSync(packageJsonPath, 'utf8')) as Record<string, Record<string, string> | unknown>;\n\n const frameworkDependencies = new Set<string>();\n for (const field of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies']) {\n for (const name of Object.keys((manifest[field] as Record<string, string> | undefined) ?? {})) {\n if (name.startsWith('@wildo-ai/')) frameworkDependencies.add(name);\n }\n }\n const required = new Set<string>();\n for (const dependencyName of frameworkDependencies) {\n for (const peerName of enginePeerClosure[dependencyName] ?? []) required.add(peerName);\n }\n // A name the package already declares as a real dependency needs no peer entry: the override\n // reaches it there.\n for (const field of ['dependencies', 'devDependencies', 'optionalDependencies']) {\n for (const name of Object.keys((manifest[field] as Record<string, string> | undefined) ?? {})) required.delete(name);\n }\n if (required.size === 0) continue;\n\n const peers = { ...((manifest.peerDependencies as Record<string, string> | undefined) ?? {}) };\n for (const name of required) peers[name] = '*';\n manifest.peerDependencies = Object.fromEntries(Object.keys(peers).sort().map((name) => [name, peers[name]]));\n writeFileSync(packageJsonPath, `${JSON.stringify(manifest, null, 2)}\\n`, 'utf8');\n }\n}\n\n/**\n * Seed the application's dependency-exclusion list from the framework's own `deliberatelyExcluded`\n * (issue #222).\n *\n * The list names third-party packages that `wildo align-deps` must NEVER pin to the engine's version\n * because the application's own toolchain owns them — `esbuild` follows vite, `express` follows\n * webpack-dev-server, `mime` follows express, plus astro / docusaurus / jest / tailwindcss /\n * typescript. Each entry was measured against a real collision, not guessed.\n *\n * SEEDED, then APPLICATION-OWNED. The framework's copy is a judgement about a typical application's\n * stack; a real application knows its own better, and it is the one that breaks when the judgement is\n * wrong. The cost is that a later framework exclusion does not reach an existing application — which\n * is the right trade, because the conflict being described is the application's, not the framework's.\n */\nfunction seedDependencyExclusions(input: { appRoot: string; frameworkPath: string }): void {\n const excludedNames = ApplicationDependencyAlignmentService.readFrameworkExclusions(input.frameworkPath);\n if (Object.keys(excludedNames).length === 0) return;\n const targetPath = join(input.appRoot, APPLICATION_DEPENDENCY_EXCLUSIONS_RELATIVE);\n mkdirSync(dirname(targetPath), { recursive: true });\n writeFileSync(targetPath, `${JSON.stringify({\n 'purpose-note':\n 'Names `wildo align-deps` must never pin to the framework version, because THIS application\\'s '\n + 'toolchain owns them. Seeded at `wildo init` from the framework of the day and yours from here: '\n + 'edit it when your stack needs a major the framework does not pin. A key ending in `*` is a '\n + 'prefix match. The value is the reason, and is never read by any tool — it is for whoever '\n + 'reads this file next.',\n excludedNames,\n }, null, 2)}\\n`, 'utf8');\n}\n\n/** Recursively materialize the template tree into the app root. */\nfunction materializeTemplateTree(input: {\n templateRoot: string;\n appRoot: string;\n mode: SkeletonMode;\n variables: Record<string, unknown>;\n processor: TemplateProcessor;\n}): number {\n let written = 0;\n const walk = (relativeDir: string) => {\n for (const entry of readdirSync(join(input.templateRoot, relativeDir), { withFileTypes: true })) {\n const relativePath = relativeDir ? join(relativeDir, entry.name) : entry.name;\n if (entry.isDirectory()) {\n walk(relativePath);\n continue;\n }\n if (!entry.isFile()) continue;\n\n // Framework-checkout dev-loop files: an app-creator install has no framework\n // scripts to call into, so neither the dev-framework-scripts home nor the\n // supervised dev wrappers (frontend Vite+library watcher, backend-api\n // watcher+runtime supervisor) are materialized there.\n if (\n input.mode === SkeletonMode.APP_CREATOR\n && (\n relativePath.startsWith(join('.wildo-saas', 'dev-framework-scripts'))\n // The workbench drop launches Vite against FRAMEWORK SOURCE, which an app-creator\n // install does not have. Materializing it there would produce a dev-stack member that\n // exits with \"the workbench runs against framework source\" on every start.\n || relativePath.startsWith(join('.wildo-saas', 'application-creation-workbench'))\n || relativePath === join('frontend', 'scripts', 'dev-supervised.sh')\n || relativePath === join('backend-api', 'scripts', 'dev-supervised.sh.hbs')\n )\n ) {\n continue;\n }\n\n let targetRelative = relativePath;\n let content: string | null = null;\n if (entry.name.endsWith('.init.hbs')) {\n // `.init.hbs` marks the INIT-time variant of a file whose later evolution belongs to a\n // service or scenario (e.g. `wildo.saas.config.ts.init.hbs` — the config service owns\n // post-init parametrization). Rendered once here, then never re-templated.\n targetRelative = relativePath.slice(0, -'.init.hbs'.length);\n content = input.processor.processTemplate(relativePath, input.variables);\n } else if (entry.name.endsWith('.hbs')) {\n targetRelative = relativePath.slice(0, -'.hbs'.length);\n content = input.processor.processTemplate(relativePath, input.variables);\n } else if (entry.name === 'gitignore' && relativeDir === '') {\n targetRelative = '.gitignore';\n }\n\n const targetPath = join(input.appRoot, targetRelative);\n mkdirSync(dirname(targetPath), { recursive: true });\n if (content !== null) {\n writeFileSync(targetPath, content, 'utf8');\n } else {\n copyFileSync(join(input.templateRoot, relativePath), targetPath);\n }\n // Keyed on the RENDERED name so a future `*.sh.hbs` template still lands executable.\n if (targetRelative.endsWith('.sh')) chmodSync(targetPath, 0o755);\n written += 1;\n }\n };\n walk('');\n return written;\n}\n\nfunction runStep(input: {\n log: SaasSkeletonOptions['log'];\n label: string;\n command: string;\n args: string[];\n cwd: string;\n}): boolean {\n input.log.info(` ${input.label}…`);\n const result = spawnSync(input.command, input.args, { cwd: input.cwd, stdio: 'inherit' });\n if (result.status !== 0) {\n input.log.warn(` ${input.label} failed (exit ${result.status ?? 'signal'}). Fix and re-run manually.`);\n return false;\n }\n return true;\n}\n\n/**\n * Files the scaffold writes at the APP ROOT. Their presence in the target\n * directory means the scaffold would OVERWRITE an existing project — most\n * dangerously the framework checkout itself, whose root carries every one of\n * these names (`wildo init` run from the monorepo root would clobber the\n * framework's own package.json / pnpm-workspace.yaml / turbo.json).\n */\nconst ROOT_COLLISION_FILES = [\n 'package.json',\n 'pnpm-workspace.yaml',\n 'turbo.json',\n 'wildo.saas.config.ts',\n 'tsconfig.common.json',\n '.gitignore',\n] as const;\n\nexport const SaasSkeletonService = {\n allocatePortBase,\n collectUsedApplicationPorts,\n buildRootOverrides,\n\n scaffold(appRoot: string, options: SaasSkeletonOptions): SaasSkeletonResult {\n const safeName = options.name.replace(/['\"\\\\]/g, '');\n const slug = toSlug(safeName) || 'app';\n const displayName = toDisplayName(safeName || slug) || 'App';\n\n if (options.mode === SkeletonMode.FRAMEWORK_DEV && !options.frameworkPath) {\n throw new Error('framework-dev skeleton mode requires a resolved framework checkout.');\n }\n\n // Refuse a NON-EMPTY target before writing anything: the scaffold is a\n // whole-project materialization, not a merge. Fail-closed here protects the\n // framework checkout root (which carries all of these files) and any\n // half-scaffolded directory from a silent clobber.\n const collisions = ROOT_COLLISION_FILES.filter((file) => existsSync(join(appRoot, file)));\n if (collisions.length > 0) {\n throw new Error(\n `Target directory already contains ${collisions.join(', ')} — refusing to scaffold over an existing project. `\n + 'Run `wildo init` in an empty directory (or delete the partial scaffold first).',\n );\n }\n\n // An EXPLICIT --port-base is validated against the same sibling scan the\n // allocator uses — accepting a colliding base would recreate the exact\n // hand-bootstrap failure the allocator was built to prevent.\n if (options.portBase !== undefined) {\n const used = collectUsedApplicationPorts(options.frameworkPath);\n if (!portBlockIsFree(options.portBase, used)) {\n throw new Error(\n `--port-base ${options.portBase} collides with a sibling application's authored ports `\n + `(block ${options.portBase}-${options.portBase + PORT_BASE_STRIDE - 1} or companion port ${options.portBase + COMPANION_PORT_OFFSET}). `\n + `Next free base: ${allocatePortBase(options.frameworkPath)}.`,\n );\n }\n }\n const portBase = options.portBase ?? allocatePortBase(options.frameworkPath);\n const ports: SkeletonPorts = {\n backend: portBase,\n app: portBase + 1,\n companion: portBase + COMPANION_PORT_OFFSET,\n workbench: portBase + WORKBENCH_PORT_OFFSET,\n };\n\n const templateRoot = options.frameworkPath\n ? join(options.frameworkPath, SKELETON_TEMPLATE_RELATIVE)\n : null;\n if (!templateRoot || !existsSync(templateRoot)) {\n throw new Error(\n 'Application skeleton templates not found'\n + (templateRoot ? ` at ${templateRoot}` : ' (no framework-assets root resolved)')\n + '. The full-skeleton scaffold needs the framework templates: a framework checkout, or a `@wildo-ai/wildo-cli` '\n + 'installed from npm (which ships them). Use --config-only to write only wildo.saas.config.ts.',\n );\n }\n\n const variables = {\n slug,\n displayName,\n backendPort: ports.backend,\n appPort: ports.app,\n companionPort: ports.companion,\n workbenchPort: ports.workbench,\n // Mode conditionals inside `.hbs` templates ({{#if isFrameworkDev}}): framework-dev\n // renders engine-source aliasing/tsconfig-paths/dev-supervision; app-creator renders\n // the standalone shape (published packages, plain vite dev).\n isFrameworkDev: options.mode === SkeletonMode.FRAMEWORK_DEV,\n };\n\n const processor = new TemplateProcessor(templateRoot);\n let filesWritten = materializeTemplateTree({\n templateRoot,\n appRoot,\n mode: options.mode,\n variables,\n processor,\n });\n\n // `.claude/` is framework-delivered in framework-dev mode (materialized by `wildo fwk\n // dev-skills`, synchronized on framework update) — ignoring it avoids duplicating the\n // compiled knowledge product in git. App-creator applications COMMIT their `.claude`, so\n // the block is mode-conditional rather than part of the template gitignore.\n if (options.mode === SkeletonMode.FRAMEWORK_DEV) {\n appendFileSync(\n join(appRoot, '.gitignore'),\n '\\n# Framework-delivered agent knowledge (framework-dev mode only) — materialized by\\n'\n + '# `wildo fwk dev-skills`, synchronized on framework update; never commit in this mode.\\n'\n + '.claude/\\n',\n 'utf8',\n );\n }\n\n writeFileSync(join(appRoot, 'package.json'), buildRootPackageJson({\n slug,\n appRoot,\n frameworkPath: options.frameworkPath,\n mode: options.mode,\n }), 'utf8');\n writeFileSync(join(appRoot, 'pnpm-workspace.yaml'), buildWorkspaceYaml(), 'utf8');\n\n if (options.frameworkPath) {\n declareEnginePeersInScaffoldedPackages({ appRoot, frameworkPath: options.frameworkPath });\n seedDependencyExclusions({ appRoot, frameworkPath: options.frameworkPath });\n }\n\n // Deliver the engine EMAIL CANON (system + engine-resource templates) into the backend's\n // engine tree. System emails are runtime behavior — a fresh app without them has no welcome\n // email, no invitation email, etc. The canon at `templates/saas/i18n/email` is synced from\n // the dogfood (V2-P1 catch-up) and the app owns its copy from here (regenerated/extended by\n // `wildo generate email`).\n const emailCanonRoot = join(options.frameworkPath ?? '', 'templates', 'saas', 'i18n', 'email');\n if (options.frameworkPath && existsSync(emailCanonRoot)) {\n const emailTarget = join(appRoot, 'backend-api', 'src', 'engine', 'email');\n const copyTree = (relativeDir: string) => {\n for (const entry of readdirSync(join(emailCanonRoot, relativeDir), { withFileTypes: true })) {\n const entryRelative = relativeDir ? join(relativeDir, entry.name) : entry.name;\n if (entry.isDirectory()) {\n copyTree(entryRelative);\n } else if (entry.isFile()) {\n const targetPath = join(emailTarget, entryRelative);\n mkdirSync(dirname(targetPath), { recursive: true });\n copyFileSync(join(emailCanonRoot, entryRelative), targetPath);\n filesWritten += 1;\n }\n }\n };\n // The canon's own aggregator files are also shipped by the skeleton tree; the canon copy\n // wins nothing over them (byte-identical), so copying the whole tree is safe.\n copyTree('');\n } else {\n options.log.warn(' Email canon not found — backend system emails will be missing until delivered.');\n }\n const devScriptsDir = join(appRoot, '.wildo-saas', 'dev-framework-scripts');\n if (options.mode === SkeletonMode.FRAMEWORK_DEV) {\n mkdirSync(devScriptsDir, { recursive: true });\n const runDevStackPath = join(devScriptsDir, 'run-dev-stack.sh');\n writeFileSync(runDevStackPath, buildRunDevStack(slug), 'utf8');\n chmodSync(runDevStackPath, 0o755);\n filesWritten += 1;\n }\n filesWritten += 2;\n\n let companionDelivered = false;\n if (options.mode === SkeletonMode.FRAMEWORK_DEV && options.frameworkPath) {\n const deliverScript = join(options.frameworkPath, COMPANION_DELIVER_RELATIVE);\n const result = spawnSync(process.execPath, [\n deliverScript,\n '--framework-root', options.frameworkPath,\n '--app-root', appRoot,\n '--mode', SkeletonMode.FRAMEWORK_DEV,\n ], { stdio: 'inherit' });\n companionDelivered = result.status === 0;\n if (!companionDelivered) {\n options.log.warn(\n ' Companion delivery failed — build @wildo-ai/dev-companion in the framework, then re-run '\n + `node ${COMPANION_DELIVER_RELATIVE} --app-root ${appRoot}`,\n );\n }\n } else if (options.mode === SkeletonMode.APP_CREATOR) {\n /*\n * App-creator delivery is a SHIM, not a dist mirror.\n *\n * `dev-companion-deliver.mjs` hard-links the companion's `dist/` out of a local framework\n * checkout. An app-creator has no checkout — it has the published CLI and a registry — so that\n * path cannot serve this mode. What it CAN do is what every other package in the generated app\n * already does: declare a dependency and let `pnpm install` fetch it.\n *\n * The drop is a WORKSPACE MEMBER (see the `pnpm-workspace.yaml` this skeleton writes), so its\n * dependencies resolve exactly like `specifications/` or `backend-api/`.\n *\n * Why a re-export file rather than repointing `main` into `node_modules`: 31 files in this\n * repository address the drop through the fixed `dist/esm/index.js` layout. Keeping that layout\n * byte-for-byte means no consumer can tell the two delivery modes apart, which is the whole\n * point — a targeted shim beats a 31-file resolution refactor with no lasting architectural\n * gain.\n *\n * Location-sensitivity was ENUMERATED before trusting this, not assumed. The companion has six\n * `import.meta.url` sites; five resolve to files inside its own package and stay correct when\n * that package lives in `node_modules`. The sixth is `dotenv` looking for `../.env` from\n * `dist/esm`, i.e. `dist/.env` — which no delivered drop has ever contained (the drop's `.env`\n * sits at its root), so it is already a no-op and the shim does not regress it.\n */\n const companionVersion = options.frameworkPath !== null\n ? (JSON.parse(\n readFileSync(join(options.frameworkPath, 'wildo-framework.info.json'), 'utf8'),\n ) as { version: string }).version\n : null;\n\n if (companionVersion === null) {\n options.log.warn(\n ' Companion delivery skipped: no framework-assets root is reachable (neither a checkout nor an '\n + 'npm-installed `@wildo-ai/wildo-cli`), so the published `@wildo-ai/dev-companion` version to pin '\n + 'could not be determined.',\n );\n } else {\n const companionDropRoot = join(appRoot, '.wildo-saas', 'wildo-dev-companion');\n mkdirSync(join(companionDropRoot, 'dist', 'esm'), { recursive: true });\n writeFileSync(\n join(companionDropRoot, 'dist', 'esm', 'index.js'),\n [\n '// GENERATED by `wildo init` (app-creator mode). Do not edit.',\n '//',\n '// The companion itself is the published `@wildo-ai/dev-companion` package, installed as a',\n '// dependency of this workspace member. This file exists so the drop keeps the same entry',\n '// layout as a framework-dev delivery, where `dist/` is a hard-linked mirror instead.',\n '//',\n '// `export *` evaluates the module, which is what starts the companion when this file is',\n '// executed by the `start` script.',\n \"export * from '@wildo-ai/dev-companion';\",\n '',\n ].join('\\n'),\n 'utf8',\n );\n writeFileSync(\n join(companionDropRoot, 'package.json'),\n `${JSON.stringify({\n name: `@${slug}/wildo-dev-companion`,\n version: companionVersion,\n description:\n 'Wildo.ai Dev Companion — app-creator delivery. A shim over the published '\n + '@wildo-ai/dev-companion package; generated by `wildo init`, do not edit by hand.',\n private: true,\n type: 'module',\n main: 'dist/esm/index.js',\n scripts: {\n dev: 'bash scripts/dev-supervised.sh',\n start: 'node dist/esm/index.js',\n },\n dependencies: {\n '@wildo-ai/dev-companion': companionVersion,\n },\n }, null, 2)}\\n`,\n 'utf8',\n );\n filesWritten += 2;\n companionDelivered = true;\n }\n }\n\n let installed = false;\n let built = false;\n /*\n * App-creator mode INSTALLS. It used to refuse, because the `@wildo-ai/*` packages a generated\n * application depends on were not all on the registry — four of the thirteen declared for publish\n * had never landed, `saas-specifications` among them, which a generated `specifications/` package\n * depends on directly.\n *\n * All thirteen are published at 1.1.0 as of 2026-08-31 (#151), and the generated manifests pin\n * `*`, so they resolve to it. Measured BEFORE removing the refusal rather than after: a scaffolded\n * app-creator application installs in ~24s with every `@wildo-ai` dependency resolved from the\n * registry.\n *\n * A refusal that outlives its cause is worse than no refusal — it teaches an operator that a\n * working path is broken, and this one named packages that are now present.\n */\n if (options.skipInstall !== true) {\n installed = runStep({ log: options.log, label: 'pnpm install', command: 'pnpm', args: ['install'], cwd: appRoot });\n if (installed) {\n built = runStep({\n log: options.log,\n label: 'build specifications + backend-api',\n command: 'pnpm',\n args: ['--filter', `@${slug}/specifications`, '--filter', `@${slug}/shared-lib`, '--filter', `@${slug}/backend-api`, 'build'],\n cwd: appRoot,\n });\n }\n }\n\n return { slug, ports, filesWritten, companionDelivered, installed, built };\n },\n};\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The config↔delivery coherence pin for brand-asset propagation.
|
|
3
|
+
*
|
|
4
|
+
* `AppConfiguration.brandAssets` is a PROMISE: every entry's `url` claims a
|
|
5
|
+
* servable path. The promise has two halves written in two different files —
|
|
6
|
+
* the propagate command projects the url, and a frontend destination places the
|
|
7
|
+
* bytes — and for a long time only the first half existed. Wonder Todos shipped
|
|
8
|
+
* a config naming eight URLs of which ONE resolved on the app origin; the other
|
|
9
|
+
* seven were answered by the Vite SPA fallback (HTTP 200 carrying `index.html`),
|
|
10
|
+
* which renders as a broken image rather than a diagnosable 404.
|
|
11
|
+
*
|
|
12
|
+
* These tests run the real destinations over a temporary app tree and assert the
|
|
13
|
+
* halves agree, so the two files cannot drift apart again:
|
|
14
|
+
* - every stamped url resolves to a real file under EVERY frontend public dir
|
|
15
|
+
* (the config is one array served identically to every frontend origin);
|
|
16
|
+
* - the url is the canonical `/brand/<ref>.<ext>` locator, never a per-purpose
|
|
17
|
+
* public-root basename — `purpose` is not unique per asset, so a
|
|
18
|
+
* purpose-keyed scheme cannot address a brand's several `PRIMARY` themes;
|
|
19
|
+
* - the browser-chrome public-root files still exist alongside it, since they
|
|
20
|
+
* are a separate (head-markup) concern that must not regress either.
|
|
21
|
+
*/
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=brand-asset-delivery.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-asset-delivery.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/services/brand/__tests__/brand-asset-delivery.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The config↔delivery coherence pin for brand-asset propagation.
|
|
3
|
+
*
|
|
4
|
+
* `AppConfiguration.brandAssets` is a PROMISE: every entry's `url` claims a
|
|
5
|
+
* servable path. The promise has two halves written in two different files —
|
|
6
|
+
* the propagate command projects the url, and a frontend destination places the
|
|
7
|
+
* bytes — and for a long time only the first half existed. Wonder Todos shipped
|
|
8
|
+
* a config naming eight URLs of which ONE resolved on the app origin; the other
|
|
9
|
+
* seven were answered by the Vite SPA fallback (HTTP 200 carrying `index.html`),
|
|
10
|
+
* which renders as a broken image rather than a diagnosable 404.
|
|
11
|
+
*
|
|
12
|
+
* These tests run the real destinations over a temporary app tree and assert the
|
|
13
|
+
* halves agree, so the two files cannot drift apart again:
|
|
14
|
+
* - every stamped url resolves to a real file under EVERY frontend public dir
|
|
15
|
+
* (the config is one array served identically to every frontend origin);
|
|
16
|
+
* - the url is the canonical `/brand/<ref>.<ext>` locator, never a per-purpose
|
|
17
|
+
* public-root basename — `purpose` is not unique per asset, so a
|
|
18
|
+
* purpose-keyed scheme cannot address a brand's several `PRIMARY` themes;
|
|
19
|
+
* - the browser-chrome public-root files still exist alongside it, since they
|
|
20
|
+
* are a separate (head-markup) concern that must not regress either.
|
|
21
|
+
*/
|
|
22
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
23
|
+
import { mkdtemp, rm } from 'node:fs/promises';
|
|
24
|
+
import { tmpdir } from 'node:os';
|
|
25
|
+
import { join } from 'node:path';
|
|
26
|
+
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
|
|
27
|
+
import { BrandAssetComposition, BrandAssetFormat, BrandAssetPurpose, BrandAssetTheme, } from '@wildo-ai/saas-models';
|
|
28
|
+
import appPublicDestination from '../../../services/brand/destinations/app-public.destination.js';
|
|
29
|
+
import websitePublicDestination from '../../../services/brand/destinations/website-public.destination.js';
|
|
30
|
+
import runtimeAppConfigDestination from '../../../services/brand/destinations/runtime-app-config.destination.js';
|
|
31
|
+
import { projectResolvedAssets } from '../../../services/brand/brand-asset-projection.js';
|
|
32
|
+
import { brandAssetPublicPath } from '../../../services/brand/brand-destination-utils.js';
|
|
33
|
+
/**
|
|
34
|
+
* The SSOT shape that exposed the defect: THREE `PRIMARY` entries differing only
|
|
35
|
+
* by theme. A purpose-keyed public-root basename map is structurally unable to
|
|
36
|
+
* address them, which is why the broken scheme left them on a locator no
|
|
37
|
+
* destination placed.
|
|
38
|
+
*/
|
|
39
|
+
const SSOT = [
|
|
40
|
+
{
|
|
41
|
+
ref: 'asset-symbol-default-primary',
|
|
42
|
+
composition: BrandAssetComposition.SYMBOL,
|
|
43
|
+
theme: BrandAssetTheme.DEFAULT,
|
|
44
|
+
purpose: BrandAssetPurpose.PRIMARY,
|
|
45
|
+
storageRef: './assets/master.png',
|
|
46
|
+
format: BrandAssetFormat.PNG,
|
|
47
|
+
generatedAt: '2026-08-19T00:00:00.000Z',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
ref: 'asset-symbol-dark-primary',
|
|
51
|
+
composition: BrandAssetComposition.SYMBOL,
|
|
52
|
+
theme: BrandAssetTheme.DARK,
|
|
53
|
+
purpose: BrandAssetPurpose.PRIMARY,
|
|
54
|
+
storageRef: './assets/dark.png',
|
|
55
|
+
format: BrandAssetFormat.PNG,
|
|
56
|
+
generatedAt: '2026-08-19T00:00:00.000Z',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
ref: 'asset-symbol-monochrome-primary',
|
|
60
|
+
composition: BrandAssetComposition.SYMBOL,
|
|
61
|
+
theme: BrandAssetTheme.MONOCHROME,
|
|
62
|
+
purpose: BrandAssetPurpose.PRIMARY,
|
|
63
|
+
storageRef: './assets/mono.png',
|
|
64
|
+
format: BrandAssetFormat.PNG,
|
|
65
|
+
generatedAt: '2026-08-19T00:00:00.000Z',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
ref: 'asset-symbol-default-favicon',
|
|
69
|
+
composition: BrandAssetComposition.SYMBOL,
|
|
70
|
+
theme: BrandAssetTheme.DEFAULT,
|
|
71
|
+
purpose: BrandAssetPurpose.FAVICON,
|
|
72
|
+
storageRef: './assets/favicon.png',
|
|
73
|
+
format: BrandAssetFormat.PNG,
|
|
74
|
+
generatedAt: '2026-08-19T00:00:00.000Z',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
ref: 'asset-symbol-default-apple-touch',
|
|
78
|
+
composition: BrandAssetComposition.SYMBOL,
|
|
79
|
+
theme: BrandAssetTheme.DEFAULT,
|
|
80
|
+
purpose: BrandAssetPurpose.APPLE_TOUCH_ICON,
|
|
81
|
+
storageRef: './assets/apple-touch.png',
|
|
82
|
+
format: BrandAssetFormat.PNG,
|
|
83
|
+
generatedAt: '2026-08-19T00:00:00.000Z',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
ref: 'asset-symbol-default-og',
|
|
87
|
+
composition: BrandAssetComposition.SYMBOL,
|
|
88
|
+
theme: BrandAssetTheme.DEFAULT,
|
|
89
|
+
purpose: BrandAssetPurpose.OG_IMAGE,
|
|
90
|
+
storageRef: './assets/og.png',
|
|
91
|
+
format: BrandAssetFormat.PNG,
|
|
92
|
+
generatedAt: '2026-08-19T00:00:00.000Z',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
ref: 'asset-symbol-default-email',
|
|
96
|
+
composition: BrandAssetComposition.SYMBOL,
|
|
97
|
+
theme: BrandAssetTheme.DEFAULT,
|
|
98
|
+
purpose: BrandAssetPurpose.EMAIL,
|
|
99
|
+
storageRef: './assets/email.png',
|
|
100
|
+
format: BrandAssetFormat.PNG,
|
|
101
|
+
generatedAt: '2026-08-19T00:00:00.000Z',
|
|
102
|
+
},
|
|
103
|
+
];
|
|
104
|
+
/** The frontend origins that receive `AppConfiguration.brandAssets`. */
|
|
105
|
+
const SERVED_PUBLIC_DIRS = [join('app', 'public'), join('website', 'public')];
|
|
106
|
+
let appRoot;
|
|
107
|
+
function write(relativePath, content) {
|
|
108
|
+
const abs = join(appRoot, relativePath);
|
|
109
|
+
mkdirSync(join(abs, '..'), { recursive: true });
|
|
110
|
+
writeFileSync(abs, content, 'utf-8');
|
|
111
|
+
return abs;
|
|
112
|
+
}
|
|
113
|
+
function buildContext(dryRun = false) {
|
|
114
|
+
const ssotDir = join(appRoot, 'specifications', 'src', 'brand');
|
|
115
|
+
const assets = SSOT.map((config) => ({
|
|
116
|
+
config,
|
|
117
|
+
absPath: join(ssotDir, config.storageRef),
|
|
118
|
+
}));
|
|
119
|
+
return {
|
|
120
|
+
appRoot,
|
|
121
|
+
ssotDir,
|
|
122
|
+
assets,
|
|
123
|
+
resolved: projectResolvedAssets(SSOT, (a) => brandAssetPublicPath(a.ref, a.format)),
|
|
124
|
+
dryRun,
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
/** Every `url: '...'` literal the generated runtime module stamps. */
|
|
128
|
+
function stampedUrls() {
|
|
129
|
+
const generated = join(appRoot, 'backend-api', 'src', 'brand-assets.generated.ts');
|
|
130
|
+
expect(existsSync(generated)).toBe(true);
|
|
131
|
+
const source = readFileSync(generated, 'utf-8');
|
|
132
|
+
return Array.from(source.matchAll(/url: '([^']+)'/g)).map((m) => m[1]);
|
|
133
|
+
}
|
|
134
|
+
beforeEach(async () => {
|
|
135
|
+
appRoot = await mkdtemp(join(tmpdir(), 'wildo-brand-delivery-'));
|
|
136
|
+
for (const asset of SSOT) {
|
|
137
|
+
write(join('specifications', 'src', 'brand', asset.storageRef), `bytes:${asset.ref}`);
|
|
138
|
+
}
|
|
139
|
+
write(join('app', 'index.html'), '<link rel="icon" type="image/svg+xml" href="/vite.svg" />');
|
|
140
|
+
write(join('website', 'src', 'head-assets.ts'), "export const WEBSITE_ICON_HEAD_HTML: string = [\n '<link rel=\"icon\" href=\"/favicon.svg\" type=\"image/svg+xml\" />',\n].join('\\n');\n");
|
|
141
|
+
mkdirSync(join(appRoot, 'backend-api', 'src'), { recursive: true });
|
|
142
|
+
});
|
|
143
|
+
afterEach(async () => {
|
|
144
|
+
await rm(appRoot, { recursive: true, force: true });
|
|
145
|
+
});
|
|
146
|
+
describe('brand-asset propagation: the config promise and the delivered files agree', () => {
|
|
147
|
+
it('places a real file for EVERY stamped url, at EVERY frontend origin', async () => {
|
|
148
|
+
const ctx = buildContext();
|
|
149
|
+
await appPublicDestination.receive(ctx);
|
|
150
|
+
await websitePublicDestination.receive(ctx);
|
|
151
|
+
await runtimeAppConfigDestination.receive(ctx);
|
|
152
|
+
const urls = stampedUrls();
|
|
153
|
+
expect(urls).toHaveLength(SSOT.length);
|
|
154
|
+
const missing = [];
|
|
155
|
+
for (const publicDir of SERVED_PUBLIC_DIRS) {
|
|
156
|
+
for (const url of urls) {
|
|
157
|
+
const served = join(appRoot, publicDir, url);
|
|
158
|
+
if (!existsSync(served)) {
|
|
159
|
+
missing.push(`${publicDir}${url}`);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
expect(missing).toEqual([]);
|
|
164
|
+
});
|
|
165
|
+
it('stamps the canonical /brand/<ref>.<ext> locator, never a per-purpose public-root basename', async () => {
|
|
166
|
+
const ctx = buildContext();
|
|
167
|
+
await runtimeAppConfigDestination.receive(ctx);
|
|
168
|
+
// Every url is ref-keyed, so the three PRIMARY themes stay addressable and
|
|
169
|
+
// distinct — the property a purpose-keyed scheme cannot provide.
|
|
170
|
+
expect(stampedUrls()).toEqual(SSOT.map((a) => `/brand/${a.ref}.png`));
|
|
171
|
+
expect(new Set(stampedUrls()).size).toBe(SSOT.length);
|
|
172
|
+
});
|
|
173
|
+
it('still places the browser-chrome public-root files beside the mirrored set', async () => {
|
|
174
|
+
const ctx = buildContext();
|
|
175
|
+
await appPublicDestination.receive(ctx);
|
|
176
|
+
await websitePublicDestination.receive(ctx);
|
|
177
|
+
// Head markup is a separate concern from the config contract; both must hold.
|
|
178
|
+
expect(existsSync(join(appRoot, 'app', 'public', 'favicon.png'))).toBe(true);
|
|
179
|
+
expect(existsSync(join(appRoot, 'website', 'public', 'favicon.png'))).toBe(true);
|
|
180
|
+
expect(existsSync(join(appRoot, 'website', 'public', 'apple-touch-icon.png'))).toBe(true);
|
|
181
|
+
expect(readFileSync(join(appRoot, 'app', 'index.html'), 'utf-8')).toContain('href="/favicon.png"');
|
|
182
|
+
});
|
|
183
|
+
it('writes nothing under --dry-run while still reporting the planned mirror', async () => {
|
|
184
|
+
const ctx = buildContext(true);
|
|
185
|
+
const result = await appPublicDestination.receive(ctx);
|
|
186
|
+
expect(existsSync(join(appRoot, 'app', 'public', 'brand'))).toBe(false);
|
|
187
|
+
expect(result.wrote).toContain(join('app', 'public', 'brand', 'asset-symbol-default-primary.png'));
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
//# sourceMappingURL=brand-asset-delivery.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-asset-delivery.test.js","sourceRoot":"","sources":["../../../../../../../src/services/brand/__tests__/brand-asset-delivery.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,OA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claims a\n * servable path. The promise has two halves written in two different files —\n * the propagate command projects the url, and a frontend destination places the\n * bytes — and for a long time only the first half existed. Wonder Todos shipped\n * a config naming eight URLs of which ONE resolved on the app origin; the other\n * seven were answered by the Vite SPA fallback (HTTP 200 carrying `index.html`),\n * which renders as a broken image rather than a diagnosable 404.\n *\n * These tests run the real destinations over a temporary app tree and assert the\n * halves agree, so the two files cannot drift apart again:\n * - every stamped url resolves to a real file under EVERY frontend public dir\n * (the config is one array served identically to every frontend origin);\n * - the url is the canonical `/brand/<ref>.<ext>` locator, never a per-purpose\n * public-root basename — `purpose` is not unique per asset, so a\n * purpose-keyed scheme cannot address a brand's several `PRIMARY` themes;\n * - the browser-chrome public-root files still exist alongside it, since they\n * are a separate (head-markup) concern that must not regress either.\n */\n\nimport { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';\nimport { mkdtemp, rm } from 'node:fs/promises';\nimport { tmpdir } from 'node:os';\nimport { join } from 'node:path';\n\nimport { afterEach, beforeEach, describe, expect, it } from 'vitest';\n\nimport {\n BrandAssetComposition,\n BrandAssetFormat,\n BrandAssetPurpose,\n BrandAssetTheme,\n} from '@wildo-ai/saas-models';\nimport type { BrandAssetConfig } from '@wildo-ai/saas-specifications';\n\nimport appPublicDestination from '~wildo-cli/services/brand/destinations/app-public.destination';\nimport websitePublicDestination from '~wildo-cli/services/brand/destinations/website-public.destination';\nimport runtimeAppConfigDestination from '~wildo-cli/services/brand/destinations/runtime-app-config.destination';\nimport { projectResolvedAssets } from '~wildo-cli/services/brand/brand-asset-projection';\nimport { brandAssetPublicPath } from '~wildo-cli/services/brand/brand-destination-utils';\nimport type {\n BrandPropagationContext,\n LoadedBrandAsset,\n} from '~wildo-cli/services/brand/brand-propagation.types';\n\n/**\n * The SSOT shape that exposed the defect: THREE `PRIMARY` entries differing only\n * by theme. A purpose-keyed public-root basename map is structurally unable to\n * address them, which is why the broken scheme left them on a locator no\n * destination placed.\n */\nconst SSOT: BrandAssetConfig[] = [\n {\n ref: 'asset-symbol-default-primary',\n composition: BrandAssetComposition.SYMBOL,\n theme: BrandAssetTheme.DEFAULT,\n purpose: BrandAssetPurpose.PRIMARY,\n storageRef: './assets/master.png',\n format: BrandAssetFormat.PNG,\n generatedAt: '2026-08-19T00:00:00.000Z',\n },\n {\n ref: 'asset-symbol-dark-primary',\n composition: BrandAssetComposition.SYMBOL,\n theme: BrandAssetTheme.DARK,\n purpose: BrandAssetPurpose.PRIMARY,\n storageRef: './assets/dark.png',\n format: BrandAssetFormat.PNG,\n generatedAt: '2026-08-19T00:00:00.000Z',\n },\n {\n ref: 'asset-symbol-monochrome-primary',\n composition: BrandAssetComposition.SYMBOL,\n theme: BrandAssetTheme.MONOCHROME,\n purpose: BrandAssetPurpose.PRIMARY,\n storageRef: './assets/mono.png',\n format: BrandAssetFormat.PNG,\n generatedAt: '2026-08-19T00:00:00.000Z',\n },\n {\n ref: 'asset-symbol-default-favicon',\n composition: BrandAssetComposition.SYMBOL,\n theme: BrandAssetTheme.DEFAULT,\n purpose: BrandAssetPurpose.FAVICON,\n storageRef: './assets/favicon.png',\n format: BrandAssetFormat.PNG,\n generatedAt: '2026-08-19T00:00:00.000Z',\n },\n {\n ref: 'asset-symbol-default-apple-touch',\n composition: BrandAssetComposition.SYMBOL,\n theme: BrandAssetTheme.DEFAULT,\n purpose: BrandAssetPurpose.APPLE_TOUCH_ICON,\n storageRef: './assets/apple-touch.png',\n format: BrandAssetFormat.PNG,\n generatedAt: '2026-08-19T00:00:00.000Z',\n },\n {\n ref: 'asset-symbol-default-og',\n composition: BrandAssetComposition.SYMBOL,\n theme: BrandAssetTheme.DEFAULT,\n purpose: BrandAssetPurpose.OG_IMAGE,\n storageRef: './assets/og.png',\n format: BrandAssetFormat.PNG,\n generatedAt: '2026-08-19T00:00:00.000Z',\n },\n {\n ref: 'asset-symbol-default-email',\n composition: BrandAssetComposition.SYMBOL,\n theme: BrandAssetTheme.DEFAULT,\n purpose: BrandAssetPurpose.EMAIL,\n storageRef: './assets/email.png',\n format: BrandAssetFormat.PNG,\n generatedAt: '2026-08-19T00:00:00.000Z',\n },\n];\n\n/** The frontend origins that receive `AppConfiguration.brandAssets`. */\nconst SERVED_PUBLIC_DIRS = [join('app', 'public'), join('website', 'public')] as const;\n\nlet appRoot: string;\n\nfunction write(relativePath: string, content: string): string {\n const abs = join(appRoot, relativePath);\n mkdirSync(join(abs, '..'), { recursive: true });\n writeFileSync(abs, content, 'utf-8');\n return abs;\n}\n\nfunction buildContext(dryRun = false): BrandPropagationContext {\n const ssotDir = join(appRoot, 'specifications', 'src', 'brand');\n const assets: LoadedBrandAsset[] = SSOT.map((config) => ({\n config,\n absPath: join(ssotDir, config.storageRef),\n }));\n return {\n appRoot,\n ssotDir,\n assets,\n resolved: projectResolvedAssets(SSOT, (a) => brandAssetPublicPath(a.ref, a.format)),\n dryRun,\n };\n}\n\n/** Every `url: '...'` literal the generated runtime module stamps. */\nfunction stampedUrls(): string[] {\n const generated = join(appRoot, 'backend-api', 'src', 'brand-assets.generated.ts');\n expect(existsSync(generated)).toBe(true);\n const source = readFileSync(generated, 'utf-8');\n return Array.from(source.matchAll(/url: '([^']+)'/g)).map((m) => m[1]!);\n}\n\nbeforeEach(async () => {\n appRoot = await mkdtemp(join(tmpdir(), 'wildo-brand-delivery-'));\n\n for (const asset of SSOT) {\n write(join('specifications', 'src', 'brand', asset.storageRef), `bytes:${asset.ref}`);\n }\n write(join('app', 'index.html'), '<link rel=\"icon\" type=\"image/svg+xml\" href=\"/vite.svg\" />');\n write(\n join('website', 'src', 'head-assets.ts'),\n \"export const WEBSITE_ICON_HEAD_HTML: string = [\\n '<link rel=\\\"icon\\\" href=\\\"/favicon.svg\\\" type=\\\"image/svg+xml\\\" />',\\n].join('\\\\n');\\n\",\n );\n mkdirSync(join(appRoot, 'backend-api', 'src'), { recursive: true });\n});\n\nafterEach(async () => {\n await rm(appRoot, { recursive: true, force: true });\n});\n\ndescribe('brand-asset propagation: the config promise and the delivered files agree', () => {\n it('places a real file for EVERY stamped url, at EVERY frontend origin', async () => {\n const ctx = buildContext();\n await appPublicDestination.receive(ctx);\n await websitePublicDestination.receive(ctx);\n await runtimeAppConfigDestination.receive(ctx);\n\n const urls = stampedUrls();\n expect(urls).toHaveLength(SSOT.length);\n\n const missing: string[] = [];\n for (const publicDir of SERVED_PUBLIC_DIRS) {\n for (const url of urls) {\n const served = join(appRoot, publicDir, url);\n if (!existsSync(served)) {\n missing.push(`${publicDir}${url}`);\n }\n }\n }\n expect(missing).toEqual([]);\n });\n\n it('stamps the canonical /brand/<ref>.<ext> locator, never a per-purpose public-root basename', async () => {\n const ctx = buildContext();\n await runtimeAppConfigDestination.receive(ctx);\n\n // Every url is ref-keyed, so the three PRIMARY themes stay addressable and\n // distinct — the property a purpose-keyed scheme cannot provide.\n expect(stampedUrls()).toEqual(SSOT.map((a) => `/brand/${a.ref}.png`));\n expect(new Set(stampedUrls()).size).toBe(SSOT.length);\n });\n\n it('still places the browser-chrome public-root files beside the mirrored set', async () => {\n const ctx = buildContext();\n await appPublicDestination.receive(ctx);\n await websitePublicDestination.receive(ctx);\n\n // Head markup is a separate concern from the config contract; both must hold.\n expect(existsSync(join(appRoot, 'app', 'public', 'favicon.png'))).toBe(true);\n expect(existsSync(join(appRoot, 'website', 'public', 'favicon.png'))).toBe(true);\n expect(existsSync(join(appRoot, 'website', 'public', 'apple-touch-icon.png'))).toBe(true);\n expect(readFileSync(join(appRoot, 'app', 'index.html'), 'utf-8')).toContain('href=\"/favicon.png\"');\n });\n\n it('writes nothing under --dry-run while still reporting the planned mirror', async () => {\n const ctx = buildContext(true);\n const result = await appPublicDestination.receive(ctx);\n\n expect(existsSync(join(appRoot, 'app', 'public', 'brand'))).toBe(false);\n expect(result.wrote).toContain(join('app', 'public', 'brand', 'asset-symbol-default-primary.png'));\n });\n});\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Value-preserving projection from the authoring/spec `BrandAssetConfig`
|
|
3
|
+
* (`@wildo-ai/saas-specifications`) to the runtime `RuntimeBrandAsset`
|
|
4
|
+
* (`@wildo-ai/saas-models`).
|
|
5
|
+
*
|
|
6
|
+
* WHY THIS EXISTS: the spec `BrandAssetConfig` lives in `saas-specifications`,
|
|
7
|
+
* which sits BELOW `saas-models` in the dependency graph — runtime consumers
|
|
8
|
+
* (app shell, org branding, email, auth, website) cannot import it. The runtime
|
|
9
|
+
* sibling `RuntimeBrandAsset` is the servable projection they DO import. The two
|
|
10
|
+
* enum families (`composition` / `theme` / `purpose` / `format`) are declared
|
|
11
|
+
* with IDENTICAL string values precisely so this projection is a lossless
|
|
12
|
+
* value-preserving map. This module is the projection the companion would
|
|
13
|
+
* otherwise own; the `wildo brand propagate` CLI performs it here so the
|
|
14
|
+
* runtime-app-config destination can stamp `AppConfiguration.brandAssets`.
|
|
15
|
+
*
|
|
16
|
+
* The `storageRef` → servable `url` translation is NOT hard-coded here: the spec
|
|
17
|
+
* `storageRef` is a stored-file locator, and different destinations serve the
|
|
18
|
+
* same asset under different public paths (`/favicon.png`, `/brand/lockup.svg`,
|
|
19
|
+
* an absolute CDN URL for email). The caller supplies a `urlFor` strategy so the
|
|
20
|
+
* projection stays destination-agnostic.
|
|
21
|
+
*/
|
|
22
|
+
import type { BrandAssetConfig } from '@wildo-ai/saas-specifications';
|
|
23
|
+
import { type RuntimeBrandAsset } from '@wildo-ai/saas-models';
|
|
24
|
+
/**
|
|
25
|
+
* Project the authored `resolvedAssets` (`BrandAssetConfig[]`) into the runtime
|
|
26
|
+
* `RuntimeBrandAsset[]` a runtime consumer resolves against.
|
|
27
|
+
*
|
|
28
|
+
* The three axes and `format` are carried across by value; `width` / `height`
|
|
29
|
+
* pass through unchanged (both enums leave them optional). The servable `url`
|
|
30
|
+
* is produced by the caller-supplied `urlFor` — the only piece the spec cannot
|
|
31
|
+
* express on its own, because it depends on where the destination serves the
|
|
32
|
+
* file.
|
|
33
|
+
*
|
|
34
|
+
* @param spec - the accepted assets from `BrandSnapshot.resolvedAssets` (SSOT).
|
|
35
|
+
* @param urlFor - maps each asset to the servable URL / app-relative path the
|
|
36
|
+
* target surface will serve it at.
|
|
37
|
+
*/
|
|
38
|
+
export declare function projectResolvedAssets(spec: BrandAssetConfig[], urlFor: (asset: BrandAssetConfig) => string): RuntimeBrandAsset[];
|
|
39
|
+
//# sourceMappingURL=brand-asset-projection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-asset-projection.d.ts","sourceRoot":"","sources":["../../../../../../src/services/brand/brand-asset-projection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,uBAAuB,CAAC;AA6B/B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,gBAAgB,EAAE,EACxB,MAAM,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,MAAM,GAC1C,iBAAiB,EAAE,CAUrB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Value-preserving projection from the authoring/spec `BrandAssetConfig`
|
|
3
|
+
* (`@wildo-ai/saas-specifications`) to the runtime `RuntimeBrandAsset`
|
|
4
|
+
* (`@wildo-ai/saas-models`).
|
|
5
|
+
*
|
|
6
|
+
* WHY THIS EXISTS: the spec `BrandAssetConfig` lives in `saas-specifications`,
|
|
7
|
+
* which sits BELOW `saas-models` in the dependency graph — runtime consumers
|
|
8
|
+
* (app shell, org branding, email, auth, website) cannot import it. The runtime
|
|
9
|
+
* sibling `RuntimeBrandAsset` is the servable projection they DO import. The two
|
|
10
|
+
* enum families (`composition` / `theme` / `purpose` / `format`) are declared
|
|
11
|
+
* with IDENTICAL string values precisely so this projection is a lossless
|
|
12
|
+
* value-preserving map. This module is the projection the companion would
|
|
13
|
+
* otherwise own; the `wildo brand propagate` CLI performs it here so the
|
|
14
|
+
* runtime-app-config destination can stamp `AppConfiguration.brandAssets`.
|
|
15
|
+
*
|
|
16
|
+
* The `storageRef` → servable `url` translation is NOT hard-coded here: the spec
|
|
17
|
+
* `storageRef` is a stored-file locator, and different destinations serve the
|
|
18
|
+
* same asset under different public paths (`/favicon.png`, `/brand/lockup.svg`,
|
|
19
|
+
* an absolute CDN URL for email). The caller supplies a `urlFor` strategy so the
|
|
20
|
+
* projection stays destination-agnostic.
|
|
21
|
+
*/
|
|
22
|
+
import { BrandAssetComposition, BrandAssetFormat, BrandAssetPurpose, BrandAssetTheme, } from '@wildo-ai/saas-models';
|
|
23
|
+
/**
|
|
24
|
+
* Coerce a spec-enum string value into the matching runtime enum member,
|
|
25
|
+
* failing closed if the two enums have drifted.
|
|
26
|
+
*
|
|
27
|
+
* The spec and runtime enums are hand-declared as separate TypeScript types with
|
|
28
|
+
* (by contract) identical string values. Rather than an unchecked cast, we
|
|
29
|
+
* verify the value is a real member of the runtime enum — a drift between the
|
|
30
|
+
* two declarations (e.g. a value added to one but not the other) becomes a loud
|
|
31
|
+
* projection error instead of a silently-invalid runtime asset. `axis` names the
|
|
32
|
+
* failing dimension so the error points straight at the drift.
|
|
33
|
+
*/
|
|
34
|
+
function toRuntimeEnumValue(runtimeEnum, value, axis) {
|
|
35
|
+
const members = Object.values(runtimeEnum);
|
|
36
|
+
if (members.includes(value)) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
throw new Error(`Brand asset projection: unknown ${axis} value "${value}". The spec `
|
|
40
|
+
+ `(@wildo-ai/saas-specifications) and runtime (@wildo-ai/saas-models) `
|
|
41
|
+
+ `brand enums have drifted — reconcile their string values.`);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Project the authored `resolvedAssets` (`BrandAssetConfig[]`) into the runtime
|
|
45
|
+
* `RuntimeBrandAsset[]` a runtime consumer resolves against.
|
|
46
|
+
*
|
|
47
|
+
* The three axes and `format` are carried across by value; `width` / `height`
|
|
48
|
+
* pass through unchanged (both enums leave them optional). The servable `url`
|
|
49
|
+
* is produced by the caller-supplied `urlFor` — the only piece the spec cannot
|
|
50
|
+
* express on its own, because it depends on where the destination serves the
|
|
51
|
+
* file.
|
|
52
|
+
*
|
|
53
|
+
* @param spec - the accepted assets from `BrandSnapshot.resolvedAssets` (SSOT).
|
|
54
|
+
* @param urlFor - maps each asset to the servable URL / app-relative path the
|
|
55
|
+
* target surface will serve it at.
|
|
56
|
+
*/
|
|
57
|
+
export function projectResolvedAssets(spec, urlFor) {
|
|
58
|
+
return spec.map((asset) => ({
|
|
59
|
+
composition: toRuntimeEnumValue(BrandAssetComposition, asset.composition, 'composition'),
|
|
60
|
+
theme: toRuntimeEnumValue(BrandAssetTheme, asset.theme, 'theme'),
|
|
61
|
+
purpose: toRuntimeEnumValue(BrandAssetPurpose, asset.purpose, 'purpose'),
|
|
62
|
+
url: urlFor(asset),
|
|
63
|
+
format: toRuntimeEnumValue(BrandAssetFormat, asset.format, 'format'),
|
|
64
|
+
...(asset.width !== undefined ? { width: asset.width } : {}),
|
|
65
|
+
...(asset.height !== undefined ? { height: asset.height } : {}),
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=brand-asset-projection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-asset-projection.js","sourceRoot":"","sources":["../../../../../../src/services/brand/brand-asset-projection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,GAEhB,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;GAUG;AACH,SAAS,kBAAkB,CACzB,WAAkB,EAClB,KAAa,EACb,IAAY;IAEZ,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,CAAa,CAAC;IACvD,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO,KAA2B,CAAC;IACrC,CAAC;IACD,MAAM,IAAI,KAAK,CACb,mCAAmC,IAAI,WAAW,KAAK,cAAc;UACnE,sEAAsE;UACtE,2DAA2D,CAC9D,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,qBAAqB,CACnC,IAAwB,EACxB,MAA2C;IAE3C,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAC1B,WAAW,EAAE,kBAAkB,CAAC,qBAAqB,EAAE,KAAK,CAAC,WAAW,EAAE,aAAa,CAAC;QACxF,KAAK,EAAE,kBAAkB,CAAC,eAAe,EAAE,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC;QAChE,OAAO,EAAE,kBAAkB,CAAC,iBAAiB,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC;QACxE,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC;QAClB,MAAM,EAAE,kBAAkB,CAAC,gBAAgB,EAAE,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC;QACpE,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5D,GAAG,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAChE,CAAC,CAAC,CAAC;AACN,CAAC","sourcesContent":["/**\n * Value-preserving projection from the authoring/spec `BrandAssetConfig`\n * (`@wildo-ai/saas-specifications`) to the runtime `RuntimeBrandAsset`\n * (`@wildo-ai/saas-models`).\n *\n * WHY THIS EXISTS: the spec `BrandAssetConfig` lives in `saas-specifications`,\n * which sits BELOW `saas-models` in the dependency graph — runtime consumers\n * (app shell, org branding, email, auth, website) cannot import it. The runtime\n * sibling `RuntimeBrandAsset` is the servable projection they DO import. The two\n * enum families (`composition` / `theme` / `purpose` / `format`) are declared\n * with IDENTICAL string values precisely so this projection is a lossless\n * value-preserving map. This module is the projection the companion would\n * otherwise own; the `wildo brand propagate` CLI performs it here so the\n * runtime-app-config destination can stamp `AppConfiguration.brandAssets`.\n *\n * The `storageRef` → servable `url` translation is NOT hard-coded here: the spec\n * `storageRef` is a stored-file locator, and different destinations serve the\n * same asset under different public paths (`/favicon.png`, `/brand/lockup.svg`,\n * an absolute CDN URL for email). The caller supplies a `urlFor` strategy so the\n * projection stays destination-agnostic.\n */\n\nimport type { BrandAssetConfig } from '@wildo-ai/saas-specifications';\nimport {\n BrandAssetComposition,\n BrandAssetFormat,\n BrandAssetPurpose,\n BrandAssetTheme,\n type RuntimeBrandAsset,\n} from '@wildo-ai/saas-models';\n\n/**\n * Coerce a spec-enum string value into the matching runtime enum member,\n * failing closed if the two enums have drifted.\n *\n * The spec and runtime enums are hand-declared as separate TypeScript types with\n * (by contract) identical string values. Rather than an unchecked cast, we\n * verify the value is a real member of the runtime enum — a drift between the\n * two declarations (e.g. a value added to one but not the other) becomes a loud\n * projection error instead of a silently-invalid runtime asset. `axis` names the\n * failing dimension so the error points straight at the drift.\n */\nfunction toRuntimeEnumValue<TEnum extends Record<string, string>>(\n runtimeEnum: TEnum,\n value: string,\n axis: string,\n): TEnum[keyof TEnum] {\n const members = Object.values(runtimeEnum) as string[];\n if (members.includes(value)) {\n return value as TEnum[keyof TEnum];\n }\n throw new Error(\n `Brand asset projection: unknown ${axis} value \"${value}\". The spec `\n + `(@wildo-ai/saas-specifications) and runtime (@wildo-ai/saas-models) `\n + `brand enums have drifted — reconcile their string values.`,\n );\n}\n\n/**\n * Project the authored `resolvedAssets` (`BrandAssetConfig[]`) into the runtime\n * `RuntimeBrandAsset[]` a runtime consumer resolves against.\n *\n * The three axes and `format` are carried across by value; `width` / `height`\n * pass through unchanged (both enums leave them optional). The servable `url`\n * is produced by the caller-supplied `urlFor` — the only piece the spec cannot\n * express on its own, because it depends on where the destination serves the\n * file.\n *\n * @param spec - the accepted assets from `BrandSnapshot.resolvedAssets` (SSOT).\n * @param urlFor - maps each asset to the servable URL / app-relative path the\n * target surface will serve it at.\n */\nexport function projectResolvedAssets(\n spec: BrandAssetConfig[],\n urlFor: (asset: BrandAssetConfig) => string,\n): RuntimeBrandAsset[] {\n return spec.map((asset) => ({\n composition: toRuntimeEnumValue(BrandAssetComposition, asset.composition, 'composition'),\n theme: toRuntimeEnumValue(BrandAssetTheme, asset.theme, 'theme'),\n purpose: toRuntimeEnumValue(BrandAssetPurpose, asset.purpose, 'purpose'),\n url: urlFor(asset),\n format: toRuntimeEnumValue(BrandAssetFormat, asset.format, 'format'),\n ...(asset.width !== undefined ? { width: asset.width } : {}),\n ...(asset.height !== undefined ? { height: asset.height } : {}),\n }));\n}\n"]}
|