19 lines
548 B
JavaScript
19 lines
548 B
JavaScript
import fs from 'node:fs/promises';
|
|
import path from 'node:path';
|
|
|
|
const report = {
|
|
generatedAt: new Date().toISOString(),
|
|
target: 'discord.js 14.27.x',
|
|
actions: [
|
|
'Fetch latest v14.x metadata',
|
|
'Re-run analysis scripts',
|
|
'Regenerate patch manifest',
|
|
'Run parity suite'
|
|
]
|
|
};
|
|
|
|
const outPath = path.join(process.cwd(), 'artifacts', 'analysis', 'upstream-sync-report.json');
|
|
await fs.mkdir(path.dirname(outPath), { recursive: true });
|
|
await fs.writeFile(outPath, JSON.stringify(report, null, 2));
|
|
console.log('Wrote', outPath);
|