build: migrate from pnpm to bun

replace pnpm with bun as package manager for faster installs
and consistency with other projects
This commit is contained in:
Nicholai Vogel 2026-01-20 09:50:32 -07:00
parent 674ba7bbd4
commit 4f16c9738d
4 changed files with 1592 additions and 6722 deletions

View File

@ -7,16 +7,16 @@ development commands
---
core:
- pnpm dev - run dev server
- pnpm build - build the project
- pnpm preview - build and preview with wrangler
- pnpm deploy - build and deploy to cloudflare pages (then run `wrangler pages deploy --branch=main` for production)
- bun dev - run dev server
- bun build - build the project
- bun preview - build and preview with wrangler
- bun deploy - build and deploy to cloudflare pages (then run `wrangler pages deploy --branch=main` for production)
utilities:
- pnpm commit - interactive git commit with AI-generated messages
- pnpm notepad - quick note-taking utility
- pnpm run convert:avif:all - convert images to AVIF
- pnpm cf-typegen - generate cloudflare types
- bun commit - interactive git commit with AI-generated messages
- bun notepad - quick note-taking utility
- bun run convert:avif:all - convert images to AVIF
- bun cf-typegen - generate cloudflare types
architecture overview
---

1582
bun.lock Normal file

File diff suppressed because it is too large Load Diff

View File

@ -4,8 +4,8 @@
"version": "0.0.1",
"scripts": {
"prebuild:ecosystem": "node scripts/build-ecosystem-data.mjs",
"dev": "pnpm prebuild:ecosystem && astro dev",
"build": "pnpm prebuild:ecosystem && astro build",
"dev": "bun run prebuild:ecosystem && astro dev",
"build": "bun run prebuild:ecosystem && astro build",
"preview": "astro build && wrangler pages dev",
"astro": "astro",
"deploy": "astro build && wrangler pages deploy",

6712
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff