payload icon indicating copy to clipboard operation
payload copied to clipboard

refactor: use prettier API for generated db schema instead of `execAsync`

Open r1tsuu opened this issue 2 months ago • 0 comments

This avoids additional file system writes (1 for await writeFile and then npx prettier --write) instead prettier now formats the javascript string directly. Went from 650 MS to 250 MS for the prettify block.

r1tsuu avatar Dec 19 '24 20:12 r1tsuu