bun-sveltekit

Featured

Use when building or running SvelteKit apps on Bun, including SSR, adapters, and Bun-specific APIs

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 SvelteKit Run SvelteKit applications with Bun for faster development and builds. ## Quick Start ```bash # Create new SvelteKit project bunx sv create my-app cd my-app # Install dependencies bun install # Development bun run dev # Build bun run build # Preview bun run preview ``` ## Secure Installation Scaffolding tools like `bunx sv create` download and execute remote code. 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": "vite dev", "build": "vite build", "preview": "vite preview" }, "devDependencies": { "@sveltejs/adapter-auto": "^7.0.0", "@sveltejs/kit": "^2.0.0", "svelte": "^5.0.0", "vite": "^7.3.0" } } ``` ### Use Bun Adapter ```bash bun add -D svelte-adapter-bun ``` ```javascript // svelte.config.js import adapter from "svelte-adapter-bun"; import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; /** @type {import('@sveltejs...

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