Implement scene-based chapter quest progression
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
17
scripts/export-story-audit-report.ts
Normal file
17
scripts/export-story-audit-report.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { mkdirSync, writeFileSync } from 'node:fs';
|
||||
import { dirname, resolve } from 'node:path';
|
||||
|
||||
import { buildCurrentGameStoryAuditMarkdown } from '../src/services/storyEngine/storyAuditReport.ts';
|
||||
|
||||
const defaultOutputPath = resolve(
|
||||
process.cwd(),
|
||||
'docs/audits/text/CURRENT_GAME_STORY_SOURCE_REVIEW_2026-04-07.md',
|
||||
);
|
||||
const outputPath = process.argv[2]
|
||||
? resolve(process.cwd(), process.argv[2])
|
||||
: defaultOutputPath;
|
||||
|
||||
mkdirSync(dirname(outputPath), { recursive: true });
|
||||
writeFileSync(outputPath, buildCurrentGameStoryAuditMarkdown(), 'utf8');
|
||||
|
||||
console.log(`[story-audit] wrote ${outputPath}`);
|
||||
Reference in New Issue
Block a user