Commit 1601d0c
fix(docs-site): migrate to astro v6 content collections config (#6451)
* fix(docs-site): migrate to astro v6 content collections config
Astro v6 removed legacy content collections. 'astro check'/'astro build'
failed with LegacyContentConfigError because the config lived at
src/content/config.ts without a collection loader.
- Move src/content/config.ts -> src/content.config.ts
- Add Starlight docsLoader() to the docs collection
Verified: 'npm run build' (astro check && astro build) now completes.
* fix(deps): bump brace-expansion to 5.0.7 to fix ReDoS advisory
Adds a brace-expansion >=5.0.7 override to resolve GHSA-3jxr-9vmj-r5cp
(DoS via exponential-time expansion of consecutive non-expanding {} groups),
which was failing the 'Audit Main Package' npm audit --audit-level=high gate.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 7ef9f0e7-1882-478d-90c0-6e4d42313685
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 37ae38e commit 1601d0c
3 files changed
Lines changed: 7 additions & 5 deletions
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
| 6 | + | |
6 | 7 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments