mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-28 08:49:38 +02:00
refactor(workspace): rename @ktx/cli to @kaelio/ktx and pack it directly
Promote the CLI workspace package to the public name `@kaelio/ktx` and drop the separate `scripts/build-public-npm-package.mjs` wrapper. The CLI package is now publishable in place (`publishConfig.access: public`, `provenance: true`), so artifact packing uses `pnpm pack` against `packages/cli/` instead of assembling a parallel package tree. Updates all workspace filter invocations, docs, tests, and release readiness checks to reference the new package name, and folds the tarball-name helper into `scripts/public-npm-release-metadata.mjs`.
This commit is contained in:
parent
34d4a1e9e1
commit
aa523f9ab3
31 changed files with 99 additions and 452 deletions
|
|
@ -63,7 +63,7 @@ pnpm run build
|
|||
This builds the TypeScript package. You can also build the package directly:
|
||||
|
||||
```bash
|
||||
pnpm --filter @ktx/cli run build
|
||||
pnpm --filter @kaelio/ktx run build
|
||||
```
|
||||
|
||||
### Link the CLI for local testing
|
||||
|
|
@ -110,16 +110,16 @@ resolution. The Python projects use `pyproject.toml` for dependency management.
|
|||
pnpm run test
|
||||
|
||||
# Run tests for the TypeScript package
|
||||
pnpm --filter @ktx/cli run test
|
||||
pnpm --filter @kaelio/ktx run test
|
||||
|
||||
# Type-check all packages
|
||||
pnpm run type-check
|
||||
|
||||
# Type-check the TypeScript package
|
||||
pnpm --filter @ktx/cli run type-check
|
||||
pnpm --filter @kaelio/ktx run type-check
|
||||
|
||||
# CLI smoke test
|
||||
pnpm --filter @ktx/cli run smoke
|
||||
pnpm --filter @kaelio/ktx run smoke
|
||||
```
|
||||
|
||||
### Python
|
||||
|
|
@ -204,9 +204,9 @@ it. Keep runtime loading dynamic when the driver is optional.
|
|||
### Step 5: Test
|
||||
|
||||
```bash
|
||||
pnpm --filter @ktx/cli run build
|
||||
pnpm --filter @ktx/cli run type-check
|
||||
pnpm --filter @ktx/cli run test
|
||||
pnpm --filter @kaelio/ktx run build
|
||||
pnpm --filter @kaelio/ktx run type-check
|
||||
pnpm --filter @kaelio/ktx run test
|
||||
```
|
||||
|
||||
Use `packages/cli/src/connectors/sqlite/` as a minimal reference and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue