Skip to content

Commit 01129ab

Browse files
pythonicodeclaude
andcommitted
chore: switch to Bun for installs, scripts and CI
Replaces package-lock.json with bun.lock (regenerated with Bun 1.3.11) so the repo has a single lockfile. The README and CI workflow now use bun install (frozen lockfile), bun run lint, test and build. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
1 parent ab5e272 commit 01129ab

4 files changed

Lines changed: 835 additions & 7846 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v4
13+
- uses: oven-sh/setup-bun@v2
1414
with:
15-
node-version: 22
16-
cache: npm
17-
- run: npm ci
18-
- run: npm run lint
19-
- run: npm test
20-
- run: npm run build
15+
bun-version: 1.3.11
16+
- run: bun install --frozen-lockfile
17+
- run: bun run lint
18+
- run: bun run test
19+
- run: bun run build

‎README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ save them as `.anal` files to move between devices or keep a copy.
99

1010
## Getting started
1111

12-
Requires Node.js 22 or newer.
12+
Requires [Bun](https://bun.sh) 1.3 or newer.
1313

1414
```bash
15-
npm install
16-
npm run dev # start the dev server
15+
bun install
16+
bun run dev # start the dev server
1717
```
1818

1919
## Scripts
2020

2121
| Command | What it does |
2222
| --- | --- |
23-
| `npm run dev` | Vite dev server with hot reload |
24-
| `npm test` | Unit tests (Vitest) |
25-
| `npm run lint` | Oxlint |
26-
| `npm run build` | Generate PWA icons, type-check, and build for production |
27-
| `npm run preview` | Serve the production build locally |
23+
| `bun run dev` | Vite dev server with hot reload |
24+
| `bun run test` | Unit tests (Vitest) |
25+
| `bun run lint` | Oxlint |
26+
| `bun run build` | Generate PWA icons, type-check, and build for production |
27+
| `bun run preview` | Serve the production build locally |
2828

2929
## Configuration
3030

0 commit comments

Comments
 (0)