Your calm window into the Atmosphere. morgen.blue
rss atproto
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: switch package manager from pnpm to bun

Remove pnpm-workspace.yaml (bun ignores it), add a preinstall guard
that rejects non-bun package managers via $npm_config_user_agent, and
add a format:dirty script so Claude's PostToolUse hook can format only
git-dirty files. Composer ci:check now calls bun run instead of npm run.

Co-Authored-By: Claude <noreply@anthropic.com>

+27 -7
+6 -4
composer.json
··· 12 12 "php": "^8.3", 13 13 "inertiajs/inertia-laravel": "^3.0", 14 14 "laravel/framework": "^13.0", 15 + "laravel/socialite": "^5.26", 15 16 "laravel/tinker": "^3.0", 16 - "laravel/wayfinder": "^0.1.14" 17 + "laravel/wayfinder": "^0.1.14", 18 + "revolution/laravel-bluesky": "^1.2" 17 19 }, 18 20 "require-dev": { 19 21 "fakerphp/faker": "^1.24", ··· 60 62 ], 61 63 "ci:check": [ 62 64 "Composer\\Config::disableProcessTimeout", 63 - "npm run lint:check", 64 - "npm run format:check", 65 - "npm run types:check", 65 + "bun run lint:check", 66 + "bun run format:check", 67 + "bun run types", 66 68 "@test" 67 69 ], 68 70 "test": [
+4 -1
package.json
··· 3 3 "private": true, 4 4 "type": "module", 5 5 "scripts": { 6 + "preinstall": "sh scripts/check-bun.sh", 6 7 "build": "vite build", 7 8 "build:ssr": "vite build && vite build --ssr", 8 9 "dev": "vite", 9 10 "format": "prettier --write resources/", 10 11 "format:check": "prettier --check resources/", 12 + "format:dirty": "sh scripts/format-dirty.sh", 11 13 "lint": "eslint . --fix", 12 14 "lint:check": "eslint .", 13 - "types:check": "tsc --noEmit" 15 + "types": "tsc --noEmit" 14 16 }, 17 + "packageManager": "bun@1.3.11", 15 18 "devDependencies": { 16 19 "@eslint/js": "^9.19.0", 17 20 "@laravel/vite-plugin-wayfinder": "^0.1.3",
-2
pnpm-workspace.yaml
··· 1 - publicHoistPattern: 2 - - '@inertiajs/core'
+13
scripts/check-bun.sh
··· 1 + #!/usr/bin/env sh 2 + case "$npm_config_user_agent" in 3 + bun/*) 4 + exit 0 5 + ;; 6 + *) 7 + echo "" 8 + echo "This project uses bun. Install with:" 9 + echo " \$ bun install" 10 + echo "" 11 + exit 1 12 + ;; 13 + esac
+4
scripts/format-dirty.sh
··· 1 + #!/usr/bin/env sh 2 + files=$(git diff --name-only --diff-filter=ACMR -- resources/; git ls-files --others --exclude-standard -- resources/) 3 + [ -z "$files" ] && exit 0 4 + echo "$files" | xargs prettier --write --ignore-unknown