Skip to content

Commit 27e0dad

Browse files
authored
Merge pull request #8 from echoVic/refactor/simplify-monorepo
Refactor/simplify monorepo
2 parents 34439ac + b778444 commit 27e0dad

472 files changed

Lines changed: 5416 additions & 8616 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,20 @@ jobs:
4747
- name: Install dependencies
4848
run: pnpm install --frozen-lockfile
4949

50+
- name: Build shared package
51+
run: pnpm build:shared
52+
5053
- name: Run tests
5154
run: pnpm test
5255

5356
- name: Run type check
54-
run: pnpm run type-check
57+
run: pnpm type-check
5558

56-
- name: Build project
57-
run: pnpm run build
59+
- name: Build all packages
60+
run: pnpm build
5861

59-
- name: Test build
60-
run: pnpm run start -- --help
62+
- name: Test CLI build
63+
run: pnpm --filter @blade/cli start -- --help
6164

6265
code-quality:
6366
name: Code Quality
@@ -96,7 +99,7 @@ jobs:
9699
run: pnpm install --frozen-lockfile
97100

98101
- name: Run linter and formatter
99-
run: pnpm run lint && pnpm run format:check || echo "Lint warnings found (non-blocking)"
102+
run: pnpm lint && pnpm format:check || echo "Lint warnings found (non-blocking)"
100103

101104
cross-platform:
102105
name: Cross Platform (${{ matrix.os }})
@@ -138,11 +141,11 @@ jobs:
138141
- name: Install dependencies
139142
run: pnpm install --frozen-lockfile
140143

141-
- name: Build project
142-
run: pnpm run build
144+
- name: Build all packages
145+
run: pnpm build
143146

144147
- name: Test CLI basics
145-
run: pnpm run start -- --help
148+
run: pnpm --filter @blade/cli start -- --help
146149

147150
env:
148151
CI: true

.gitignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,15 @@ blade-context/
7070

7171
# Local settings
7272
.blade/settings.local.json
73-
.claude/settings.local.json
73+
.claude/settings.local.json
74+
75+
# Monorepo - 各包的构建输出
76+
packages/*/dist/
77+
packages/*/coverage/
78+
packages/*/.tsbuildinfo
79+
80+
# VSCode 扩展打包输出
81+
packages/vscode/*.vsix
82+
83+
# Web 构建缓存
84+
packages/web/.vite/

.trae/documents/Claude 子代理独立 JSONL 文件设计实现.md

Lines changed: 0 additions & 195 deletions
This file was deleted.

0 commit comments

Comments
 (0)