The SDK could not be published at all — bun publish runs prepare, and prepare needs bun2nix #115

Merged
enricobuehler merged 1 commits from worktree-sdk-publish-prepare-hook into main 2026-08-08 11:04:34 +00:00
+1 -1
View File
@@ -34,7 +34,7 @@
"registry": "https://git.unom.io/api/packages/unom/npm/"
},
"scripts": {
"prepare": "bun2nix -o bun.nix",
"prepare": "if command -v bun2nix >/dev/null 2>&1; then bun2nix -o bun.nix; fi",
"gen": "openapigen --spec ../api/openapi.json --name Punktfunk --format httpclient > src/gen/punktfunk.ts",
"typecheck": "tsc --noEmit",
"build": "tsc -p tsconfig.build.json",