Commit 652ae58
committed
fix(release): self-format generated reference-seeds + lint after generation
The 60-seed corpus generator emitted JSON.stringify(null,2) (2-space) output,
but the repo biome config enforces 4-space — and release.sh runs lint BEFORE
regenerating the seeds, so the unformatted generated file only failed in CI
after the tag was cut (v0.22.0 publish blocked at Test(plugin) lint).
- build-reference-seeds.ts now runs 'biome check --write' on its output with
cwd=plugin root (biome resolves config+scope from cwd; the script is invoked
from repo root by release.sh where the generated path is otherwise out of
biome's include set).
- release.sh re-lints the plugin after schema+seed generation as
defense-in-depth so generator drift fails locally, not in CI.1 parent 4e57537 commit 652ae58
3 files changed
Lines changed: 273 additions & 244 deletions
File tree
- packages/plugin
- scripts
- src/hooks/magic-context
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
77 | 98 | | |
78 | 99 | | |
79 | 100 | | |
| |||
0 commit comments