Skip to content

Commit a653732

Browse files
authored
chore(deps): use pnpm (#20)
* chore(deps): use pnpm * fix(deps): use pnpm cache
1 parent 5f2c308 commit a653732

File tree

13 files changed

+8670
-12517
lines changed

13 files changed

+8670
-12517
lines changed

.claude/settings.local.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"permissions": {
33
"allow": [
4-
"Bash(npm run build:*)",
5-
"Bash(npm run test:e2e:*)",
4+
"Bash(pnpm run build:*)",
5+
"Bash(pnpm run test:e2e:*)",
66
"Bash(rm:*)",
7-
"Bash(npm run lint)",
7+
"Bash(pnpm run lint)",
88
"Bash(grep:*)",
99
"Bash(find:*)",
1010
"Bash(npx tsc:*)",
11-
"Bash(npm run typecheck:*)",
12-
"Bash(npm install:*)",
11+
"Bash(pnpm run typecheck:*)",
12+
"Bash(pnpm install:*)",
1313
"Bash(git add:*)",
14-
"Bash(npm run lint:*)",
14+
"Bash(pnpm run lint:*)",
1515
"Bash(mv:*)",
1616
"mcp__ide__getDiagnostics",
1717
"Bash(git checkout:*)",

.github/workflows/e2e-tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23+
- uses: pnpm/action-setup@v4
24+
2325
- uses: actions/setup-node@v4
2426
with:
2527
node-version: 18
26-
cache: "npm"
28+
cache: "pnpm"
2729

2830
- name: Install dependencies
29-
run: npm ci
31+
run: pnpm install --frozen-lockfile
3032

3133
- name: Install Playwright Browsers
3234
run: npx playwright install --with-deps
@@ -38,7 +40,7 @@ jobs:
3840
npx supabase db reset
3941
4042
- name: Build project
41-
run: npm run build
43+
run: pnpm run build
4244

4345
- name: Run Playwright tests
4446
run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --reporter=blob
@@ -59,14 +61,15 @@ jobs:
5961
if: always()
6062
steps:
6163
- uses: actions/checkout@v4
64+
- uses: pnpm/action-setup@v4
6265

6366
- uses: actions/setup-node@v4
6467
with:
6568
node-version: 18
66-
cache: "npm"
69+
cache: "pnpm"
6770

6871
- name: Install dependencies
69-
run: npm ci
72+
run: pnpm install --frozen-lockfile
7073

7174
- name: Download blob reports from GitHub Actions Artifacts
7275
uses: actions/download-artifact@v4

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
npx lint-staged
2-
npm run typecheck
2+
pnpm run typecheck

CLAUDE.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,24 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
66

77
### Development
88

9-
- `npm run dev` - Start development server on port 8080 (DO NOT RUN - user always has dev server running)
10-
- `npm run build` - Production build
11-
- `npm run build:dev` - Development build
12-
- `npm run lint` - Run oxlint
13-
- `npm run preview` - Preview production build
9+
- `pnpm run dev` - Start development server on port 8080 (DO NOT RUN - user always has dev server running)
10+
- `pnpm run build` - Production build
11+
- `pnpm run build:dev` - Development build
12+
- `pnpm run lint` - Run oxlint
13+
- `pnpm run preview` - Preview production build
1414

1515
### Testing
1616

17-
- `npm run test:e2e` - Run Playwright end-to-end tests
18-
- `npm run test:e2e:ui` - Run tests with Playwright UI
19-
- `npm run test:e2e:headed` - Run tests in headed mode
20-
- `npm run test:e2e:debug` - Debug tests
21-
- `npm run test:e2e:report` - Show test report
22-
- `npm run test:setup` - Setup test environment
23-
- `npm run test:setup:full` - Setup full local Supabase
17+
- `pnpm test` - Run Vitest unit tests
18+
- `pnpm run test:ui` - Run unit tests with UI
19+
- `pnpm run test:coverage` - Run unit tests with coverage
20+
- `pnpm run test:e2e` - Run Playwright end-to-end tests
21+
- `pnpm run test:e2e:ui` - Run tests with Playwright UI
22+
- `pnpm run test:e2e:headed` - Run tests in headed mode
23+
- `pnpm run test:e2e:debug` - Debug tests
24+
- `pnpm run test:e2e:report` - Show test report
25+
- `pnpm run test:setup` - Setup test environment
26+
- `pnpm run test:setup:full` - Setup full local Supabase
2427

2528
## Architecture Overview
2629

0 commit comments

Comments
 (0)