Mark first-party generated files with .gen; preserve third-party conventions

This commit is contained in:
Timothy J. Aveni
2026-09-15 17:32:53 -07:00
parent 1afc9feb94
commit e557a057d8
8 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ const main = async () => {
const generated = generateTypeScriptBindings(JSON.parse(await readFile(schema, "utf8")), revision, config);
await writeFile(output, generated);
if (config.messages?.["org.quixos.web-studio.ReactProps"]) {
await writeFile(path.join(path.dirname(output), "web-studio-react-runtime.d.ts"), reactPlatformTypes);
await writeFile(path.join(path.dirname(output), "web-studio-react-runtime.gen.d.ts"), reactPlatformTypes);
}
};
main().catch((error: unknown) => {