WIP! A BB-style forum, on the ATmosphere! We're still working... we'll be back soon when we have something to show off!
node typescript hono htmx atproto

refactor: address PR #5 review feedback on @atbb/db package

- Add explicit types exports using conditional exports format
- Remove unused barrel file apps/appview/src/db/index.ts
- Add @types/node to @atbb/db devDependencies per project convention

All three suggestions from PR #5 code review implemented.

+12 -4
-2
apps/appview/src/db/index.ts
··· 1 - export { createDb, type Database } from "@atbb/db"; 2 - export * from "@atbb/db/schema";
+9 -2
packages/db/package.json
··· 6 6 "main": "./dist/index.js", 7 7 "types": "./dist/index.d.ts", 8 8 "exports": { 9 - ".": "./dist/index.js", 10 - "./schema": "./dist/schema.js" 9 + ".": { 10 + "types": "./dist/index.d.ts", 11 + "default": "./dist/index.js" 12 + }, 13 + "./schema": { 14 + "types": "./dist/schema.d.ts", 15 + "default": "./dist/schema.js" 16 + } 11 17 }, 12 18 "scripts": { 13 19 "build": "tsc", ··· 19 25 "postgres": "^3.4.8" 20 26 }, 21 27 "devDependencies": { 28 + "@types/node": "^22.0.0", 22 29 "typescript": "^5.7.0" 23 30 } 24 31 }
+3
pnpm-lock.yaml
··· 80 80 specifier: ^3.4.8 81 81 version: 3.4.8 82 82 devDependencies: 83 + '@types/node': 84 + specifier: ^22.0.0 85 + version: 22.19.9 83 86 typescript: 84 87 specifier: ^5.7.0 85 88 version: 5.9.3