Inline keybindings schema source for scripts

- Import keybindings types directly from contracts source
- Narrow TS includes to the schema generation inputs
This commit is contained in:
Julius Marminge committed 2026-03-30 23:51:27 -07:00
1 parent 56f56f5506
commit c13fc4f6f8
4 files changed
+14 -8

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { KeybindingsConfig } from "@t3tools/contracts/keybindings";
import { KeybindingsConfig } from "../../packages/contracts/src/keybindings.ts";
import { buildJsonSchemaDocument, writeJsonSchemaArtifacts } from "./json-schema";
export const KEYBINDINGS_SCHEMA_RELATIVE_PATH = "apps/marketing/public/schemas/keybindings.json";
+5 -1
View File
@@ -12,5 +12,9 @@
}
]
},
"include": ["**/*.ts"]
"include": [
"**/*.ts",
"../packages/contracts/src/baseSchemas.ts",
"../packages/contracts/src/keybindings.ts"
]
}