werkmeister 0.86.0 → 0.86.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.
package/CONVENTIONS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Code conventions — `src/`
2
2
 
3
3
  Conventions this CLI holds itself to. They exist because the runtime data in
4
- `infra/` is consumed as-is and much of the output is
4
+ `apps/cli/infra/` is consumed as-is and much of the output is
5
5
  contract-shaped: generated files, exit codes, and printed text are depended on
6
6
  by other tooling, so they are not free to drift.
7
7
 
@@ -14,7 +14,7 @@ by other tooling, so they are not free to drift.
14
14
  | `src/commands/<command>.help.md` | that command's long help: printed after its options by `--help`, and the source of its section in `docs/cli-reference.md` and its man page (`pnpm run docs:gen`) |
15
15
  | `src/lib/<name>.ts` | shared library modules |
16
16
 
17
- Runtime data dirs live alongside the source: `infra/`, `bin/`.
17
+ Runtime data dirs live alongside the source: `apps/cli/infra/`, `bin/`.
18
18
  Path resolution: package root = `WERKMEISTER_ROOT` / `WERKMEISTER_ROOT` env, else the first
19
19
  ancestor holding `apps/cli` (`sandboxRoot()` / `infraRoot()` in
20
20
  `packages/werkmeister-core/src/config.ts`, re-exported by `src/lib/config.ts` as
@@ -31,7 +31,7 @@ ancestor holding `apps/cli` (`sandboxRoot()` / `infraRoot()` in
31
31
  output, exit codes, and JSON shapes are contracts. Changing one is a
32
32
  deliberate, breaking change — not a cleanup.
33
33
  - YAML via the `yaml` package (`parse`, `stringify`).
34
- - Templates in `infra/templates/` are rendered with `nunjucks`. They are shared
34
+ - Templates in `apps/cli/infra/templates/` are rendered with `nunjucks`. They are shared
35
35
  verbatim with other consumers, so the environment options in `generate.ts`
36
36
  (autoescape, trim/lstrip) are load-bearing — see the notes there before
37
37
  touching them.
package/README.md CHANGED
@@ -42,12 +42,12 @@ feature name (`infra` plus the workspaces under the workspaces root).
42
42
  - `src/main.ts` — commander program (subcommand registry + dispatch)
43
43
  - `src/commands/` — one module per subcommand (`run(args)` entrypoints)
44
44
  - `src/lib/` — shared logic
45
- - `infra/`, `bin/` — runtime data the CLI consumes as-is
45
+ - `apps/cli/infra/`, `bin/` — runtime data the CLI consumes as-is
46
46
  - `CONVENTIONS.md` — the code conventions used throughout
47
47
 
48
48
  ## Notes
49
49
 
50
- - CLI parsing is commander; templates in `infra/templates/*.njk` render through
50
+ - CLI parsing is commander; templates in `apps/cli/infra/templates/*.njk` render through
51
51
  nunjucks with a small compat layer (`{% do %}`, dict truthiness,
52
52
  `map(attribute=…)`) so they stay shared verbatim with other consumers
53
53
  - `werkmeister internal mcp` runs the stdio proxy to the MCP daemon. Its source is