chore: release v2.4.6 with improved npm compatibility and fixes

- fix color detection for cross-platform TTY compatibility
- enhance help command with npm-specific content and npx examples
- remove --install/--uninstall flags pending .claude/ integration testing
- update version across all files and documentation
- preserve implementation code for future release readiness
This commit is contained in:
kaitranntt committed 2025-11-05 16:51:30 -05:00
1 parent 966a43f0f9
commit 2b35bf419f
17 files changed
+258 -165

No files matched your search

+8 -6
View File
@@ -8,12 +8,12 @@ describe('integration: special commands', () => {
it('shows version with --version', () => {
const output = execSync(`node ${ccsPath} --version`, { encoding: 'utf8' });
assert(output.includes('CCS (Claude Code Switch)'));
assert(/version \d+\.\d+\.\d+/.test(output));
assert(/v\d+\.\d+\.\d+/.test(output));
});
it('shows version with -v', () => {
const output = execSync(`node ${ccsPath} -v`, { encoding: 'utf8' });
assert(output.includes('version'));
assert(/v\d+\.\d+\.\d+/.test(output));
});
it('shows help with --help', function() {
@@ -33,13 +33,15 @@ describe('integration: special commands', () => {
it('handles --install command', () => {
const output = execSync(`node ${ccsPath} --install`, { encoding: 'utf8' });
assert(output.includes('Installing CCS Commands and Skills'));
assert(output.includes('Feature not yet implemented'));
assert(output.includes('Feature not available'));
assert(output.includes('under development'));
assert(output.includes('.claude/ integration testing'));
});
it('handles --uninstall command', () => {
const output = execSync(`node ${ccsPath} --uninstall`, { encoding: 'utf8' });
assert(output.includes('Uninstalling CCS Commands and Skills'));
assert(output.includes('Feature not yet implemented'));
assert(output.includes('Feature not available'));
assert(output.includes('under development'));
assert(output.includes('.claude/ integration testing'));
});
});