full ci-cd pipeline built on bun2nix

This commit is contained in:
polwex 2026-04-19 00:54:56 +07:00
parent 7cebe39a14
commit f81d5604ae
11 changed files with 1528 additions and 2 deletions

View file

@ -5,9 +5,11 @@
"type": "module",
"scripts": {
"dev": "bun --hot server.ts",
"build": "tsc -b",
"build": "bun build --target bun server.ts --outdir build",
"build:prod": "bun run typecheck && bun run build",
"lint": "eslint .",
"typecheck": "tsc -b"
"typecheck": "tsc -b",
"update:bun-nix": "bunx bun2nix -o bun.nix"
},
"dependencies": {
"@simplewebauthn/browser": "^13.3.0",
@ -23,6 +25,7 @@
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"bun-types": "^1.3.11",
"bun2nix": "^2.0.8",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",