docs: add release docs

This commit is contained in:
Kamran Ahmed
2026-03-16 23:54:07 +00:00
parent 1f22c9e650
commit ea2ee436e3
9 changed files with 115 additions and 24 deletions
+23 -2
View File
@@ -1,7 +1,8 @@
#!/usr/bin/env node
import { execSync } from 'child_process';
import { dirname, resolve } from 'path';
import { dirname, resolve, join } from 'path';
import { rmSync } from 'fs';
import { fileURLToPath } from 'url';
import concurrently from 'concurrently';
@@ -13,6 +14,24 @@ execSync('tsx scripts/link-dev.ts && npm run build:skills', {
stdio: 'inherit',
});
const localClaudeSkillsDir = join(rootDir, '.claude', 'skills');
function cleanupDevSkills() {
try {
rmSync(localClaudeSkillsDir, { recursive: true, force: true });
console.log('Cleaned up dev skills');
} catch {}
}
process.on('SIGINT', () => {
cleanupDevSkills();
process.exit(0);
});
process.on('SIGTERM', () => {
cleanupDevSkills();
process.exit(0);
});
concurrently(
[
{ command: 'npm run dev -w @diffity/parser', name: 'parser' },
@@ -29,4 +48,6 @@ concurrently(
{
prefixColors: ['blue', 'green', 'yellow', 'magenta', 'cyan'],
}
);
).result.finally(() => {
cleanupDevSkills();
});