Skip to content

Commit 9ca167a

Browse files
committed
chore: migrate package manager and development commands from pnpm to bun across documentation and skill files
1 parent 4915bd8 commit 9ca167a

21 files changed

Lines changed: 137 additions & 137 deletions

File tree

.agent/rules/lint-format-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ description: when working for linting and formatting.
99

1010
```bash
1111
# Lint the code
12-
pnpm lint
12+
bun lint
1313

1414
# Type check the code
15-
pnpm typecheck
15+
bun typecheck
1616
```

.agent/skills/cafe24-mcp-helper/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Follow these steps when implementing new tools based on a user's `curl` request
2626
- Import `registerTools` as `register{Feature}Tools`.
2727
- Call `register{Feature}Tools(server)` in `registerAllTools`.
2828
6. **Verify**:
29-
- Run `pnpm lint && pnpm typecheck`.
30-
- Use `pnpm biome check src --write` to fix linting errors.
29+
- Run `bun lint && bun typecheck`.
30+
- Use `bun biome check src --write` to fix linting errors.
3131

3232
## Implementation Details
3333

.agent/skills/npm-package-creator/SKILL.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: npm-package-creator
3-
description: Guide for creating new npm packages in Gracefullight's TypeScript package monorepo. Use when creating new packages in pnpm workspace environment using TypeScript, Biome, tsup, and Vitest with standardized package structure.
3+
description: Guide for creating new npm packages in Gracefullight's TypeScript package monorepo. Use when creating new packages in bun workspace environment using TypeScript, Biome, tsup, and Vitest with standardized package structure.
44
license: MIT
55
---
66

@@ -11,8 +11,8 @@ This skill provides guidance for creating new TypeScript npm packages in the Gra
1111
## Overview
1212

1313
Create standardized npm packages that follow existing project structure:
14-
- **Monorepo**: pnpm workspace
15-
- **Runtime**: Node.js 24, pnpm 10
14+
- **Monorepo**: bun workspace
15+
- **Runtime**: Node.js 24, bun 10
1616
- **Language**: TypeScript (ES2023)
1717
- **Linter/Formatter**: Biome
1818
- **Build**: tsup (ESM output)
@@ -123,7 +123,7 @@ See [README template](#reference-templates).
123123

124124
```bash
125125
cd ../../
126-
pnpm install
126+
bun install
127127
```
128128

129129
## Phase 8: Build and Test
@@ -132,21 +132,21 @@ pnpm install
132132
cd packages/your-package
133133

134134
# Build
135-
pnpm build
135+
bun build
136136

137137
# Test
138-
pnpm test
138+
bun test
139139

140140
# Lint
141-
pnpm lint
141+
bun lint
142142

143143
# Type check
144-
pnpm typecheck
144+
bun typecheck
145145
```
146146

147147
## Phase 9: Verify Workspace Registration
148148

149-
`pnpm-workspace.yaml` has `packages/*` pattern, so automatic inclusion. No manual action required.
149+
`package.json` has `packages/*` pattern, so automatic inclusion. No manual action required.
150150

151151
---
152152

@@ -220,12 +220,12 @@ Verify all items before publishing:
220220
- [ ] Test files written (optional)
221221

222222
## Build and Test
223-
- [ ] `pnpm build` succeeds
223+
- [ ] `bun build` succeeds
224224
- [ ] `dist/` directory created
225225
- [ ] `.d.ts` type definitions generated
226-
- [ ] `pnpm test` passes
227-
- [ ] `pnpm lint` passes
228-
- [ ] `pnpm typecheck` passes
226+
- [ ] `bun test` passes
227+
- [ ] `bun lint` passes
228+
- [ ] `bun typecheck` passes
229229

230230
## Documentation
231231
- [ ] `README.md` exists
@@ -241,39 +241,39 @@ Verify all items before publishing:
241241

242242
```bash
243243
# Build all packages
244-
pnpm -r build
244+
bun -r build
245245

246246
# Test all packages
247-
pnpm -r test
247+
bun -r test
248248

249249
# Lint all packages
250-
pnpm lint
250+
bun lint
251251

252252
# Install dependencies
253-
pnpm install
253+
bun install
254254
```
255255

256256
## Package-Specific Commands
257257

258258
```bash
259259
# Build specific package
260-
pnpm --filter @gracefullight/your-package build
260+
bun --filter @gracefullight/your-package build
261261

262262
# Dev mode for specific package
263-
pnpm --filter @gracefullight/your-package dev
263+
bun --filter @gracefullight/your-package dev
264264

265265
# Test specific package
266-
pnpm --filter @gracefullight/your-package test
266+
bun --filter @gracefullight/your-package test
267267
```
268268

269269
## Pre-Publish Checks
270270

271271
```bash
272272
# Dry run to test publishing
273-
pnpm publish --dry-run
273+
bun publish --dry-run
274274

275275
# Actual publish
276-
pnpm publish
276+
bun publish
277277
```
278278

279279
---

.agent/skills/npm-package-creator/references/templates.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export default defineConfig({
157157
## Installation
158158

159159
\`\`\`bash
160-
pnpm add @gracefullight/your-package
160+
bun add @gracefullight/your-package
161161
npm install @gracefullight/your-package
162162
yarn add @gracefullight/your-package
163163
\`\`\`
@@ -201,19 +201,19 @@ function function1(param: string): void
201201

202202
\`\`\`bash
203203
# Install dependencies
204-
pnpm install
204+
bun install
205205

206206
# Build
207-
pnpm build
207+
bun build
208208

209209
# Test
210-
pnpm test
210+
bun test
211211

212212
# Lint
213-
pnpm lint
213+
bun lint
214214

215215
# Format
216-
pnpm lint:fix
216+
bun lint:fix
217217
\`\`\`
218218

219219
## License

.serena/memories/project_overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Gracefullight's TypeScript package monorepo. A workspace for managing and publishing multiple npm packages.
55

66
## Tech Stack
7-
- **Runtime**: Node.js 24, pnpm 10
7+
- **Runtime**: Node.js 24, bun 10
88
- **Language**: TypeScript
99
- **Linter/Formatter**: Biome
1010
- **Versioning**: Changesets
@@ -21,7 +21,7 @@ ts-workspace/
2121
│ └── saju-example/ # Next.js saju example app (private)
2222
├── .changeset/ # Changesets config
2323
├── biome.json # Biome linter/formatter config
24-
├── pnpm-workspace.yaml # pnpm workspace config
24+
├── package.json # bun workspace config
2525
└── package.json # Root package.json
2626
```
2727

.serena/memories/suggested_commands.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@
22

33
## Environment Setup
44
```bash
5-
# Install Node.js 24, pnpm 10 via mise
5+
# Install Node.js 24, bun 10 via mise
66
mise install
77

88
# Install dependencies
9-
pnpm install
9+
bun install
1010
```
1111

1212
## Root Level Commands
1313
```bash
1414
# Build all packages
15-
pnpm build
15+
bun build
1616

1717
# Lint check
18-
pnpm lint
18+
bun lint
1919

2020
# Lint auto-fix
21-
pnpm lint:fix
21+
bun lint:fix
2222

2323
# Format
24-
pnpm format
24+
bun format
2525

2626
# Create changeset
27-
pnpm changeset
27+
bun changeset
2828

2929
# Update versions
30-
pnpm version
30+
bun version
3131

3232
# Publish packages
33-
pnpm release
33+
bun release
3434
```
3535

3636
## Package-specific Commands
@@ -39,36 +39,36 @@ pnpm release
3939
```bash
4040
cd packages/saju
4141

42-
pnpm build # Build with tsc + tsc-alias
43-
pnpm dev # Run with tsx
44-
pnpm test # Run vitest
45-
pnpm test:ui # Vitest UI mode
46-
pnpm test:coverage # Coverage report
47-
pnpm lint # Biome lint
48-
pnpm lint:fix # Biome lint auto-fix
49-
pnpm format # Biome format
42+
bun build # Build with tsc + tsc-alias
43+
bun dev # Run with tsx
44+
bun test # Run vitest
45+
bun test:ui # Vitest UI mode
46+
bun test:coverage # Coverage report
47+
bun lint # Biome lint
48+
bun lint:fix # Biome lint auto-fix
49+
bun format # Biome format
5050
```
5151

5252
### packages/validate-branch
5353
```bash
5454
cd packages/validate-branch
5555

56-
pnpm build # Build with tsup
57-
pnpm dev # Run CLI with tsx
58-
pnpm test # Run vitest
59-
pnpm lint # Biome lint
60-
pnpm lint:fix # Biome lint auto-fix
61-
pnpm format # Biome format
56+
bun build # Build with tsup
57+
bun dev # Run CLI with tsx
58+
bun test # Run vitest
59+
bun lint # Biome lint
60+
bun lint:fix # Biome lint auto-fix
61+
bun format # Biome format
6262
```
6363

6464
### apps/saju-example
6565
```bash
6666
cd apps/saju-example
6767

68-
pnpm dev # Next.js dev server (Turbopack)
69-
pnpm build # Next.js build
70-
pnpm start # Production server
71-
pnpm lint # Next.js lint
68+
bun dev # Next.js dev server (Turbopack)
69+
bun build # Next.js build
70+
bun start # Production server
71+
bun lint # Next.js lint
7272
```
7373

7474
## Git Commands

.serena/memories/task_completion.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,48 @@
44

55
### 1. Lint Check
66
```bash
7-
pnpm lint
7+
bun lint
88
```
9-
If errors, run `pnpm lint:fix` for auto-fix
9+
If errors, run `bun lint:fix` for auto-fix
1010

1111
### 2. Type Check
1212
In the relevant package:
1313
```bash
14-
pnpm build
14+
bun build
1515
```
1616
Should have no build errors
1717

1818
### 3. Run Tests
1919
In the relevant package:
2020
```bash
21-
pnpm test
21+
bun test
2222
```
2323
All tests must pass
2424

2525
## Before Release
2626

2727
### 1. Create Changeset
2828
```bash
29-
pnpm changeset
29+
bun changeset
3030
```
3131
- Select change type (major/minor/patch)
3232
- Write change description
3333

3434
### 2. Update Versions
3535
```bash
36-
pnpm version
36+
bun version
3737
```
3838

3939
### 3. Build and Publish
4040
```bash
41-
pnpm release
41+
bun release
4242
```
4343

4444
## Before Commit
4545

46-
1. `pnpm lint` - Lint passes
47-
2. `pnpm build` - Build succeeds
48-
3. `pnpm test` (in relevant package) - Tests pass
46+
1. `bun lint` - Lint passes
47+
2. `bun build` - Build succeeds
48+
3. `bun test` (in relevant package) - Tests pass
4949

5050
## Important Notes
5151
- Never use `as any`, `@ts-ignore`, `@ts-expect-error`

packages/biome-plugin/README.ko.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## 설치
66

77
```bash
8-
pnpm add -D @gracefullight/biome-plugin
8+
bun add -D @gracefullight/biome-plugin
99
```
1010

1111
## 사용법

packages/biome-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Biome GritQL plugins for code quality.
55
## Installation
66

77
```bash
8-
pnpm add -D @gracefullight/biome-plugin
8+
bun add -D @gracefullight/biome-plugin
99
```
1010

1111
## Usage

packages/create-fullstack-starter/README.ko.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ npx create-fullstack-starter my-project
2424
# 또는 패키지 매니저의 create 명령어 사용
2525
npm create fullstack-starter my-project
2626
yarn create fullstack-starter my-project
27-
pnpm create fullstack-starter my-project
27+
bun create fullstack-starter my-project
2828

2929
# 대화형으로 실행
3030
npx create-fullstack-starter

0 commit comments

Comments
 (0)