Skip to content

Commit 902ca44

Browse files
Copilothotlong
andcommitted
fix: resolve CI failures in Check Links and Validate Dependencies workflows
- Fix lychee link checker regex parse error by removing invalid glob patterns from .lycheeignore and adding proper regex to lychee.toml exclude_path - Fix minimatch ReDoS vulnerability (GHSA-3ppc-4f35-3m26) via pnpm overrides forcing minimatch>=10.2.1 for all transitive dependencies - Update ROADMAP.md with current codebase metrics (200 schemas, 6507 tests) Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent b5b20b8 commit 902ca44

6 files changed

Lines changed: 22 additions & 64 deletions

File tree

.github/workflows/check-links.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
# Use configuration file for path remapping and settings
2828
args: >-
2929
--config lychee.toml
30-
--exclude-path '(^|.*/)meta\.json$'
31-
--exclude-path '(^|.*/)meta\.cn\.json$'
3230
'content/**/*.md'
3331
'content/**/*.mdx'
3432
'README.md'

.lycheeignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ https://x.com*
1717

1818
# Common false positives
1919
mailto:*
20-
21-
# Fumadocs metadata files (not actual links)
22-
**/meta.json
23-
**/meta.cn.json

ROADMAP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ This strategy ensures rapid iteration while maintaining a clear path to producti
9393
| Packages (total) | 27 |
9494
| Apps | 2 (Studio, Docs) |
9595
| Examples | 4 (Todo, CRM, Host, BI Plugin) |
96-
| Zod Schema Files | 193 |
97-
| Exported Schemas | 1,100+ |
98-
| `.describe()` Annotations | 8,425+ |
96+
| Zod Schema Files | 200 |
97+
| Exported Schemas | 1,600+ |
98+
| `.describe()` Annotations | 8,750+ |
9999
| Service Contracts | 27 |
100100
| Contracts Implemented | 13 (52%) |
101101
| Test Files | 229 |
102-
| Tests Passing | 6,456 / 6,456 |
102+
| Tests Passing | 6,507 / 6,507 |
103103
| `@deprecated` Items | 3 |
104104
| Protocol Domains | 15 (Data, UI, AI, API, Automation, Cloud, Contracts, Identity, Integration, Kernel, QA, Security, Shared, Studio, System) |
105105

lychee.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ remap = [
3434
"^/docs/(.*)$ content/docs/$1.md"
3535
]
3636

37-
# Exclude patterns (loaded from .lycheeignore file)
38-
exclude_path = [".lycheeignore"]
37+
# Exclude file paths matching these regex patterns
38+
exclude_path = [
39+
"\\.lycheeignore$",
40+
"(^|.*/)meta\\.json$",
41+
"(^|.*/)meta\\.cn\\.json$"
42+
]
3943

4044
# Additional exclude patterns for internal paths
4145
exclude = [

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,10 @@
4747
"engines": {
4848
"node": ">=18.0.0"
4949
},
50-
"packageManager": "pnpm@10.28.1"
50+
"packageManager": "pnpm@10.28.1",
51+
"pnpm": {
52+
"overrides": {
53+
"minimatch@<10.2.1": "10.2.1"
54+
}
55+
}
5156
}

pnpm-lock.yaml

Lines changed: 6 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)