chore: 添加 turbo 依赖图生成指令

This commit is contained in:
wangxuefeng 2025-03-24 17:12:28 +08:00
parent e765823189
commit aa9aa1c7e6
2 changed files with 7 additions and 1 deletions

4
.gitignore vendored
View File

@ -54,3 +54,7 @@ vite.config.ts.*
apps/docs/src/renderer/CHANGELOG.md
apps/docs/src/designer/CHANGELOG.md
apps/docs/src/platform/CHANGELOG.md
# 忽略 turbo-graph 生成的文件
dependencies.html
dependencies.png

View File

@ -50,7 +50,9 @@
"test:e2e": "turbo run test:e2e",
"update:deps": "npx taze -r -w",
"version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile",
"reset": "pnpm clean && pnpm install"
"reset": "pnpm clean && pnpm install",
"turbo-graph:build": "npx turbo run build --graph",
"turbo-graph-html:build": "npx turbo run build --graph=dependencies.html"
},
"devDependencies": {
"@changesets/changelog-github": "catalog:",