@go-labs-sg/bb 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -99,4 +99,4 @@ bun run src/index.ts list-budgets
99
99
 
100
100
  ### Publish
101
101
 
102
- `prepublishOnly` strips `workspace:` / `catalog:` entries from this package’s `package.json`, runs `tsc`, then `postpack` restores the file — so the npm tarball does not contain monorepo protocol dependencies. Types from `@go-labs/budget-builder-api` are compile-time only (`import type`). Prisma enum **values** used at runtime live in `src/prisma-enums.ts` (kept in sync with `packages/budget-builder/db` generated enums) so npm installs do not need `@go-labs/budget-builder-db`.
102
+ `prepack` strips `workspace:` / `catalog:` entries from this package’s `package.json`, runs `tsc`, then `postpack` restores the file — so the npm tarball does not contain monorepo protocol dependencies. Types from `@go-labs/budget-builder-api` are compile-time only (`import type`). Prisma enum **values** used at runtime live in `src/prisma-enums.ts` (kept in sync with `packages/budget-builder/db` generated enums) so npm installs do not need `@go-labs/budget-builder-db`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-labs-sg/bb",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Budget Builder CLI — list budgets, bills, approvals, suppliers; approve bills; change status. For AI agents (e.g. Chuck/OpenClaw).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,16 +17,18 @@
17
17
  "check": "biome check .",
18
18
  "check:write": "biome check --write .",
19
19
  "run": "bun run src/index.ts",
20
- "prepublishOnly": "node scripts/strip-workspace-deps.js && bun run build",
20
+ "prepack": "node scripts/strip-workspace-deps.js && bun run build",
21
21
  "postpack": "node scripts/restore-package-json.js"
22
22
  },
23
23
  "dependencies": {
24
24
  "@trpc/client": "^11.16.0",
25
+ "dotenv": "^17.4.2",
25
26
  "mime-types": "^3.0.2",
26
27
  "superjson": "^2.2.6"
27
28
  },
28
29
  "devDependencies": {
29
- "@types/mime-types": "^3.0.1"
30
+ "@types/mime-types": "^3.0.1",
31
+ "typescript": "^6.0.3"
30
32
  },
31
33
  "engines": {
32
34
  "node": ">=18"