From 4f13309cdcb07e2d4b4bb94c2399a0d0b35c0dc3 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 21 Feb 2026 00:10:41 +0000 Subject: [PATCH] Tidy up package.json --- package.json | 8 ++++++-- src/app.d.ts | 11 +++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 src/app.d.ts diff --git a/package.json b/package.json index dcc75b4..ae8433c 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "type": "module", "sideEffects": false, "types": "./dist/index.d.ts", + "files": ["dist"], "exports": { ".": { "types": "./dist/index.d.ts", @@ -13,7 +14,8 @@ } }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "build": "tsc" }, "repository": { "type": "git", @@ -24,8 +26,10 @@ ], "author": "Frederick Boniface", "license": "GPL-3.0", + "dependencies": { + "@owlboard/api-schema-types": "^3.0.1-alpha3" + }, "devDependencies": { - "@owlboard/api-schema-types": "^3.0.1-alpha3", "@types/node": "^25.3.0", "ts-node": "^10.9.2", "tsx": "^4.21.0", diff --git a/src/app.d.ts b/src/app.d.ts new file mode 100644 index 0000000..d95c489 --- /dev/null +++ b/src/app.d.ts @@ -0,0 +1,11 @@ +import { OwlBoardClient } from "./lib/client"; + +declare global { + namespace App { + interface Locals { + api: OwlBoardClient; + } + } +} + +export {}; \ No newline at end of file