mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-30 22:13:28 +08:00
fix: add no-hooks minimal install path
This commit is contained in:
committed by
Affaan Mustafa
parent
d26d66fd3b
commit
5881554a1c
@@ -70,6 +70,29 @@ function runTests() {
|
||||
);
|
||||
})) passed++; else failed++;
|
||||
|
||||
if (test('README documents low-context no-hooks install path', () => {
|
||||
assert.ok(
|
||||
readme.includes('### Low-context / no-hooks path'),
|
||||
'README should surface a low-context no-hooks install option near Quick Start'
|
||||
);
|
||||
assert.ok(
|
||||
readme.includes('./install.sh --profile minimal --target claude'),
|
||||
'README should document the shell minimal profile command'
|
||||
);
|
||||
assert.ok(
|
||||
readme.includes('npx ecc-install --profile minimal --target claude'),
|
||||
'README should document the npx minimal profile command'
|
||||
);
|
||||
assert.ok(
|
||||
readme.includes('--profile core --without baseline:hooks --target claude'),
|
||||
'README should document the hook opt-out path for the core profile'
|
||||
);
|
||||
assert.ok(
|
||||
readme.includes('This profile intentionally excludes `hooks-runtime`.'),
|
||||
'README should state that the minimal profile excludes hooks'
|
||||
);
|
||||
})) passed++; else failed++;
|
||||
|
||||
if (test('README explains plugin-path cleanup and rules scoping', () => {
|
||||
assert.ok(
|
||||
readme.includes('remove the plugin from Claude Code'),
|
||||
|
||||
Reference in New Issue
Block a user