Make deno check skip vendored npm types and turn it back on #109

Open
opened 2026-11-21 22:31:22 +00:00 by jalenluorion · 0 comments
Member

The kennel flake module's deno-check hook runs deno check . from the repo root. That also type-checks the npm packages Deno vendors under .scottylabs/deno/npm, and fails on @jridgewell/remapping's .d.ts with SyntaxError: Unexpected token <eof>. #104 turns it off (deno-check.enable = lib.mkForce false in flake.nix).FixExclude .scottylabs from deno check in web/deno.json, or ask in kennel whether the hook should exclude it itself (the deno-test hook already passes --ignore=.scottylabs). Then fix whatever real type errors remain in web/.Done when- [ ] deno check . passes- [ ] the deno-check.enable override is removed from flake.nix

The kennel flake module's `deno-check` hook runs `deno check .` from the repo root. That also type-checks the npm packages Deno vendors under `.scottylabs/deno/npm`, and fails on `@jridgewell/remapping`'s `.d.ts` with `SyntaxError: Unexpected token <eof>`. #104 turns it off (`deno-check.enable = lib.mkForce false` in `flake.nix`).**Fix**Exclude `.scottylabs` from `deno check` in `web/deno.json`, or ask in kennel whether the hook should exclude it itself (the `deno-test` hook already passes `--ignore=.scottylabs`). Then fix whatever real type errors remain in `web/`.**Done when**- [ ] `deno check .` passes- [ ] the `deno-check.enable` override is removed from `flake.nix`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/cal#109
No description provided.