build: keep a2ui bundle generated

This commit is contained in:
Peter Steinberger
2026-04-11 14:16:13 +01:00
parent 0ed512bbdf
commit 9bde608f38
3 changed files with 12603 additions and 14885 deletions

View File

@@ -20,6 +20,7 @@
"pnpm-lock.yaml/",
"src/gateway/server-methods/CLAUDE.md",
"src/auto-reply/reply/export-html/",
"src/canvas-host/a2ui/a2ui.bundle.js",
"Swabble/",
"vendor/",
],

View File

@@ -22,12 +22,16 @@ 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", ".json", ".md", ".mdx"]);
const formatIgnoredPaths = new Set(["src/canvas-host/a2ui/a2ui.bundle.js"]);
const shouldSelect = (filePath) => {
const ext = path.extname(filePath).toLowerCase();
if (mode === "lint") {
return lintExts.has(ext);
}
if (formatIgnoredPaths.has(filePath)) {
return false;
}
return formatExts.has(ext);
};

File diff suppressed because one or more lines are too long