Add support for guides

This commit is contained in:
Endeavorance 2025-03-07 15:13:12 -05:00
parent 9a5abfce03
commit 656ca588b1
3 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
"": { "": {
"name": "@proscenium/muse", "name": "@proscenium/muse",
"dependencies": { "dependencies": {
"@proscenium/playbill": "0.0.9", "@proscenium/playbill": "0.0.11",
"chalk": "^5.4.1", "chalk": "^5.4.1",
"yaml": "^2.7.0", "yaml": "^2.7.0",
"zod": "^3.24.1", "zod": "^3.24.1",
@ -37,7 +37,7 @@
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@1.9.4", "", { "os": "win32", "cpu": "x64" }, "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA=="], "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@1.9.4", "", { "os": "win32", "cpu": "x64" }, "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA=="],
"@proscenium/playbill": ["@proscenium/playbill@0.0.9", "https://git.astral.camp/api/packages/proscenium/npm/%40proscenium%2Fplaybill/-/0.0.9/playbill-0.0.9.tgz", { "peerDependencies": { "typescript": "^5" } }, "sha512-Wx8q/1AM5LOSaFjwoRagU/J6lAGNZz2yorLrY0TrqHyuWKwkpzzPx0EAY9bBuq/+BDiebw2n84Mp+gHFJ5JyeQ=="], "@proscenium/playbill": ["@proscenium/playbill@0.0.11", "https://git.astral.camp/api/packages/proscenium/npm/%40proscenium%2Fplaybill/-/0.0.11/playbill-0.0.11.tgz", { "peerDependencies": { "typescript": "^5" } }, "sha512-pYq8kUvZSqFM9FSZ1DrifTOGR3ahQuCWG/3KkNWmbQHhEh8M+XHLVuQ+g4UwwaKN8U+HMcayXUOB1VFqBqKFXQ=="],
"@types/bun": ["@types/bun@1.2.3", "", { "dependencies": { "bun-types": "1.2.3" } }, "sha512-054h79ipETRfjtsCW9qJK8Ipof67Pw9bodFWmkfkaUaRiIQ1dIV2VTlheshlBx3mpKr0KeK8VqnMMCtgN9rQtw=="], "@types/bun": ["@types/bun@1.2.3", "", { "dependencies": { "bun-types": "1.2.3" } }, "sha512-054h79ipETRfjtsCW9qJK8Ipof67Pw9bodFWmkfkaUaRiIQ1dIV2VTlheshlBx3mpKr0KeK8VqnMMCtgN9rQtw=="],

View file

@ -14,7 +14,7 @@
"chalk": "^5.4.1", "chalk": "^5.4.1",
"yaml": "^2.7.0", "yaml": "^2.7.0",
"zod": "^3.24.1", "zod": "^3.24.1",
"@proscenium/playbill": "0.0.9" "@proscenium/playbill": "0.0.11"
}, },
"scripts": { "scripts": {
"fmt": "bunx --bun biome check --fix", "fmt": "bunx --bun biome check --fix",

View file

@ -118,8 +118,8 @@ export async function loadFromBinding(
case "rule": case "rule":
playbill.rules.push(resource); playbill.rules.push(resource);
break; break;
case "playbill": case "guide":
throw new Error("Cannot load playbills rn dawg"); playbill.guides.push(resource);
} }
} }