Skip to content

Commit 67498d3

Browse files
yanglbmeclaude
andcommitted
fix: update type-check script to run in @md/web workspace
vue-tsc is not hoisted to root, so use pnpm --filter to execute it in the correct workspace. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent e9dcf5d commit 67498d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"build:cli": "pnpm web build && npx shx rm -rf packages/md-cli/dist && npx shx rm -rf dist/**/*.map && npx shx cp -r apps/web/dist packages/md-cli/ && cd packages/md-cli && npm pack",
2525
"release:cli": "node ./scripts/release.js",
2626
"lint": "eslint . --fix",
27-
"type-check": "vue-tsc --build --force",
27+
"type-check": "pnpm --filter @md/web exec vue-tsc --noEmit",
2828
"postinstall": "simple-git-hooks",
2929
"inspector": "pnpx node-modules-inspector",
3030
"utools:package": "node ./scripts/package-utools.mjs"

0 commit comments

Comments
 (0)