Repository navigation
Commit 1fdc668
committed
build(just): add an install recipe covering the nix/tools deps
CONTRIBUTING tells contributors to run `just typecheck`, and moving
@types/node into nix/tools/models-dev-gen broke that on a fresh checkout:
oxlint resolves that directory's types out of its own node_modules, which
nothing created. `pnpm install` does not cover it, since the tool
directories sit outside the pnpm workspace.
Consolidate setup into `just install`: the workspace install plus a
`bun install --frozen-lockfile` for every tool directory carrying a
tsconfig. Nix builds each tool's dependencies itself, so the ones with no
TypeScript in them need nothing locally and are skipped.
`git wt`'s hook now calls the recipe instead of running pnpm directly, so
new worktrees stay usable without a manual step, and CONTRIBUTING lists it
ahead of the checks it is a prerequisite for.1 parent 1697e0f commit 1fdc668
3 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
22 | 35 | | |
23 | 36 | | |
24 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments