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: core:
- pnpm dev - run dev server - bun dev - run dev server
- pnpm build - build the project - bun build - build the project
- pnpm preview - build and preview with wrangler - bun preview - build and preview with wrangler
- pnpm deploy - build and deploy to cloudflare pages (then run `wrangler pages deploy --branch=main` for production) - bun deploy - build and deploy to cloudflare pages (then run `wrangler pages deploy --branch=main` for production)
utilities: utilities:
- pnpm commit - interactive git commit with AI-generated messages - bun commit - interactive git commit with AI-generated messages
- pnpm notepad - quick note-taking utility - bun notepad - quick note-taking utility
- pnpm run convert:avif:all - convert images to AVIF - bun run convert:avif:all - convert images to AVIF
- pnpm cf-typegen - generate cloudflare types - bun cf-typegen - generate cloudflare types
architecture overview 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", "version": "0.0.1",
"scripts": { "scripts": {
"prebuild:ecosystem": "node scripts/build-ecosystem-data.mjs", "prebuild:ecosystem": "node scripts/build-ecosystem-data.mjs",
"dev": "pnpm prebuild:ecosystem && astro dev", "dev": "bun run prebuild:ecosystem && astro dev",
"build": "pnpm prebuild:ecosystem && astro build", "build": "bun run prebuild:ecosystem && astro build",
"preview": "astro build && wrangler pages dev", "preview": "astro build && wrangler pages dev",
"astro": "astro", "astro": "astro",
"deploy": "astro build && wrangler pages deploy", "deploy": "astro build && wrangler pages deploy",

6712
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff