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

Add .env loading via Node --env-file flag and update .gitignore

Use Node 22+ native --env-file=../../.env in dev/spike scripts so
packages pick up root .env variables without a dotenv dependency.
Also add devenv, direnv, and pre-commit entries to .gitignore.

+15 -3
+11
.gitignore
··· 17 17 18 18 # OS 19 19 .DS_Store 20 + 21 + # Devenv 22 + .devenv* 23 + devenv.local.nix 24 + devenv.local.yaml 25 + 26 + # direnv 27 + .direnv 28 + 29 + # pre-commit 30 + .pre-commit-config.yaml
+1
CLAUDE.md
··· 70 70 - **Hono JSX `children`:** Use `PropsWithChildren<T>` from `hono/jsx` for components that accept children. Unlike React, Hono's `FC<T>` does not include `children` implicitly. 71 71 - **HTMX attributes in JSX:** The `typed-htmx` package provides types for `hx-*` attributes. See `packages/web/src/global.d.ts` for the augmentation. 72 72 - **Glob expansion in npm scripts:** `@atproto/lex-cli` needs file paths, not globs. Use `bash -c 'shopt -s globstar && ...'` to expand `**/*.json` in npm scripts. 73 + - **`.env` loading:** Dev and spike scripts use Node's `--env-file=../../.env` flag to load the root `.env` file. No `dotenv` dependency needed. 73 74 74 75 ## Git Conventions 75 76
+1 -1
packages/appview/package.json
··· 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "tsc", 8 - "dev": "tsx watch src/index.ts", 8 + "dev": "tsx watch --env-file=../../.env src/index.ts", 9 9 "start": "node dist/index.js", 10 10 "lint": "tsc --noEmit", 11 11 "clean": "rm -rf dist"
+1 -1
packages/spike/package.json
··· 4 4 "private": true, 5 5 "type": "module", 6 6 "scripts": { 7 - "spike": "tsx src/index.ts", 7 + "spike": "tsx --env-file=../../.env src/index.ts", 8 8 "clean": "rm -rf dist" 9 9 }, 10 10 "dependencies": {
+1 -1
packages/web/package.json
··· 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "tsc", 8 - "dev": "tsx watch src/index.ts", 8 + "dev": "tsx watch --env-file=../../.env src/index.ts", 9 9 "start": "node dist/index.js", 10 10 "lint": "tsc --noEmit", 11 11 "clean": "rm -rf dist"