Skip to content

Commit a6a3277

Browse files
CoderJackZhuclaude
andcommitted
fix(core): add @types/mdast to fix CI typecheck failure
pnpm strict module isolation on CI prevents accessing hoisted @types/mdast, causing TS2307 for mdast imports in parser.ts. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 25abd67 commit a6a3277

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

packages/core/package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,19 @@
2424
"typecheck": "tsc --noEmit"
2525
},
2626
"dependencies": {
27-
"unified": "^11",
28-
"remark-parse": "^11",
27+
"mind-elixir": "^4.0",
2928
"remark-frontmatter": "^5",
3029
"remark-gfm": "^4",
3130
"remark-math": "^6",
32-
"yaml": "^2",
33-
"mind-elixir": "^4.0"
31+
"remark-parse": "^11",
32+
"unified": "^11",
33+
"yaml": "^2"
3434
},
3535
"devDependencies": {
36-
"typescript": "^5.4",
36+
"@types/mdast": "^4.0.4",
37+
"@types/node": "^20",
3738
"tsup": "^8",
38-
"vitest": "^2.0",
39-
"@types/node": "^20"
39+
"typescript": "^5.4",
40+
"vitest": "^2.0"
4041
}
4142
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)