From 656ca588b17f1b3cfc80511c4f7e6367e13c9fb5 Mon Sep 17 00:00:00 2001 From: Endeavorance Date: Fri, 7 Mar 2025 15:13:12 -0500 Subject: [PATCH] Add support for guides --- bun.lock | 4 ++-- package.json | 2 +- src/binding.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bun.lock b/bun.lock index 425f54c..52b808b 100644 --- a/bun.lock +++ b/bun.lock @@ -4,7 +4,7 @@ "": { "name": "@proscenium/muse", "dependencies": { - "@proscenium/playbill": "0.0.9", + "@proscenium/playbill": "0.0.11", "chalk": "^5.4.1", "yaml": "^2.7.0", "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=="], - "@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=="], diff --git a/package.json b/package.json index 92aa680..4dc4d6c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "chalk": "^5.4.1", "yaml": "^2.7.0", "zod": "^3.24.1", - "@proscenium/playbill": "0.0.9" + "@proscenium/playbill": "0.0.11" }, "scripts": { "fmt": "bunx --bun biome check --fix", diff --git a/src/binding.ts b/src/binding.ts index fef86ab..cd02d92 100644 --- a/src/binding.ts +++ b/src/binding.ts @@ -118,8 +118,8 @@ export async function loadFromBinding( case "rule": playbill.rules.push(resource); break; - case "playbill": - throw new Error("Cannot load playbills rn dawg"); + case "guide": + playbill.guides.push(resource); } }