ktx/examples/package-artifacts/README.md

24 lines
987 B
Markdown
Raw Normal View History

2026-05-10 23:12:26 +02:00
# Package artifact smoke checks
The package artifact smoke checks create temporary projects instead of storing
2026-05-10 23:51:24 +02:00
sample projects in this directory. Run the checks from `ktx/`:
2026-05-10 23:12:26 +02:00
```bash
pnpm run artifacts:check
```
2026-05-11 12:51:24 +02:00
The npm smoke project installs the generated public `@kaelio/ktx` tarball,
imports the package entry point, and runs installed `ktx` commands against a
generated local project.
2026-05-10 23:12:26 +02:00
2026-05-11 13:27:36 +02:00
The managed Python runtime smoke requires `uv` on `PATH`, isolates
`KTX_RUNTIME_ROOT`, verifies `ktx runtime status`, runs `ktx sl query --yes` to
install the core runtime from the bundled wheel, checks `ktx runtime doctor`,
starts and reuses the managed daemon, stops it, previews a stale runtime with
`ktx runtime prune --dry-run`, verifies confirmation is required, and removes
the stale runtime with `ktx runtime prune --yes`.
2026-05-11 12:51:24 +02:00
The Python smoke project still installs the Python artifacts directly because
it verifies the standalone Python distributions that feed the bundled runtime
wheel.