@pmelab/gtd 60.0.0 → 60.1.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-plugin/plugin.json +1 -1
- package/README.md +14 -2
- package/dist/chunks/testkit-BhTey1Do.mjs +30517 -0
- package/dist/gtd.bundle.mjs +10545 -19230
- package/dist/gtd.core.mjs +593 -0
- package/dist/testkit/gherkin.mjs +2 -2
- package/dist/testkit.mjs +1 -1
- package/package.json +7 -7
- package/src/cli/Cli.test.ts +2 -2
- package/src/cli/Cli.ts +68 -51
- package/src/cli/Output.test.ts +1 -1
- package/src/cli/Output.ts +3 -2
- package/src/cli/Program.test.ts +14 -6
- package/src/cli/Program.ts +35 -10
- package/src/cli/ToolCommands.ts +2 -2
- package/src/edge/Edge.test.ts +8 -6
- package/src/edge/Edge.ts +3 -3
- package/src/flows/runtime.ts +1 -1
- package/src/install/Version.ts +9 -3
- package/src/install/index.ts +1 -1
- package/src/platform/CommandRunner.ts +13 -11
- package/src/platform/Commentary.ts +2 -2
- package/src/platform/Git.test.ts +4 -5
- package/src/platform/Git.ts +42 -38
- package/src/platform/Host.ts +1 -1
- package/src/platform/NodeServices.ts +11 -0
- package/src/platform/Workspace.test.ts +4 -5
- package/src/platform/Workspace.ts +3 -3
- package/src/platform/WorktreeState.test.ts +2 -3
- package/src/platform/WorktreeState.ts +1 -1
- package/src/platform/index.ts +2 -1
- package/src/step/planStart.ts +3 -3
- package/src/twins/EmittedScripts.test.ts +1 -1
- package/src/twins/GitTiers.ts +6 -7
- package/src/twins/Layers.test.ts +1 -1
- package/src/twins/Layers.ts +10 -3
- package/src/twins/cliIo.ts +9 -4
- package/src/workflow/discovery.test.ts +24 -7
- package/src/workflow/discovery.ts +5 -6
- package/src/workflow/index.ts +1 -0
- package/src/workflow/load.test.ts +60 -3
- package/src/workflow/load.ts +316 -166
- package/src/workflow/pin.test.ts +159 -0
- package/src/workflow/pin.ts +72 -0
- package/src/workflow/vars.ts +3 -3
- package/dist/chunks/testkit-BvecVjQ0.mjs +0 -32355
package/README.md
CHANGED
|
@@ -15,6 +15,8 @@ to any machine that checks it out.
|
|
|
15
15
|
|
|
16
16
|
## Install
|
|
17
17
|
|
|
18
|
+
gtd needs Node 22.19 or newer.
|
|
19
|
+
|
|
18
20
|
```bash
|
|
19
21
|
npm install -g @pmelab/gtd
|
|
20
22
|
```
|
|
@@ -23,6 +25,11 @@ That installs `latest`, which moves once a day to the newest release. Every
|
|
|
23
25
|
merge to `main` publishes to `next` first: `npm install -g @pmelab/gtd@next`
|
|
24
26
|
gets each one as it lands.
|
|
25
27
|
|
|
28
|
+
gtd bundles `gtd.config.ts` with [rolldown](https://rolldown.rs), whose native
|
|
29
|
+
binary npm installs for your platform. Where rolldown ships none, install its
|
|
30
|
+
WebAssembly build next to gtd:
|
|
31
|
+
`npm install -g --force @rolldown/binding-wasm32-wasi`.
|
|
32
|
+
|
|
26
33
|
Or run without installing (prefix every `gtd` below with `npx`) — see
|
|
27
34
|
[Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md)
|
|
28
35
|
for the settings most projects tune. A process setting's value is committed to
|
|
@@ -617,13 +624,18 @@ install for any of these but the testkit's: gtd resolves a `gtd.config.ts`'s
|
|
|
617
624
|
`@pmelab/gtd/*` imports to its own copy.
|
|
618
625
|
|
|
619
626
|
The `gtd` bin's commands — `next`, `land`, `start`, `abandon`, `restore`,
|
|
620
|
-
`validate`, `check`, `uncheck`, `guide`, `summary`, `base`, `version`,
|
|
621
|
-
`history list`, `history show`, `history metrics`, `history judges`,
|
|
627
|
+
`validate`, `check`, `uncheck`, `guide`, `bundle`, `summary`, `base`, `version`,
|
|
628
|
+
`help`, `history list`, `history show`, `history metrics`, `history judges`,
|
|
622
629
|
`history fetch`, `strays`, the tools `ui`, `lsp`, `judge` (`judge answer`,
|
|
623
630
|
`judge run`) — are listed in the
|
|
624
631
|
[CLI reference](https://github.com/pmelab/gtd/blob/main/docs/cli.md). Every
|
|
625
632
|
command that prints a script takes `--json=script`, and `--` ends the options.
|
|
626
633
|
|
|
634
|
+
`gtd bundle` prints a pin: gtd's engine and the current workflow, npm packages
|
|
635
|
+
included, as one gzipped ES module after a plain-text
|
|
636
|
+
`gtdpin <format> gtd <version>` line. A workflow using a package with a native
|
|
637
|
+
addon cannot be pinned.
|
|
638
|
+
|
|
627
639
|
## License
|
|
628
640
|
|
|
629
641
|
MIT
|