fix(cli): remove ktx setup subcommands

This commit is contained in:
Andrey Avtomonov 2026-05-13 00:24:35 +02:00
parent 80f298d652
commit 7db91caca6
47 changed files with 171 additions and 5010 deletions

View file

@ -29,20 +29,10 @@ const VERSION_LABELS = new Set([
'published package global version',
]);
const SEMANTIC_QUERY_LABELS = new Set([
'published package npx sl query',
'published package local sl query',
'published package global sl query',
]);
export function isPublishedPackageVersionLabel(label) {
return VERSION_LABELS.has(label);
}
export function isPublishedPackageSemanticQueryLabel(label) {
return SEMANTIC_QUERY_LABELS.has(label);
}
function scriptRootDir() {
return resolve(dirname(fileURLToPath(import.meta.url)), '..');
}
@ -100,10 +90,6 @@ export async function runPublishedPackageSmoke(config) {
if (isPublishedPackageVersionLabel(command.label)) {
assert.match(result.stdout, /@kaelio\/ktx /);
}
if (isPublishedPackageSemanticQueryLabel(command.label)) {
assert.match(result.stdout, /SELECT/i);
assert.match(result.stdout, /contracts/i);
}
}
process.stdout.write('published package invocation smoke verified\n');