Repository navigation
Commit 386a64d
site: carry license_spdx into the built payload
loadEntries() never copied license_spdx onto the entry object, so the field
was 0/294 in data.json and data.js while the validator reported 227/294 from
frontmatter. The catalog has been recording SPDX identifiers since before
this session and none of them have ever reached the site or the JSON.
Found by reading the deployed payload after the last push rather than by any
check, which is worth noting: validate.mjs measures frontmatter and build.mjs
decides what ships, and nothing compared the two.
Also surfaces the identifier in the entry dialog, where the licence short
name already appears.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wc67NX9MM964uaVGn4bpZJ1 parent 6292b35 commit 386a64d
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
| |||
0 commit comments