Skip to content

Commit cf9f473

Browse files
committed
fix(llm-model-catalog): stop generated files showing as modified
defaultPrices.ts and modelCatalog.ts are generated by scripts/generate.mjs with JSON.stringify (quoted keys, no trailing commas), but oxfmt reformatted the checked-in copies (unquoted keys, trailing commas). So every 'turbo run generate' (e.g. via 'pnpm run db:migrate') left both files dirty with an identical-data diff. Exclude the two generated files in .oxfmtrc.json and commit the raw generator output, matching how other codegen files in the repo are handled. Generation is now deterministic and a clean no-op.
1 parent 5158ee8 commit cf9f473

3 files changed

Lines changed: 5303 additions & 4927 deletions

File tree

.oxfmtrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
"**/.changeset/",
2323
"**/dist/",
2424
"internal-packages/tsql/src/grammar/",
25+
"internal-packages/llm-model-catalog/src/defaultPrices.ts",
26+
"internal-packages/llm-model-catalog/src/modelCatalog.ts",
2527
// Maybe turn these on in the future
2628
"**/*.yaml",
2729
"**/*.mdx",

0 commit comments

Comments
 (0)