Skip to content

Instantly share code, notes, and snippets.

View SSbit01's full-sized avatar
❄️
Cold

Stefan Samson SSbit01

❄️
Cold
View GitHub Profile
@SSbit01
SSbit01 / Dockerfile
Last active November 1, 2025 14:08
Simple Dockerfile for Bun projects (`build` script must be configured and output to `./dist`)
# ---- Build Stage ----
FROM oven/bun:1-alpine AS builder
# Set working directory
WORKDIR /app
# Copy ONLY dependency files first
COPY package.json bun.lockb* ./
# Install deps (this layer is cached unless package files change)
@SSbit01
SSbit01 / .dockerignore
Last active November 3, 2025 11:44
Base `.dockerignore` file for all kind of Node.js/Deno/Bun projects.
# Compiled output
/build
/dist
/tmp
/out
/out-tsc
.output
# Framework-specific
.astro
@SSbit01
SSbit01 / .gitignore
Last active November 1, 2025 13:21
Perfect `.gitignore` file for all kind of Node.js/Deno/Bun projects.
# See http://help.github.com/ignore-files/ for more about ignoring files.
# Compiled output
/build
/dist
/tmp
/out
/out-tsc
.output
@SSbit01
SSbit01 / .prettierrc.mjs
Created October 31, 2025 09:32
Base Prettier configuration
/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
export default {
printWidth: 140,
tabWidth: 2,
useTabs: false,
semi: false,
singleQuote: false,
@SSbit01
SSbit01 / biome.json
Last active October 30, 2025 20:43
Base Biome configuration
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"includes": ["**", "!node_modules", "!build", "!dist", "!.astro", "!.next"],
"ignoreUnknown": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true