Skip to content

Commit 719e5e0

Browse files
chore: migrate to pnpm workspaces, untrack node_modules
- Add node_modules/ and bun.lock to .gitignore (4063 vendored files removed) - pnpm-workspace.yaml at root, packageManager pinned to pnpm@10.15.0 - Switch CI + release workflows to pnpm/action-setup with cache - plugins/honcho: add typecheck script and bun-types devDep (was previously vendored separately in tracked node_modules) - CONTRIBUTING: update install instructions to pnpm install at repo root
1 parent 6a711cd commit 719e5e0

4,072 files changed

Lines changed: 3132 additions & 919842 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: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: oven-sh/setup-bun@v2
14+
- uses: pnpm/action-setup@v4
15+
- uses: actions/setup-node@v4
1516
with:
16-
bun-version: latest
17-
- name: Install (honcho plugin)
18-
working-directory: plugins/honcho
19-
run: bun install --frozen-lockfile || bun install
20-
- name: Typecheck (honcho plugin)
21-
working-directory: plugins/honcho
22-
run: bunx tsc --noEmit || echo "no tsconfig, skipping"
17+
node-version: 20
18+
cache: pnpm
19+
- run: pnpm install --frozen-lockfile
20+
- run: pnpm -r --if-present typecheck
2321

2422
validate-json:
2523
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
persist-credentials: true
20+
- uses: pnpm/action-setup@v4
2021
- uses: actions/setup-node@v4
2122
with:
2223
node-version: 20
23-
- name: Install semantic-release
24-
run: npm install --no-save --no-fund --no-audit
24+
cache: pnpm
25+
- run: pnpm install --frozen-lockfile
2526
- name: Run semantic-release
2627
env:
2728
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
run: npx semantic-release
29+
run: pnpm exec semantic-release

.gitignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Build output
22
/dist/
33

4+
# Dependencies
5+
node_modules/
6+
.pnpm-store/
47

5-
# Bun
8+
# Bun (migrated to pnpm)
69
bun.lockb
10+
bun.lock
711

812
# IDE
913
.idea/
@@ -55,7 +59,6 @@ temp/
5559
# Optional npm cache
5660
.npm/
5761

58-
# Package manager locks (we use bun.lock)
62+
# Package manager locks (we use pnpm)
5963
package-lock.json
6064
yarn.lock
61-
pnpm-lock.yaml

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ claude-honcho/
3737

3838
```bash
3939
git clone https://github.com/offendingcommit/claude-honcho.git
40-
cd claude-honcho/plugins/honcho
41-
bun install
40+
cd claude-honcho
41+
pnpm install
4242
```
4343

4444
## Working on the `honcho` Plugin

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"description": "Honcho plugins for Claude Code (fork by Offending Commit)",
66
"repository": "https://github.com/offendingcommit/claude-honcho",
77
"license": "MIT",
8+
"packageManager": "pnpm@10.15.0",
9+
"scripts": {
10+
"typecheck": "pnpm -r --if-present typecheck",
11+
"release": "semantic-release"
12+
},
813
"devDependencies": {
914
"@semantic-release/changelog": "^6.0.3",
1015
"@semantic-release/commit-analyzer": "^13.0.0",

plugins/honcho/bun.lock

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

plugins/honcho/node_modules/.bin/node-which

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/honcho/node_modules/.bin/tsc

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/honcho/node_modules/.bin/tsserver

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)