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
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: add required JSON import attributes for Node.js v22 ESM compatibility

Node.js v22 strictly enforces ERR_IMPORT_ATTRIBUTE_MISSING for JSON imports
in ESM context. Add `with { type: "json" }` to all five preset JSON imports
in admin-themes.tsx to match the pattern already used in theme-resolution.ts.

+5 -5
+5 -5
apps/web/src/routes/admin-themes.tsx
··· 13 13 import { logger } from "../lib/logger.js"; 14 14 import { tokensToCss } from "../lib/theme.js"; 15 15 import { FALLBACK_THEME, type WebAppEnv } from "../lib/theme-resolution.js"; 16 - import neobrutalLight from "../styles/presets/neobrutal-light.json"; 17 - import neobrutalDark from "../styles/presets/neobrutal-dark.json"; 18 - import cleanLight from "../styles/presets/clean-light.json"; 19 - import cleanDark from "../styles/presets/clean-dark.json"; 20 - import classicBb from "../styles/presets/classic-bb.json"; 16 + import neobrutalLight from "../styles/presets/neobrutal-light.json" with { type: "json" }; 17 + import neobrutalDark from "../styles/presets/neobrutal-dark.json" with { type: "json" }; 18 + import cleanLight from "../styles/presets/clean-light.json" with { type: "json" }; 19 + import cleanDark from "../styles/presets/clean-dark.json" with { type: "json" }; 20 + import classicBb from "../styles/presets/classic-bb.json" with { type: "json" }; 21 21 22 22 // ─── Types ───────────────────────────────────────────────────────────────── 23 23