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 "main": "./dist/index.js", 7 "types": "./dist/index.d.ts", 8 "exports": { 9 - ".": "./dist/index.js", 10 - "./schema": "./dist/schema.js" 11 }, 12 "scripts": { 13 "build": "tsc", ··· 19 "postgres": "^3.4.8" 20 }, 21 "devDependencies": { 22 "typescript": "^5.7.0" 23 } 24 }
··· 6 "main": "./dist/index.js", 7 "types": "./dist/index.d.ts", 8 "exports": { 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 + } 17 }, 18 "scripts": { 19 "build": "tsc", ··· 25 "postgres": "^3.4.8" 26 }, 27 "devDependencies": { 28 + "@types/node": "^22.0.0", 29 "typescript": "^5.7.0" 30 } 31 }
+3
pnpm-lock.yaml
··· 80 specifier: ^3.4.8 81 version: 3.4.8 82 devDependencies: 83 typescript: 84 specifier: ^5.7.0 85 version: 5.9.3
··· 80 specifier: ^3.4.8 81 version: 3.4.8 82 devDependencies: 83 + '@types/node': 84 + specifier: ^22.0.0 85 + version: 22.19.9 86 typescript: 87 specifier: ^5.7.0 88 version: 5.9.3