@intentius/chant 0.59.0 → 0.61.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.
Files changed (60) hide show
  1. package/dist/build-params.d.ts +2 -2
  2. package/dist/cli/commands/lint.d.ts.map +1 -1
  3. package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
  4. package/dist/cli/handlers/lint.d.ts.map +1 -1
  5. package/dist/codegen/json-schema.d.ts +5 -2
  6. package/dist/codegen/json-schema.d.ts.map +1 -1
  7. package/dist/components/pilots/alb-ecs.pilot.d.ts +2 -2
  8. package/dist/config.d.ts +4 -4
  9. package/dist/graph-ir.d.ts +70 -2
  10. package/dist/graph-ir.d.ts.map +1 -1
  11. package/dist/lexicon.d.ts +48 -5
  12. package/dist/lexicon.d.ts.map +1 -1
  13. package/dist/lifecycle/assert-live.d.ts.map +1 -1
  14. package/dist/lifecycle/observe.d.ts +4 -4
  15. package/dist/lifecycle/observe.d.ts.map +1 -1
  16. package/dist/observation.d.ts +21 -1
  17. package/dist/observation.d.ts.map +1 -1
  18. package/dist/op/activities/index.d.ts +1 -1
  19. package/dist/op/activities/index.d.ts.map +1 -1
  20. package/dist/op/activities/reconcile.d.ts +79 -7
  21. package/dist/op/activities/reconcile.d.ts.map +1 -1
  22. package/dist/op/gate-summary.d.ts +16 -4
  23. package/dist/op/gate-summary.d.ts.map +1 -1
  24. package/dist/params.d.ts +1 -1
  25. package/dist/project-root.d.ts +2 -2
  26. package/package.json +1 -1
  27. package/src/build-params.ts +2 -2
  28. package/src/cli/commands/build.ts +8 -8
  29. package/src/cli/commands/lint.test.ts +151 -0
  30. package/src/cli/commands/lint.ts +37 -4
  31. package/src/cli/handlers/components.ts +1 -1
  32. package/src/cli/handlers/graph.test.ts +4 -4
  33. package/src/cli/handlers/graph.ts +11 -11
  34. package/src/cli/handlers/lifecycle.ts +1 -0
  35. package/src/cli/handlers/lint.test.ts +107 -0
  36. package/src/cli/handlers/lint.ts +30 -0
  37. package/src/codegen/json-schema.test.ts +159 -0
  38. package/src/codegen/json-schema.ts +106 -8
  39. package/src/components/SPRAWL-VALIDATION.md +5 -5
  40. package/src/components/pilots/README.md +1 -1
  41. package/src/components/pilots/alb-ecs.pilot.ts +2 -2
  42. package/src/config.ts +4 -4
  43. package/src/discovery/fold-import.test.ts +1 -1
  44. package/src/discovery/fold-import.ts +3 -3
  45. package/src/graph-ir.test.ts +63 -0
  46. package/src/graph-ir.ts +125 -8
  47. package/src/lexicon.ts +49 -5
  48. package/src/lifecycle/assert-live.ts +1 -0
  49. package/src/lifecycle/observe.test.ts +2 -2
  50. package/src/lifecycle/observe.ts +11 -8
  51. package/src/lifecycle/release-ledger.test.ts +2 -2
  52. package/src/observation.test.ts +21 -9
  53. package/src/observation.ts +31 -2
  54. package/src/op/activities/index.ts +8 -1
  55. package/src/op/activities/reconcile.test.ts +238 -0
  56. package/src/op/activities/reconcile.ts +267 -13
  57. package/src/op/gate-summary.test.ts +62 -0
  58. package/src/op/gate-summary.ts +17 -5
  59. package/src/params.ts +1 -1
  60. package/src/project-root.ts +2 -2
package/src/params.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * is a deploy-time CloudFormation parameter: it emits a `Parameters:` block and
7
7
  * resolves when the STACK deploys. A build-time parameter resolves before the
8
8
  * template is even synthesized — its value can change WHICH resources are
9
- * produced at all (loomster's `LOOM_TIER` selecting `light` vs `production` vs
9
+ * produced at all (a `tier` parameter selecting `light` vs `production` vs
10
10
  * `production-ha`), which a deploy-time `Parameter` structurally cannot do.
11
11
  *
12
12
  * Project source never reads `process.env` directly to vary a build — that
@@ -12,8 +12,8 @@ import { dirname, join, resolve } from "path";
12
12
  * `src/<stack>` layout — `chant build src/<stack>` two or more levels below
13
13
  * the project root — silently never found the root config: `buildParams`'
14
14
  * declared `env:` mappings went inert, `ownership`/`lint.policies`/etc quietly
15
- * fell back to defaults, and nothing warned (loomster#162: `LOOM_TIER`/
16
- * `LOOM_ENV` inert under every `npm run synth:*` for two releases).
15
+ * fell back to defaults, and nothing warned. That failure ran under every
16
+ * `npm run synth:*` of one project for two releases before anyone noticed it.
17
17
  *
18
18
  * `findProjectConfig` is the one walk every config-discovery call site now
19
19
  * shares. It stops at the first of: