Files
spaceflow/package.json
Lyda d7cd392ed6 refactor: 调整构建顺序,优先构建 shared 包并排除其重复构建
- 在 setup 和 build 脚本中,将 @spaceflow/shared 构建提前至第一步
- 更新过滤器排除列表,新增 !@spaceflow/shared 避免重复构建
- 确保依赖链正确:shared → core → cli → 其他扩展包
2026-02-26 18:46:47 +08:00

35 lines
1.4 KiB
JSON

{
"name": "spaceflow-project",
"version": "0.0.0",
"private": true,
"description": "Spaceflow Monorepo",
"license": "MIT",
"author": "Lydanne",
"homepage": "https://github.com/Lydanne/spaceflow#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Lydanne/spaceflow.git"
},
"bugs": {
"url": "https://github.com/Lydanne/spaceflow/issues"
},
"scripts": {
"setup": "pnpm --filter @spaceflow/shared build && pnpm --filter @spaceflow/core build && pnpm --filter @spaceflow/cli build && pnpm install && pnpm --filter \"!@spaceflow/shared\" --filter \"!@spaceflow/core\" --filter \"!@spaceflow/cli\" build",
"build": "pnpm --filter @spaceflow/shared build && pnpm --filter @spaceflow/core build && pnpm --filter @spaceflow/cli build && pnpm --filter \"!@spaceflow/shared\" --filter \"!@spaceflow/core\" --filter \"!@spaceflow/cli\" build",
"lint": "oxlint .",
"format": "oxfmt . --write",
"test": "pnpm --filter \"*\" test",
"test:cov": "pnpm --filter \"*\" test:cov",
"docs:dev": "pnpm --filter @spaceflow/docs docs:dev",
"docs:build": "pnpm --filter @spaceflow/docs docs:build",
"docs:preview": "pnpm --filter @spaceflow/docs docs:preview"
},
"dependencies": {},
"devDependencies": {
"oxfmt": "catalog:",
"oxlint": "catalog:",
"typescript": "catalog:",
"@spaceflow/cli": "workspace:*"
}
}