mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-13 16:13:03 +08:00
fix: restore short Claude plugin slug and skill installs (#1712)
This commit is contained in:
@@ -109,6 +109,20 @@ function runTests() {
|
||||
assert.ok(parsed.operations.length > 0);
|
||||
})) passed++; else failed++;
|
||||
|
||||
if (test('emits JSON for --skills without pulling parent module', () => {
|
||||
const result = run([
|
||||
'--skills', 'continuous-learning-v2',
|
||||
'--target', 'claude',
|
||||
'--json',
|
||||
]);
|
||||
assert.strictEqual(result.code, 0);
|
||||
const parsed = JSON.parse(result.stdout);
|
||||
assert.deepStrictEqual(parsed.includedComponentIds, ['skill:continuous-learning-v2']);
|
||||
assert.deepStrictEqual(parsed.selectedModuleIds, ['skill-continuous-learning-v2']);
|
||||
assert.ok(parsed.operations.some(operation => operation.sourceRelativePath === 'skills/continuous-learning-v2'));
|
||||
assert.ok(!parsed.operations.some(operation => operation.sourceRelativePath === 'skills/tdd-workflow'));
|
||||
})) passed++; else failed++;
|
||||
|
||||
if (test('loads planning intent from ecc-install.json', () => {
|
||||
const configDir = path.join(__dirname, '..', 'fixtures', 'tmp-install-plan-config');
|
||||
const configPath = path.join(configDir, 'ecc-install.json');
|
||||
|
||||
Reference in New Issue
Block a user