@polymorphism-tech/morph-spec 3.0.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +561 -63
- package/LICENSE +72 -72
- package/README.md +275 -79
- package/bin/detect-agents.js +3 -1
- package/bin/morph-spec.js +60 -1
- package/bin/render-template.js +61 -14
- package/bin/semantic-detect-agents.js +2 -1
- package/bin/{task-manager.js → task-manager.cjs} +113 -8
- package/bin/validate-agents-skills.js +10 -4
- package/bin/validate-agents.js +4 -3
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +977 -977
- package/docs/api/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1048 -1048
- package/docs/api/scripts/collapse.js +38 -38
- package/docs/api/scripts/commonNav.js +28 -28
- package/docs/api/scripts/linenumber.js +25 -25
- package/docs/api/scripts/nav.js +12 -12
- package/docs/api/scripts/polyfill.js +3 -3
- package/docs/api/scripts/prettify/Apache-License-2.0.txt +202 -202
- package/docs/api/scripts/prettify/lang-css.js +2 -2
- package/docs/api/scripts/prettify/prettify.js +28 -28
- package/docs/api/scripts/search.js +98 -98
- package/docs/api/styles/jsdoc.css +776 -776
- package/docs/api/styles/prettify.css +80 -80
- package/docs/cli-auto-detection.md +219 -0
- package/docs/examples.md +328 -328
- package/docs/getting-started.md +3 -3
- package/docs/llm-interaction-config.md +735 -0
- package/docs/templates.md +418 -418
- package/docs/troubleshooting.md +269 -0
- package/package.json +7 -3
- package/scripts/postinstall.js +132 -132
- package/scripts/reorganize-skills.cjs +1 -1
- package/scripts/validate-agents-structure.cjs +1 -1
- package/scripts/validate-skills.cjs +2 -2
- package/src/commands/advance-phase.js +93 -2
- package/src/commands/analyze-blazor-concurrency.js +193 -193
- package/src/commands/approve.js +221 -0
- package/src/commands/capture-pattern.js +121 -0
- package/src/commands/create-story.js +5 -2
- package/src/commands/deploy.js +780 -780
- package/src/commands/detect-agents.js +4 -2
- package/src/commands/generate.js +276 -149
- package/src/commands/init.js +37 -0
- package/src/commands/lint-fluent.js +352 -352
- package/src/commands/migrate-state.js +158 -0
- package/src/commands/rollback-phase.js +185 -185
- package/src/commands/search-patterns.js +126 -0
- package/src/commands/session-summary.js +291 -291
- package/src/commands/shard-spec.js +224 -224
- package/src/commands/spawn-team.js +172 -0
- package/src/commands/sprint-status.js +250 -250
- package/src/commands/task.js +3 -3
- package/src/commands/troubleshoot.js +222 -222
- package/src/commands/update.js +36 -0
- package/src/commands/upgrade.js +346 -0
- package/src/commands/validate-blazor-state.js +210 -210
- package/src/commands/validate-blazor.js +156 -156
- package/src/commands/validate-css.js +84 -84
- package/src/commands/validate-phase.js +221 -221
- package/src/generator/.gitkeep +0 -0
- package/src/generator/config-generator.js +206 -0
- package/src/generator/templates/config.json.template +40 -0
- package/src/generator/templates/project.md.template +67 -0
- package/src/lib/blazor-concurrency-analyzer.js +288 -288
- package/src/lib/blazor-state-validator.js +291 -291
- package/src/lib/blazor-validator.js +374 -374
- package/src/lib/checkpoint-hooks.js +258 -0
- package/src/lib/context-generator.js +7 -4
- package/src/lib/css-validator.js +352 -352
- package/src/lib/design-system-generator.js +298 -298
- package/src/lib/hook-executor.js +2 -1
- package/src/lib/learning-system.js +520 -520
- package/src/lib/metadata-extractor.js +380 -0
- package/src/lib/mockup-generator.js +366 -366
- package/src/lib/phase-state-machine.js +214 -0
- package/src/lib/stack-resolver.js +148 -0
- package/src/lib/standards-context-injector.js +4 -3
- package/src/lib/state-manager.js +120 -0
- package/src/lib/team-orchestrator.js +2 -1
- package/src/lib/template-data-sources.js +325 -0
- package/src/lib/troubleshoot-grep.js +204 -194
- package/src/lib/troubleshoot-index.js +144 -144
- package/src/lib/ui-detector.js +350 -350
- package/src/lib/validation-runner.js +2 -1
- package/src/lib/validators/architecture-validator.js +387 -387
- package/src/lib/validators/content-validator.js +351 -0
- package/src/lib/validators/package-validator.js +360 -360
- package/src/lib/validators/ui-contrast-validator.js +422 -422
- package/src/llm/.gitkeep +0 -0
- package/src/llm/analyzer.js +215 -0
- package/src/llm/environment-detector.js +43 -0
- package/src/llm/few-shot-examples.js +216 -0
- package/src/llm/project-config-schema.json +188 -0
- package/src/llm/prompt-builder.js +96 -0
- package/src/llm/schema-validator.js +121 -0
- package/src/orchestrator.js +206 -0
- package/src/sanitizer/.gitkeep +0 -0
- package/src/sanitizer/context-sanitizer.js +221 -0
- package/src/sanitizer/patterns.js +163 -0
- package/src/scanner/.gitkeep +0 -0
- package/src/scanner/project-scanner.js +242 -0
- package/src/types/index.js +477 -0
- package/src/ui/.gitkeep +0 -0
- package/src/ui/diff-display.js +91 -0
- package/src/ui/interactive-wizard.js +96 -0
- package/src/ui/user-review.js +211 -0
- package/src/ui/wizard-questions.js +190 -0
- package/src/utils/file-copier.js +3 -1
- package/src/utils/logger.js +32 -32
- package/src/utils/version-checker.js +175 -175
- package/src/writer/.gitkeep +0 -0
- package/src/writer/file-writer.js +86 -0
- package/{content → stacks/blazor-azure}/.azure/README.md +2 -2
- package/{content → stacks/blazor-azure}/.azure/pipelines/pipeline-variables.yml +1 -1
- package/{content → stacks/blazor-azure}/.azure/pipelines/prod-pipeline.yml +1 -1
- package/{content → stacks/blazor-azure}/.azure/pipelines/staging-pipeline.yml +1 -1
- package/{content → stacks/blazor-azure}/.claude/commands/morph-preflight.md +227 -227
- package/{content → stacks/blazor-azure}/.claude/commands/morph-troubleshoot.md +122 -122
- package/{content → stacks/blazor-azure}/.claude/skills/level-1-workflows/phase-setup.md +1 -1
- package/{content → stacks/blazor-azure}/.morph/docs/workflows/enforcement-pipeline.md +3 -3
- package/{content → stacks/blazor-azure}/.morph/hooks/README.md +12 -12
- package/{content → stacks/blazor-azure}/.morph/standards/agent-teams-workflow.md +2 -2
- package/{content → stacks/blazor-azure}/.morph/standards/migration-guide.md +2 -2
- package/{content → stacks/blazor-azure}/.morph/templates/infra/deploy-checklist.md +426 -426
- package/stacks/nextjs-supabase/.claude/skills/level-2-domains/backend/dotnet-supabase.md +244 -0
- package/stacks/nextjs-supabase/.claude/skills/level-2-domains/frontend/nextjs-supabase.md +335 -0
- package/stacks/nextjs-supabase/.claude/skills/level-2-domains/infrastructure/easypanel-deployer.md +189 -0
- package/stacks/nextjs-supabase/.claude/skills/level-2-domains/integrations/supabase-expert.md +170 -0
- package/stacks/nextjs-supabase/.morph/config/agents.json +345 -0
- package/stacks/nextjs-supabase/.morph/config/config.template.json +92 -0
- package/stacks/nextjs-supabase/.morph/docs/easypanel-setup.md +169 -0
- package/stacks/nextjs-supabase/.morph/docs/supabase-mcp-setup.md +247 -0
- package/stacks/nextjs-supabase/.morph/examples/crud-nextjs-supabase/README.md +697 -0
- package/stacks/nextjs-supabase/.morph/examples/crud-nextjs-supabase/spec.md +85 -0
- package/stacks/nextjs-supabase/.morph/examples/crud-nextjs-supabase/tasks.md +86 -0
- package/stacks/nextjs-supabase/.morph/examples/saas-nextjs-supabase/README.md +498 -0
- package/stacks/nextjs-supabase/.morph/examples/saas-nextjs-supabase/decisions.md +121 -0
- package/stacks/nextjs-supabase/.morph/examples/saas-nextjs-supabase/spec.md +138 -0
- package/stacks/nextjs-supabase/.morph/examples/saas-nextjs-supabase/tasks.md +162 -0
- package/stacks/nextjs-supabase/.morph/project.md +168 -0
- package/stacks/nextjs-supabase/.morph/standards/easypanel-deploy.md +191 -0
- package/stacks/nextjs-supabase/.morph/standards/nextjs-patterns.md +193 -0
- package/stacks/nextjs-supabase/.morph/standards/supabase-auth.md +171 -0
- package/stacks/nextjs-supabase/.morph/standards/supabase-pgvector.md +164 -0
- package/stacks/nextjs-supabase/.morph/standards/supabase-rls.md +179 -0
- package/stacks/nextjs-supabase/.morph/standards/supabase-storage.md +148 -0
- package/stacks/nextjs-supabase/.morph/templates/contracts.cs +173 -0
- package/stacks/nextjs-supabase/.morph/templates/contracts.ts +168 -0
- package/stacks/nextjs-supabase/.morph/templates/decisions.md +115 -0
- package/stacks/nextjs-supabase/.morph/templates/dockerfile-api.dockerfile +38 -0
- package/stacks/nextjs-supabase/.morph/templates/dockerfile-web.dockerfile +48 -0
- package/stacks/nextjs-supabase/.morph/templates/proposal.md +145 -0
- package/stacks/nextjs-supabase/.morph/templates/recap.md +134 -0
- package/stacks/nextjs-supabase/.morph/templates/rls-policy.sql +57 -0
- package/stacks/nextjs-supabase/.morph/templates/spec.md +231 -0
- package/stacks/nextjs-supabase/.morph/templates/supabase-migration.sql +100 -0
- package/stacks/nextjs-supabase/.morph/templates/tasks.md +257 -0
- package/stacks/nextjs-supabase/CLAUDE.md +149 -0
- package/stacks/nextjs-supabase/README.md +112 -0
- /package/{content → stacks/blazor-azure}/.azure/docs/azure-devops-setup.md +0 -0
- /package/{content → stacks/blazor-azure}/.azure/docs/branch-strategy.md +0 -0
- /package/{content → stacks/blazor-azure}/.azure/docs/local-development.md +0 -0
- /package/{content → stacks/blazor-azure}/.azure/pipelines/templates/build-dotnet.yml +0 -0
- /package/{content → stacks/blazor-azure}/.azure/pipelines/templates/deploy-app-service.yml +0 -0
- /package/{content → stacks/blazor-azure}/.azure/pipelines/templates/deploy-container-app.yml +0 -0
- /package/{content → stacks/blazor-azure}/.azure/pipelines/templates/infra-deploy.yml +0 -0
- /package/{content → stacks/blazor-azure}/.claude/commands/morph-apply.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/commands/morph-archive.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/commands/morph-deploy.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/commands/morph-infra.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/commands/morph-proposal.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/commands/morph-status.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/settings.local.json +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-0-meta/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-0-meta/code-review.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-0-meta/morph-checklist.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-0-meta/simulation-checklist.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-1-workflows/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-1-workflows/morph-replicate.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-1-workflows/phase-clarify.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-1-workflows/phase-design.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-1-workflows/phase-tasks.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-1-workflows/phase-uiux.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/ai-agents/ai-system-architect.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/architecture/po-pm-advisor.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/architecture/prompt-engineer.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/architecture/seo-growth-hacker.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/architecture/standards-architect.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/backend/dotnet-senior.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/backend/ef-modeler.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/backend/hangfire-orchestrator.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/backend/ms-agent-expert.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/frontend/blazor-builder.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/frontend/nextjs-expert.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/frontend/ui-ux-designer.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/infrastructure/azure-architect.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/infrastructure/azure-deploy-specialist.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/infrastructure/bicep-architect.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/infrastructure/container-specialist.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/infrastructure/devops-engineer.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/integrations/asaas-financial.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/integrations/azure-identity.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/integrations/clerk-auth.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/integrations/resend-email.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/quality/code-analyzer.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-2-domains/quality/testing-specialist.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-3-technologies/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.claude/skills/level-4-patterns/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/.morphversion +0 -0
- /package/{content → stacks/blazor-azure}/.morph/archive/.gitkeep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/config/agents.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/config/config.template.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/docs/STORY-DRIVEN-DEVELOPMENT.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/docs/workflows/design-impl.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/docs/workflows/fast-track.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/docs/workflows/full-morph.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/docs/workflows/standard.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/docs/workflows/ui-refresh.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/api-nextjs/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/api-nextjs/contracts.ts +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/api-nextjs/spec.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/api-nextjs/tasks.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/micro-saas/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/micro-saas/contracts.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/micro-saas/decisions.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/micro-saas/spec.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/micro-saas/tasks.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/multi-agent/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/multi-agent/contracts.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/multi-agent/spec.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/multi-agent/tasks.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/scheduled-reports/decisions.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/scheduled-reports/proposal.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/scheduled-reports/spec.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/examples/state-v3.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/features/.gitkeep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/hooks/pre-commit-agents.sh +0 -0
- /package/{content → stacks/blazor-azure}/.morph/hooks/pre-commit-all.sh +0 -0
- /package/{content → stacks/blazor-azure}/.morph/hooks/pre-commit-specs.sh +0 -0
- /package/{content → stacks/blazor-azure}/.morph/hooks/pre-commit-tests.sh +0 -0
- /package/{content → stacks/blazor-azure}/.morph/hooks/task-completed.js +0 -0
- /package/{content → stacks/blazor-azure}/.morph/hooks/teammate-idle.js +0 -0
- /package/{content → stacks/blazor-azure}/.morph/project.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/schemas/agent.schema.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/schemas/tasks.schema.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/specs/.gitkeep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/agent-framework-blazor-ui.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/agent-framework-production.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/agent-framework-setup.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/agent-framework-workflows.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/architecture.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/azure.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/coding.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/dotnet10-migration.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/fluent-ui-setup.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/passkeys-auth.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/standards/vector-search-rag.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/state.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/CONTEXT-FEATURE.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/CONTEXT.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/FluentDesignTheme.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/MudTheme.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/agent.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/clarify-questions.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/component.razor +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/contracts/Commands.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/contracts/Entities.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/contracts/Queries.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/contracts/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/contracts.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/decisions.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/design-system.css +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/.dockerignore.example +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/Dockerfile.example +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/README.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/app-insights.bicep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/app-service.bicep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/azure-pipelines-deploy.yml +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/container-app-env.bicep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/container-app.bicep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/deploy.ps1 +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/deploy.sh +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/key-vault.bicep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/main.bicep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/parameters.dev.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/parameters.prod.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/parameters.staging.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/sql-database.bicep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/infra/storage.bicep +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/integrations/asaas-client.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/integrations/asaas-webhook.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/integrations/azure-identity-config.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/integrations/clerk-config.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/job.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/migration.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/proposal.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/recap.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/repository.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/saas/subscription.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/saas/tenant.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/service.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/simulation.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/spec.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/sprint-status.yaml +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/state.template.json +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/story.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/tasks.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/test.cs +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/ui-components.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/ui-design-system.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/ui-flows.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/templates/ui-mockups.md +0 -0
- /package/{content → stacks/blazor-azure}/.morph/test-infra/example.bicep +0 -0
- /package/{content → stacks/blazor-azure}/CLAUDE.md +0 -0
- /package/{content → stacks/blazor-azure}/README.md +0 -0
|
@@ -1,175 +1,175 @@
|
|
|
1
|
-
import { readFileSync } from 'fs';
|
|
2
|
-
import { join, dirname } from 'path';
|
|
3
|
-
import { fileURLToPath } from 'url';
|
|
4
|
-
import { pathExists, readJson, writeJson } from './file-copier.js';
|
|
5
|
-
|
|
6
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Get the current CLI version from package.json
|
|
10
|
-
* @returns {string} Version string (e.g., "1.0.4")
|
|
11
|
-
*/
|
|
12
|
-
export function getInstalledCLIVersion() {
|
|
13
|
-
try {
|
|
14
|
-
const pkgPath = join(__dirname, '..', '..', 'package.json');
|
|
15
|
-
const pkg = JSON.parse(readFileSync(pkgPath, 'utf8'));
|
|
16
|
-
return pkg.version;
|
|
17
|
-
} catch (error) {
|
|
18
|
-
return 'unknown';
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Get the latest version from npm registry
|
|
24
|
-
* @param {string} packageName - The package name (default: @polymorphism-tech/morph-spec)
|
|
25
|
-
* @returns {Promise<string|null>} Latest version or null if failed
|
|
26
|
-
*/
|
|
27
|
-
export async function getLatestNPMVersion(packageName = '@polymorphism-tech/morph-spec') {
|
|
28
|
-
try {
|
|
29
|
-
const response = await fetch(`https://registry.npmjs.org/${packageName}/latest`);
|
|
30
|
-
if (!response.ok) return null;
|
|
31
|
-
const data = await response.json();
|
|
32
|
-
return data.version;
|
|
33
|
-
} catch (error) {
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Get the MORPH version installed in the project
|
|
40
|
-
* @param {string} projectPath - Path to the project
|
|
41
|
-
* @returns {Promise<object|null>} Version info object or null if not found
|
|
42
|
-
*/
|
|
43
|
-
export async function getProjectMorphVersion(projectPath) {
|
|
44
|
-
try {
|
|
45
|
-
const versionPath = join(projectPath, '.morph', '.morphversion');
|
|
46
|
-
if (!(await pathExists(versionPath))) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
return await readJson(versionPath);
|
|
50
|
-
} catch (error) {
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Save the MORPH version to the project
|
|
57
|
-
* @param {string} projectPath - Path to the project
|
|
58
|
-
* @param {string} version - Version to save
|
|
59
|
-
* @returns {Promise<void>}
|
|
60
|
-
*/
|
|
61
|
-
export async function saveProjectMorphVersion(projectPath, version) {
|
|
62
|
-
const versionPath = join(projectPath, '.morph', '.morphversion');
|
|
63
|
-
const versionInfo = {
|
|
64
|
-
morphVersion: version,
|
|
65
|
-
installedAt: new Date().toISOString(),
|
|
66
|
-
cliVersion: version
|
|
67
|
-
};
|
|
68
|
-
await writeJson(versionPath, versionInfo);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Compare two semver versions
|
|
73
|
-
* @param {string} v1 - First version
|
|
74
|
-
* @param {string} v2 - Second version
|
|
75
|
-
* @returns {number} -1 if v1 < v2, 0 if equal, 1 if v1 > v2
|
|
76
|
-
*/
|
|
77
|
-
export function compareVersions(v1, v2) {
|
|
78
|
-
if (!v1 || !v2) return 0;
|
|
79
|
-
|
|
80
|
-
const parts1 = v1.split('.').map(Number);
|
|
81
|
-
const parts2 = v2.split('.').map(Number);
|
|
82
|
-
|
|
83
|
-
for (let i = 0; i < Math.max(parts1.length, parts2.length); i++) {
|
|
84
|
-
const num1 = parts1[i] || 0;
|
|
85
|
-
const num2 = parts2[i] || 0;
|
|
86
|
-
|
|
87
|
-
if (num1 < num2) return -1;
|
|
88
|
-
if (num1 > num2) return 1;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
return 0;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Detect how the CLI was installed
|
|
96
|
-
* @returns {'global'|'npx'|'unknown'}
|
|
97
|
-
*/
|
|
98
|
-
export function detectInstallMethod() {
|
|
99
|
-
// Check if running via npx
|
|
100
|
-
if (process.env.npm_execpath && process.env.npm_execpath.includes('npx')) {
|
|
101
|
-
return 'npx';
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Check if installed globally
|
|
105
|
-
const isGlobal = process.env.npm_config_global === 'true' ||
|
|
106
|
-
process.execPath.includes('node_modules');
|
|
107
|
-
|
|
108
|
-
if (isGlobal) {
|
|
109
|
-
return 'global';
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
return 'unknown';
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Get update instructions based on install method
|
|
117
|
-
* @param {string} method - Install method ('global', 'npx', 'unknown')
|
|
118
|
-
* @returns {string[]} Array of instruction strings
|
|
119
|
-
*/
|
|
120
|
-
export function getUpdateInstructions(method) {
|
|
121
|
-
switch (method) {
|
|
122
|
-
case 'global':
|
|
123
|
-
return [
|
|
124
|
-
'npm install -g @polymorphism-tech/morph-spec@latest',
|
|
125
|
-
'morph-spec update'
|
|
126
|
-
];
|
|
127
|
-
case 'npx':
|
|
128
|
-
return [
|
|
129
|
-
'npx @polymorphism-tech/morph-spec@latest update'
|
|
130
|
-
];
|
|
131
|
-
default:
|
|
132
|
-
return [
|
|
133
|
-
'npm install -g @polymorphism-tech/morph-spec@latest',
|
|
134
|
-
'morph-spec update',
|
|
135
|
-
'',
|
|
136
|
-
'Or use npx:',
|
|
137
|
-
'npx @polymorphism-tech/morph-spec@latest update'
|
|
138
|
-
];
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* Check if CLI version is outdated
|
|
144
|
-
* @returns {Promise<{isOutdated: boolean, current: string, latest: string|null}>}
|
|
145
|
-
*/
|
|
146
|
-
export async function checkCLIOutdated() {
|
|
147
|
-
const current = getInstalledCLIVersion();
|
|
148
|
-
const latest = await getLatestNPMVersion();
|
|
149
|
-
|
|
150
|
-
if (!latest) {
|
|
151
|
-
return { isOutdated: false, current, latest: null };
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
const isOutdated = compareVersions(current, latest) < 0;
|
|
155
|
-
|
|
156
|
-
return { isOutdated, current, latest };
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Check if project MORPH version is outdated
|
|
161
|
-
* @param {string} projectPath - Path to the project
|
|
162
|
-
* @returns {Promise<{isOutdated: boolean, current: string|null, cliVersion: string}>}
|
|
163
|
-
*/
|
|
164
|
-
export async function checkProjectOutdated(projectPath) {
|
|
165
|
-
const cliVersion = getInstalledCLIVersion();
|
|
166
|
-
const projectVersion = await getProjectMorphVersion(projectPath);
|
|
167
|
-
|
|
168
|
-
if (!projectVersion) {
|
|
169
|
-
return { isOutdated: false, current: null, cliVersion };
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
const isOutdated = compareVersions(projectVersion.morphVersion, cliVersion) < 0;
|
|
173
|
-
|
|
174
|
-
return { isOutdated, current: projectVersion.morphVersion, cliVersion };
|
|
175
|
-
}
|
|
1
|
+
import { readFileSync } from 'fs';
|
|
2
|
+
import { join, dirname } from 'path';
|
|
3
|
+
import { fileURLToPath } from 'url';
|
|
4
|
+
import { pathExists, readJson, writeJson } from './file-copier.js';
|
|
5
|
+
|
|
6
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Get the current CLI version from package.json
|
|
10
|
+
* @returns {string} Version string (e.g., "1.0.4")
|
|
11
|
+
*/
|
|
12
|
+
export function getInstalledCLIVersion() {
|
|
13
|
+
try {
|
|
14
|
+
const pkgPath = join(__dirname, '..', '..', 'package.json');
|
|
15
|
+
const pkg = JSON.parse(readFileSync(pkgPath, 'utf8'));
|
|
16
|
+
return pkg.version;
|
|
17
|
+
} catch (error) {
|
|
18
|
+
return 'unknown';
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Get the latest version from npm registry
|
|
24
|
+
* @param {string} packageName - The package name (default: @polymorphism-tech/morph-spec)
|
|
25
|
+
* @returns {Promise<string|null>} Latest version or null if failed
|
|
26
|
+
*/
|
|
27
|
+
export async function getLatestNPMVersion(packageName = '@polymorphism-tech/morph-spec') {
|
|
28
|
+
try {
|
|
29
|
+
const response = await fetch(`https://registry.npmjs.org/${packageName}/latest`);
|
|
30
|
+
if (!response.ok) return null;
|
|
31
|
+
const data = await response.json();
|
|
32
|
+
return data.version;
|
|
33
|
+
} catch (error) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Get the MORPH version installed in the project
|
|
40
|
+
* @param {string} projectPath - Path to the project
|
|
41
|
+
* @returns {Promise<object|null>} Version info object or null if not found
|
|
42
|
+
*/
|
|
43
|
+
export async function getProjectMorphVersion(projectPath) {
|
|
44
|
+
try {
|
|
45
|
+
const versionPath = join(projectPath, '.morph', '.morphversion');
|
|
46
|
+
if (!(await pathExists(versionPath))) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return await readJson(versionPath);
|
|
50
|
+
} catch (error) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Save the MORPH version to the project
|
|
57
|
+
* @param {string} projectPath - Path to the project
|
|
58
|
+
* @param {string} version - Version to save
|
|
59
|
+
* @returns {Promise<void>}
|
|
60
|
+
*/
|
|
61
|
+
export async function saveProjectMorphVersion(projectPath, version) {
|
|
62
|
+
const versionPath = join(projectPath, '.morph', '.morphversion');
|
|
63
|
+
const versionInfo = {
|
|
64
|
+
morphVersion: version,
|
|
65
|
+
installedAt: new Date().toISOString(),
|
|
66
|
+
cliVersion: version
|
|
67
|
+
};
|
|
68
|
+
await writeJson(versionPath, versionInfo);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Compare two semver versions
|
|
73
|
+
* @param {string} v1 - First version
|
|
74
|
+
* @param {string} v2 - Second version
|
|
75
|
+
* @returns {number} -1 if v1 < v2, 0 if equal, 1 if v1 > v2
|
|
76
|
+
*/
|
|
77
|
+
export function compareVersions(v1, v2) {
|
|
78
|
+
if (!v1 || !v2) return 0;
|
|
79
|
+
|
|
80
|
+
const parts1 = v1.split('.').map(Number);
|
|
81
|
+
const parts2 = v2.split('.').map(Number);
|
|
82
|
+
|
|
83
|
+
for (let i = 0; i < Math.max(parts1.length, parts2.length); i++) {
|
|
84
|
+
const num1 = parts1[i] || 0;
|
|
85
|
+
const num2 = parts2[i] || 0;
|
|
86
|
+
|
|
87
|
+
if (num1 < num2) return -1;
|
|
88
|
+
if (num1 > num2) return 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Detect how the CLI was installed
|
|
96
|
+
* @returns {'global'|'npx'|'unknown'}
|
|
97
|
+
*/
|
|
98
|
+
export function detectInstallMethod() {
|
|
99
|
+
// Check if running via npx
|
|
100
|
+
if (process.env.npm_execpath && process.env.npm_execpath.includes('npx')) {
|
|
101
|
+
return 'npx';
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Check if installed globally
|
|
105
|
+
const isGlobal = process.env.npm_config_global === 'true' ||
|
|
106
|
+
process.execPath.includes('node_modules');
|
|
107
|
+
|
|
108
|
+
if (isGlobal) {
|
|
109
|
+
return 'global';
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return 'unknown';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Get update instructions based on install method
|
|
117
|
+
* @param {string} method - Install method ('global', 'npx', 'unknown')
|
|
118
|
+
* @returns {string[]} Array of instruction strings
|
|
119
|
+
*/
|
|
120
|
+
export function getUpdateInstructions(method) {
|
|
121
|
+
switch (method) {
|
|
122
|
+
case 'global':
|
|
123
|
+
return [
|
|
124
|
+
'npm install -g @polymorphism-tech/morph-spec@latest',
|
|
125
|
+
'morph-spec update'
|
|
126
|
+
];
|
|
127
|
+
case 'npx':
|
|
128
|
+
return [
|
|
129
|
+
'npx @polymorphism-tech/morph-spec@latest update'
|
|
130
|
+
];
|
|
131
|
+
default:
|
|
132
|
+
return [
|
|
133
|
+
'npm install -g @polymorphism-tech/morph-spec@latest',
|
|
134
|
+
'morph-spec update',
|
|
135
|
+
'',
|
|
136
|
+
'Or use npx:',
|
|
137
|
+
'npx @polymorphism-tech/morph-spec@latest update'
|
|
138
|
+
];
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Check if CLI version is outdated
|
|
144
|
+
* @returns {Promise<{isOutdated: boolean, current: string, latest: string|null}>}
|
|
145
|
+
*/
|
|
146
|
+
export async function checkCLIOutdated() {
|
|
147
|
+
const current = getInstalledCLIVersion();
|
|
148
|
+
const latest = await getLatestNPMVersion();
|
|
149
|
+
|
|
150
|
+
if (!latest) {
|
|
151
|
+
return { isOutdated: false, current, latest: null };
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
const isOutdated = compareVersions(current, latest) < 0;
|
|
155
|
+
|
|
156
|
+
return { isOutdated, current, latest };
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Check if project MORPH version is outdated
|
|
161
|
+
* @param {string} projectPath - Path to the project
|
|
162
|
+
* @returns {Promise<{isOutdated: boolean, current: string|null, cliVersion: string}>}
|
|
163
|
+
*/
|
|
164
|
+
export async function checkProjectOutdated(projectPath) {
|
|
165
|
+
const cliVersion = getInstalledCLIVersion();
|
|
166
|
+
const projectVersion = await getProjectMorphVersion(projectPath);
|
|
167
|
+
|
|
168
|
+
if (!projectVersion) {
|
|
169
|
+
return { isOutdated: false, current: null, cliVersion };
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
const isOutdated = compareVersions(projectVersion.morphVersion, cliVersion) < 0;
|
|
173
|
+
|
|
174
|
+
return { isOutdated, current: projectVersion.morphVersion, cliVersion };
|
|
175
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview FileWriter - Saves generated configs to filesystem
|
|
3
|
+
* @module morph-spec/writer/file-writer
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { writeFile, mkdir, access } from 'fs/promises';
|
|
7
|
+
import { join, dirname } from 'path';
|
|
8
|
+
import chalk from 'chalk';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @typedef {import('../types/index.js').GeneratedConfigs} GeneratedConfigs
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* FileWriter - Saves configuration files to .morph/ directory
|
|
16
|
+
* @class
|
|
17
|
+
*/
|
|
18
|
+
export class FileWriter {
|
|
19
|
+
/**
|
|
20
|
+
* Save generated configs to filesystem
|
|
21
|
+
* @param {string} cwd - Current working directory
|
|
22
|
+
* @param {GeneratedConfigs} configs - Configs to save
|
|
23
|
+
* @returns {Promise<void>}
|
|
24
|
+
*/
|
|
25
|
+
async save(cwd, configs) {
|
|
26
|
+
const morphDir = join(cwd, '.morph');
|
|
27
|
+
const configDir = join(morphDir, 'config');
|
|
28
|
+
|
|
29
|
+
// Ensure directories exist
|
|
30
|
+
await this.ensureDirectoryExists(morphDir);
|
|
31
|
+
await this.ensureDirectoryExists(configDir);
|
|
32
|
+
|
|
33
|
+
// Write files
|
|
34
|
+
const projectMdPath = join(morphDir, 'project.md');
|
|
35
|
+
const configJsonPath = join(configDir, 'config.json');
|
|
36
|
+
|
|
37
|
+
await Promise.all([
|
|
38
|
+
this.writeProjectMd(projectMdPath, configs.projectMd),
|
|
39
|
+
this.writeConfigJson(configJsonPath, configs.configJson)
|
|
40
|
+
]);
|
|
41
|
+
|
|
42
|
+
// Display success message
|
|
43
|
+
console.log(chalk.bold.green('\n✅ Configuration files saved:\n'));
|
|
44
|
+
console.log(chalk.cyan(` 📄 ${projectMdPath}`));
|
|
45
|
+
console.log(chalk.cyan(` ⚙️ ${configJsonPath}`));
|
|
46
|
+
console.log();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Write project.md file
|
|
51
|
+
* @param {string} filepath - File path
|
|
52
|
+
* @param {string} content - File content
|
|
53
|
+
* @returns {Promise<void>}
|
|
54
|
+
*/
|
|
55
|
+
async writeProjectMd(filepath, content) {
|
|
56
|
+
await writeFile(filepath, content, 'utf-8');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Write config.json file (with pretty formatting)
|
|
61
|
+
* @param {string} filepath - File path
|
|
62
|
+
* @param {string} content - File content (JSON string)
|
|
63
|
+
* @returns {Promise<void>}
|
|
64
|
+
*/
|
|
65
|
+
async writeConfigJson(filepath, content) {
|
|
66
|
+
// Parse and re-stringify with pretty formatting
|
|
67
|
+
const parsed = JSON.parse(content);
|
|
68
|
+
const formatted = JSON.stringify(parsed, null, 2);
|
|
69
|
+
|
|
70
|
+
await writeFile(filepath, formatted, 'utf-8');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Ensure directory exists (create if not)
|
|
75
|
+
* @param {string} dirPath - Directory path
|
|
76
|
+
* @returns {Promise<void>}
|
|
77
|
+
*/
|
|
78
|
+
async ensureDirectoryExists(dirPath) {
|
|
79
|
+
try {
|
|
80
|
+
await access(dirPath);
|
|
81
|
+
} catch (error) {
|
|
82
|
+
// Directory doesn't exist, create it
|
|
83
|
+
await mkdir(dirPath, { recursive: true });
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -268,8 +268,8 @@ az containerapp logs show \
|
|
|
268
268
|
| [Azure DevOps Setup](docs/azure-devops-setup.md) | Setup completo (Workload Identity, Service Connections, Environments) |
|
|
269
269
|
| [Local Development](docs/local-development.md) | Como rodar projeto local e acessar recursos staging |
|
|
270
270
|
| [Branch Strategy](docs/branch-strategy.md) | Estratégia de branches (staging/main, feature branches) |
|
|
271
|
-
| [Migration Guide](
|
|
272
|
-
| [Azure Standards](
|
|
271
|
+
| [Migration Guide](../.morph/standards/migration-guide.md) | App Service → Container Apps + CI/CD |
|
|
272
|
+
| [Azure Standards](../.morph/standards/azure.md) | Padrões Azure e IaC |
|
|
273
273
|
|
|
274
274
|
---
|
|
275
275
|
|
|
@@ -22,7 +22,7 @@ variables:
|
|
|
22
22
|
- name: hostingType
|
|
23
23
|
value: 'containerapp'
|
|
24
24
|
- name: parametersFile
|
|
25
|
-
value: '
|
|
25
|
+
value: '.morph/templates/infra/parameters.prod.json'
|
|
26
26
|
- name: imageName
|
|
27
27
|
value: '$(APP_NAME)'
|
|
28
28
|
- name: imageFullName
|
|
@@ -24,7 +24,7 @@ variables:
|
|
|
24
24
|
- name: hostingType
|
|
25
25
|
value: 'containerapp'
|
|
26
26
|
- name: parametersFile
|
|
27
|
-
value: '
|
|
27
|
+
value: '.morph/templates/infra/parameters.staging.json'
|
|
28
28
|
- name: imageName
|
|
29
29
|
value: '$(APP_NAME)'
|
|
30
30
|
- name: imageFullName
|