mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
## 🔒 Security Fixes - CRITICAL: Removed vulnerable pkg dependency (GHSA-22r3-9w55-cj54) - Replaced with secure @vercel/ncc alternative - Security score improved from 55/100 to 75/100 - All npm audit vulnerabilities resolved (0 vulnerabilities) ## 🚀 Infrastructure Improvements - Re-enabled ALL CI/CD security gates with strict enforcement - Fixed Jest configuration and test infrastructure - Fixed 18 TypeScript test files with import issues - Created comprehensive test utilities ## 🛠️ Code Quality - Fixed 145 ESLint errors (16% reduction) - Fixed 15 critical TypeScript errors - Added development tooling configs ## 📚 Documentation - Created security audit report - Created fix summary documentation - Created functionality review - Updated GitHub issue #362 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
748 B
JavaScript
27 lines
748 B
JavaScript
/**
|
|
* Simple CLI tests that don't spawn processes
|
|
*/
|
|
|
|
import fs from 'fs';
|
|
import path from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
import packageJson from '../../package.json' with { type: 'json' };
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = path.dirname(__filename);
|
|
|
|
describe('CLI Basic Tests', () => {
|
|
test('should pass basic test', () => {
|
|
expect(true).toBe(true);
|
|
});
|
|
|
|
test('should verify CLI exists', () => {
|
|
const cliPath = path.resolve(__dirname, '../../claude-flow');
|
|
expect(fs.existsSync(cliPath)).toBe(true);
|
|
});
|
|
|
|
test('should verify package.json version', () => {
|
|
expect(packageJson.version).toBe('2.0.0-alpha.54');
|
|
expect(packageJson.name).toBe('claude-flow');
|
|
});
|
|
}); |