bun-nextjs

Featured

This skill should be used when the user asks about "Next.js with Bun", "Bun and Next", "running Next.js on Bun", "Next.js development with Bun", "create-next-app with Bun", or building Next.js applications using Bun as the runtime.

Web & Frontend 221 stars 31 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
78
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Bun Next.js Run Next.js applications with Bun for faster development and builds. ## Quick Start ```bash # Create new Next.js project with Bun bunx create-next-app@latest my-app cd my-app # Install dependencies bun install # Development bun run dev # Build bun run build # Production bun run start ``` ## Secure Installation Scaffolding tools like `bunx create-next-app` download and execute remote code. Multiple install contexts (local, Docker) require pinning versions in both. Before running, follow supply chain security best practices: - **Block post-install scripts** — Bun disables them by default; allow specific packages via `trustedDependencies` in `package.json` - **Cooldown period** — Configure `minimumReleaseAge` in `bunfig.toml` to wait 7 days for new versions - **Audit before installing** — Run `socket package score npm <pkg>` or use `socket npm install <pkg>` to check packages Load the `dependency-upgrade` skill for full security configuration including Socket CLI integration, cooldown setup, lockfile validation, and CI enforcement. ## Project Setup ### package.json ```json { "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "eslint ." }, "dependencies": { "next": "^16.2.0", "react": "^19.2.0", "react-dom": "^19.2.0" } } ``` ### Use Bun as Runtime ```json { "scripts": { "dev": "bun --bun next dev", "build": "bun --bun next build", "start": "bun --bun next start" }...

Details

Author
secondsky
Repository
secondsky/claude-skills
Created
10 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category