build: migrate to bun package manager and enforce with preinstall check

This commit is contained in:
2025-12-29 15:18:04 -06:00
parent 6a4abcec0d
commit a65836bd5b
6 changed files with 25 additions and 3800 deletions
+8 -4
View File
@@ -1,4 +1,11 @@
{
"name": "pacman-web",
"description": "A web frontend for the Pac-Man game, including leaderboards and OAuth.",
"type": "module",
"packageManager": "bun@^1.3.5",
"engines": {
"bun": ">=1.3.5"
},
"scripts": {
"preinstall": "npx only-allow bun",
"dev": "vike dev",
@@ -6,8 +13,6 @@
"preview": "vike preview",
"lint": "eslint ."
},
"name": "pacman-web",
"description": "A web frontend for the Pac-Man game, including leaderboards and OAuth.",
"dependencies": {
"@fontsource/outfit": "^5.2.8",
"@fontsource/pixelify-sans": "^5.2.7",
@@ -39,6 +44,5 @@
"typescript": "^5.9.2",
"typescript-eslint": "^8.42.0",
"vite": "^7.1.4"
},
"type": "module"
}
}