@solid-stack/builder 2.0.0 → 2.0.1

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 (34) hide show
  1. package/README.md +10 -0
  2. package/dist/bin.js +202 -119
  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/handler.d.ts.map +1 -1
  6. package/dist/commands/service/commands/down/handler.d.ts.map +1 -1
  7. package/dist/core/checkers/checkDockerfile.d.ts.map +1 -1
  8. package/dist/core/checkers/checkDockerfileContract.d.ts.map +1 -1
  9. package/dist/core/composition/compileServiceComposition.d.ts.map +1 -1
  10. package/dist/core/composition/composeNetworks.d.ts +2 -0
  11. package/dist/core/composition/composeNetworks.d.ts.map +1 -0
  12. package/dist/core/composition/composePaths.d.ts.map +1 -1
  13. package/dist/core/composition/composeVolumes.d.ts +15 -0
  14. package/dist/core/composition/composeVolumes.d.ts.map +1 -0
  15. package/dist/core/composition/namespaceDependencyCompose.d.ts.map +1 -1
  16. package/dist/core/composition/validateDependencyCompose.d.ts.map +1 -1
  17. package/dist/core/composition/validateOverrideCompose.d.ts.map +1 -1
  18. package/dist/core/config/pathSafety.d.ts +1 -0
  19. package/dist/core/config/pathSafety.d.ts.map +1 -1
  20. package/dist/core/mesh/runners/runMeshDev.d.ts.map +1 -1
  21. package/dist/core/mesh/runners/runMeshProd.d.ts.map +1 -1
  22. package/dist/core/mesh/runners/runMeshTestE2e.d.ts.map +1 -1
  23. package/dist/core/mesh/v2/compileMeshComposition.d.ts.map +1 -1
  24. package/dist/core/runners/runDev.d.ts.map +1 -1
  25. package/dist/core/runners/runProd.d.ts.map +1 -1
  26. package/dist/core/teardownCompose.d.ts +1 -0
  27. package/dist/core/teardownCompose.d.ts.map +1 -1
  28. package/dist/index.js +202 -119
  29. package/dist/index.js.map +1 -1
  30. package/dist/utils/paths.d.ts +2 -0
  31. package/dist/utils/paths.d.ts.map +1 -1
  32. package/dist/utils/runState.d.ts +1 -0
  33. package/dist/utils/runState.d.ts.map +1 -1
  34. package/package.json +6 -3
package/README.md CHANGED
@@ -85,3 +85,13 @@ builder mesh down test -C ./system
85
85
  Application Dockerfiles require `dev`, `test`, `test-e2e`, and `prod` targets. `dev` and `prod` need Docker healthchecks, and `prod` needs an artifact `COPY --from=...`. Builder's packaged Conftest policy enforces these rules. Endpoint-bearing service Dockerfiles should probe the injected `PORT` dynamically.
86
86
 
87
87
  The full configuration and reference grammar are documented in [BUILD_JSON_DOCS.md](docs/BUILD_JSON_DOCS.md), [MESH_JSON_DOCS.md](docs/MESH_JSON_DOCS.md), and [SPECS_V2.md](docs/SPECS_V2.md). Published JSON Schemas are [build-schema.json](schemas/build-schema.json) and [mesh-schema.json](schemas/mesh-schema.json).
88
+
89
+ ## Development tests
90
+
91
+ - `pnpm test` — parallel unit, compiler, checker-boundary, and runner tests; no Docker required.
92
+ - `pnpm test:conformance` — all 384 catalog scenarios plus audit regressions. A traceability test requires each scenario ID exactly once in this suite.
93
+ - `pnpm check` — TypeScript and fast conformance checks.
94
+ - `pnpm test:docker` — serial Docker acceptance tests, including real readiness transitions, CLI pipelines, networking, cleanup, and the Rego policy matrix. Requires Docker Engine and Compose; cold image pulls and builds can take several minutes.
95
+ - `pnpm check:full` — fast checks, the complete default suite, legacy-removal guard, build, and Docker acceptance. Use this for releases, nightly CI, or manual acceptance.
96
+
97
+ Fast catalog tests inspect generated health gates and mock external process boundaries. Actual Docker behavior and Rego semantics remain covered in `tests/docker-acceptance`; the fast suite alone does not replace that acceptance gate. Normal test files run in parallel with up to four workers; Docker acceptance remains serial. Ordinary development aims for a sub-minute default suite without depending on Docker cache state.