chore: keep generated db types codegen-stable

This commit is contained in:
Peter Steinberger
2026-05-08 12:10:26 +01:00
parent 4cbf2a1db2
commit f91d0098ea
5 changed files with 36 additions and 13 deletions

View File

@@ -22,7 +22,10 @@ if (mode !== "lint" && mode !== "format") {
const lintExts = new Set([".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs"]);
const formatExts = new Set([".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".md", ".mdx"]);
const formatIgnoredPathPatterns = [/^extensions\/[^/]+\/src\/host\/.+\/[^/]+\.bundle\.js$/u];
const formatIgnoredPathPatterns = [
/^extensions\/[^/]+\/src\/host\/.+\/[^/]+\.bundle\.js$/u,
/\.generated\.d\.ts$/u,
];
const shouldSelect = (filePath) => {
const ext = path.extname(filePath).toLowerCase();