mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-09 02:43:29 +08:00
fix: shorten plugin slug to ecc
This commit is contained in:
@@ -79,6 +79,10 @@ test('claude plugin.json has version field', () => {
|
||||
assert.ok(claudePlugin.version, 'Expected version field');
|
||||
});
|
||||
|
||||
test('claude plugin.json uses short plugin slug', () => {
|
||||
assert.strictEqual(claudePlugin.name, 'ecc');
|
||||
});
|
||||
|
||||
test('claude plugin.json agents is an array', () => {
|
||||
assert.ok(Array.isArray(claudePlugin.agents), 'Expected agents to be an array (not a string/directory)');
|
||||
});
|
||||
@@ -146,6 +150,10 @@ test('codex plugin.json has name field', () => {
|
||||
assert.ok(codexPlugin.name, 'Expected name field');
|
||||
});
|
||||
|
||||
test('codex plugin.json uses short plugin slug', () => {
|
||||
assert.strictEqual(codexPlugin.name, 'ecc');
|
||||
});
|
||||
|
||||
test('codex plugin.json has version field', () => {
|
||||
assert.ok(codexPlugin.version, 'Expected version field');
|
||||
});
|
||||
@@ -240,6 +248,10 @@ test('marketplace.json has name field', () => {
|
||||
assert.ok(marketplace.name, 'Expected name field');
|
||||
});
|
||||
|
||||
test('marketplace.json uses short marketplace slug', () => {
|
||||
assert.strictEqual(marketplace.name, 'ecc');
|
||||
});
|
||||
|
||||
test('marketplace.json has plugins array with at least one entry', () => {
|
||||
assert.ok(Array.isArray(marketplace.plugins) && marketplace.plugins.length > 0, 'Expected plugins array');
|
||||
});
|
||||
@@ -253,6 +265,10 @@ test('marketplace.json plugin entries have required fields', () => {
|
||||
}
|
||||
});
|
||||
|
||||
test('marketplace.json plugin entry uses short plugin slug', () => {
|
||||
assert.strictEqual(marketplace.plugins[0].name, 'ecc');
|
||||
});
|
||||
|
||||
test('marketplace local plugin path resolves to the repo-root Codex bundle', () => {
|
||||
for (const plugin of marketplace.plugins) {
|
||||
if (!plugin.source || plugin.source.source !== 'local') {
|
||||
|
||||
Reference in New Issue
Block a user