bun-nextjs

仓库创建 2025年11月8日最近提交 29 天前SkillHot 收录 22 天前
▸ 精选理由

对希望用 Bun 加速 Next.js 开发与构建的团队很有吸引力。

这个 Skill 做什么

说明如何在 Bun 运行时下创建、开发和部署 Next.js 应用。

教你用 Bun 作为运行时来创建、开发和部署 Next.js 项目,能让开发和构建更快:用 bunx create-next-app 快速起项目,bun install/bun run dev/build/start 做日常开发与发布。适合想把 Next.js 跑在 Bun 上以获取更快启动和构建速度的场景。注意脚手架会下载外部资源,按需校验安全来源。

▸ 展开 SKILL.md 英文原文

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.

开发编程Next.jsBunSSR开发通用
180
Stars
28
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/secondsky/claude-skills/main/plugins/bun/skills/bun-nextjs/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/secondsky/claude-skills/main/plugins/bun/skills/bun-nextjs/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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 p
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有