build protos indexing on first shot

This commit is contained in:
tresabhi committed 2026-09-23 16:42:30 -05:00
1 parent 4fc57d7fc1
commit e52f003c1b
3 files changed
+5 -8

No files matched your search

-2
View File
@@ -1,5 +1,3 @@
import { ShellDefinition, ShellType } from "../../../protos/src/blitzkit";
export function canSplash(
type: ShellDefinition["type"],
): type is ShellType.SHELL_TYPE_HE {
-1
View File
@@ -1,4 +1,3 @@
export * from "../../protos/src/blitzkit";
export * from "./api";
export * from "./blitz";
export * from "./blitzkit";
+5 -5
View File
@@ -29,15 +29,15 @@ for (const root of ROOTS) {
for (const file of filesRaw) {
if (file.endsWith(".proto")) {
files.push(file);
const name = file.slice(0, -6);
index += `export * from "./${name}";\n`;
args += `${root}/${file}\n`;
files.push(file);
}
if (file.endsWith(".ts")) {
const name = file.slice(0, -3);
index += `export * from "./${name}";\n`;
await rm(`${root}/${file}`);
}
}