Files
CatoandClaude 839cf107ce feat(template, registry): languages through @bitbaum/langkit (#576)
SHARED.md gains the langkit row, STACK.md's i18n row names it beside
next-intl. The app template takes its language list (i18n/routing.ts, same
exports), English fallback (i18n/request.ts, lib/mail.ts), switcher
(components/LocaleSwitcher.tsx, inside sitekit's masthead) and message check
from langkit: i18n/parity.test.ts, a regex copy found in six apps, is
replaced by `pnpm run check:messages` (langkit check) in verify, which also
catches dropped <tags> and plurals without a needed form.

Template verify green here (lint, types, 55 tests, langkit check, build);
fleet verify green with VERIFY_SKIP_TEMPLATE=1.


Claude-Session: https://claude.ai/code/session_019MDtmsTRGc34xnG6koVuAY

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 20:10:21 +01:00

60 lines
1.7 KiB
JSON

{
"name": "__SLUG__",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@11.25.0",
"engines": {
"node": ">=24"
},
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:integration": "vitest run --config vitest.integration.config.mts",
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run check:messages && pnpm run build",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"role:grant": "node scripts/grant-role.mjs",
"check:messages": "langkit check messages --source en --swiss de"
},
"dependencies": {
"@better-auth/passkey": "^1.7.7",
"@bitbaum/accountkit": "^0.32.1",
"@bitbaum/ai-kit": "^1.31.0",
"@bitbaum/chatkit": "^0.45.0",
"@bitbaum/design-tokens": "^1.7.1",
"@bitbaum/langkit": "^0.2.0",
"@bitbaum/mail-kit": "^0.4.0",
"@bitbaum/sitekit": "^0.7.0",
"better-auth": "^1.7.7",
"bip-kit": "^0.6.1",
"drizzle-orm": "^0.45.4",
"limitkit": "^0.2.1",
"next": "16.4.6",
"next-intl": "^4.14.9",
"pg": "^8.23.1",
"react": "19.3.0",
"react-dom": "19.3.0",
"zod": "^4.6.6"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.3",
"@types/node": "^26.6.5",
"@types/pg": "^8.23.1",
"@types/react": "^19",
"@types/react-dom": "^19",
"drizzle-kit": "^0.31.11",
"eslint": "^10.12.0",
"eslint-config-next": "16.4.0",
"prettier": "3.9.10",
"tailwindcss": "^4.3.3",
"typescript": "^6.0.3",
"vitest": "^4.1.12"
}
}