@solid-stack/builder 2.1.0 → 2.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.
Files changed (45) hide show
  1. package/README.md +6 -7
  2. package/dist/bin.js +370 -339
  3. package/dist/bin.js.map +1 -1
  4. package/dist/commands/mesh/commands/down/handler.d.ts.map +1 -1
  5. package/dist/commands/mesh/commands/up/command.d.ts.map +1 -1
  6. package/dist/commands/mesh/commands/up/handler.d.ts.map +1 -1
  7. package/dist/core/composition/compileServiceComposition.d.ts.map +1 -1
  8. package/dist/core/composition/composeDependsOn.d.ts +3 -1
  9. package/dist/core/composition/composeDependsOn.d.ts.map +1 -1
  10. package/dist/core/composition/composePaths.d.ts +1 -0
  11. package/dist/core/composition/composePaths.d.ts.map +1 -1
  12. package/dist/core/composition/dependencyLifecycle.d.ts.map +1 -1
  13. package/dist/core/composition/validateMaterializedComposeBuildInputs.d.ts +4 -0
  14. package/dist/core/composition/validateMaterializedComposeBuildInputs.d.ts.map +1 -0
  15. package/dist/core/composition/validateMaterializedComposeFiles.d.ts +8 -0
  16. package/dist/core/composition/validateMaterializedComposeFiles.d.ts.map +1 -0
  17. package/dist/core/config/meshStageContract.d.ts +6 -0
  18. package/dist/core/config/meshStageContract.d.ts.map +1 -0
  19. package/dist/core/config/resolveMeshStage.d.ts.map +1 -1
  20. package/dist/core/config/types.d.ts +1 -1
  21. package/dist/core/config/types.d.ts.map +1 -1
  22. package/dist/core/mesh/checkers/checkMesh.d.ts +0 -1
  23. package/dist/core/mesh/checkers/checkMesh.d.ts.map +1 -1
  24. package/dist/core/mesh/checkers/checkMeshServices.d.ts +2 -5
  25. package/dist/core/mesh/checkers/checkMeshServices.d.ts.map +1 -1
  26. package/dist/core/mesh/getMeshJson.d.ts.map +1 -1
  27. package/dist/core/mesh/meshSchema.d.ts +0 -55
  28. package/dist/core/mesh/meshSchema.d.ts.map +1 -1
  29. package/dist/core/mesh/runners/runMeshTestE2e.d.ts.map +1 -1
  30. package/dist/core/mesh/types.d.ts +4 -4
  31. package/dist/core/mesh/types.d.ts.map +1 -1
  32. package/dist/core/mesh/v2/compileMeshComposition.d.ts.map +1 -1
  33. package/dist/core/mesh/v2/compileMeshTester.d.ts.map +1 -1
  34. package/dist/core/runners/runFiniteTester.d.ts +3 -0
  35. package/dist/core/runners/runFiniteTester.d.ts.map +1 -0
  36. package/dist/core/runners/runTestE2e.d.ts.map +1 -1
  37. package/dist/index.js +371 -340
  38. package/dist/index.js.map +1 -1
  39. package/dist/utils/runState.d.ts.map +1 -1
  40. package/package.json +1 -1
  41. package/schemas/mesh-schema.json +0 -106
  42. package/dist/core/mesh/runners/runMeshTestUnit.d.ts +0 -3
  43. package/dist/core/mesh/runners/runMeshTestUnit.d.ts.map +0 -1
  44. package/dist/core/mesh/v2/validateMeshTestStage.d.ts +0 -22
  45. package/dist/core/mesh/v2/validateMeshTestStage.d.ts.map +0 -1
package/README.md CHANGED
@@ -358,11 +358,10 @@ This makes it practical to keep databases, APIs, queues, and internal services p
358
358
  |---|---|---|---|---|---|
359
359
  | `builder mesh up dev` | `dev` | `dev` | `dev` | Integrated unless substituted | No |
360
360
  | `builder mesh up prod` | `prod` | `prod` | `prod` | Integrated unless substituted | No |
361
- | `builder mesh up test-unit` | `test` | `test` | `test` | Isolated | No |
362
361
  | `builder mesh up test-e2e` | `base -> prod -> e2e` | `base -> prod -> e2e` | `prod` | Integrated unless substituted | Yes |
363
362
  | `builder mesh up test` | Phase 1: root service tests; Phase 2: `base -> prod -> e2e` | service lifecycle, then global E2E | `test`, then `prod` | Per phase | Global tester in Phase 2 |
364
363
 
365
- `mesh test` has two phases. Phase 1 runs each root service’s complete standalone test lifecycle—unit/isolated tests followed by that service’s own E2E tester—sequentially with full teardown. Phase 2 starts a clean `base -> prod -> e2e` mesh and runs the global E2E tester. Stage-only mesh services are not Phase-1 members unless they also exist in root `services`. `mesh up test-unit` remains explicit `mesh.test` stage tooling; it is not canonical Phase 1.
364
+ `mesh test` has two phases. Phase 1 runs each root service’s complete standalone test lifecycle—unit/isolated tests followed by that service’s own E2E tester—sequentially with full teardown. Phase 2 starts a clean `base -> prod -> e2e` mesh and runs the global E2E tester. Stage-only mesh services are not Phase-1 members unless they also exist in root `services`. `mesh.json` supports `dev`, `prod`, and `e2e` overlays only. A root `test` field is rejected, including an empty object and when `--skip-checks` is used. `build.json.test` remains supported. See [v2.2 migration](docs/migration/v2.1-to-v2.2.md).
366
365
 
367
366
  ---
368
367
 
@@ -492,7 +491,7 @@ Options:
492
491
  ## Run a mesh
493
492
 
494
493
  ```bash
495
- builder mesh up [dev|prod|test|test-unit|test-e2e] [options]
494
+ builder mesh up [dev|prod|test|test-e2e] [options]
496
495
  ```
497
496
 
498
497
  Options:
@@ -509,7 +508,7 @@ Options:
509
508
  ## Stop a mesh
510
509
 
511
510
  ```bash
512
- builder mesh down [dev|prod|test|test-unit|test-e2e] [options]
511
+ builder mesh down [dev|prod|test|test-e2e] [options]
513
512
  ```
514
513
 
515
514
  Options:
@@ -589,9 +588,9 @@ Dependency implementations are namespaced when Builder composes them. Always ref
589
588
 
590
589
  The current repository includes the normative V2 references:
591
590
 
592
- - [`docs/BUILD_JSON_DOCS.md`](docs/BUILD_JSON_DOCS.md) — complete `build.json` field reference.
593
- - [`docs/MESH_JSON_DOCS.md`](docs/MESH_JSON_DOCS.md) — complete `mesh.json` field reference.
594
- - [`docs/SPECS_V2.md`](docs/SPECS_V2.md) — cross-file V2 behavior and invariants.
591
+ - [`.docs/specs_v2/BUILD_JSON_DOCS.md`](.docs/specs_v2/BUILD_JSON_DOCS.md) — complete `build.json` field reference.
592
+ - [`.docs/specs_v2/MESH_JSON_DOCS.md`](.docs/specs_v2/MESH_JSON_DOCS.md) — complete `mesh.json` field reference.
593
+ - [`.docs/specs_v2/SPECS_V2.md`](.docs/specs_v2/SPECS_V2.md) — cross-file V2 behavior and invariants.
595
594
  - [`schemas/build-schema.json`](schemas/build-schema.json) — generated `build.json` JSON Schema.
596
595
  - [`schemas/mesh-schema.json`](schemas/mesh-schema.json) — generated `mesh.json` JSON Schema.
597
596