mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +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
|
|
@ -13,7 +13,7 @@ test('linkDevCli writes a ktx-dev launcher by default', async () => {
|
|||
execText: async (command, args) => {
|
||||
assert.equal(command, 'ktx-dev');
|
||||
assert.deepEqual(args, ['--version']);
|
||||
return '@ktx/cli 0.0.0-private';
|
||||
return '@kaelio/ktx 0.0.0-private';
|
||||
},
|
||||
writeFile: async (path, content) => writes.push({ path, content }),
|
||||
chmod: async (path, mode) => chmods.push({ path, mode }),
|
||||
|
|
@ -34,7 +34,7 @@ test('linkDevCli can explicitly write ktx when requested', async () => {
|
|||
binaryName: 'ktx',
|
||||
globalBin: '/pnpm/bin',
|
||||
binPath: '/workspace/ktx/packages/cli/dist/bin.js',
|
||||
execText: async () => '@ktx/cli 0.0.0-private',
|
||||
execText: async () => '@kaelio/ktx 0.0.0-private',
|
||||
writeFile: async (path, content) => writes.push({ path, content }),
|
||||
chmod: async () => undefined,
|
||||
access: async () => undefined,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue