mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-03 23:27:02 +01:00
* fix(i18n): check:messages leaves out each language's own pending namespaces langkit's command line takes one --pending list for every language, but Amend is pending only outside AMEND_LOCALES, so main failed check:messages with 366 missing Amend keys in zh, ja and ko. scripts/check-messages.ts calls langkit's checkMessages with a per-language map, read from src/i18n/pending.ts, which the parity test now shares. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvTCDbJAYNKQpNyKzz * feat(i18n): the start-a-business guide in all eight languages The page's words are the StartBusiness messages (metadata too); the guide's facts stay written once, in English, and read their other languages from data/i18n/config.json by their English words. guideTexts() lists every text the page can show from the guide files, for every country and region, so pnpm run i18n:config finds them and the configuration test holds each to every language. Official names keep their original (in brackets where the English has them; as they are in German). The route counts as translated. The title no longer hyphenates words that fit a 320px line. Chinese, Japanese and Korean are machine translations, not yet read by a native speaker, as for the rest of the site. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvTCDbJAYNKQpNyKzz --------- Co-authored-by: Claude <noreply@anthropic.com>
144 lines
5.5 KiB
JSON
144 lines
5.5 KiB
JSON
{
|
|
"name": "solon",
|
|
"version": "0.1.0",
|
|
"packageManager": "pnpm@11.25.0",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "tsx scripts/media-ensure.ts; next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"design:check": "node scripts/design-system-check.js",
|
|
"check:messages": "tsx scripts/check-messages.ts",
|
|
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run design:check && pnpm run check:messages && pnpm run check:places-literals && pnpm run places:world-countries --check && pnpm run check:cycles && pnpm run test:coverage",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:e2e": "playwright test",
|
|
"test:puppeteer": "BASE_URL=${BASE_URL:-http://localhost:3000} node tests/puppeteer/smoke.mjs",
|
|
"test:puppeteer:mega": "BASE_URL=${BASE_URL:-http://localhost:3000} node tests/puppeteer/mega-menu.mjs",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"check:vendored-drift": "node scripts/check-vendored-drift.mjs",
|
|
"places:sync-config": "tsx scripts/places-sync-config.ts",
|
|
"places:import": "tsx scripts/places-import.ts",
|
|
"snapshots:compress": "tsx scripts/snapshots-compress.ts",
|
|
"places:import-files": "tsx scripts/places-import-files.ts",
|
|
"places:fetch": "tsx scripts/places-fetch.ts",
|
|
"places:queue": "tsx scripts/places-queue.ts",
|
|
"data:refresh": "tsx scripts/data-refresh.ts",
|
|
"statistics:sync": "tsx scripts/statistics-sync.ts",
|
|
"statistics:quality": "tsx scripts/statistics-quality.ts",
|
|
"geography:world": "tsx scripts/build-world-geography.ts",
|
|
"check:cycles": "madge --circular --extensions ts,tsx --ts-config tsconfig.json src",
|
|
"places:il-cbs-localities": "tsx scripts/places-il-cbs-localities.ts",
|
|
"places:world-countries": "tsx scripts/places-world-countries.ts",
|
|
"places:world-subdivisions": "tsx scripts/places-world-subdivisions.ts",
|
|
"statistics:verify": "tsx scripts/statistics-verify.ts",
|
|
"datakit:benchmark": "tsx scripts/datakit-benchmark.ts",
|
|
"law:register": "tsx scripts/law-register.ts",
|
|
"law:text": "tsx scripts/law-text.ts",
|
|
"check:places-literals": "node --import tsx scripts/check-places-no-literals.ts",
|
|
"check:law-search": "tsx scripts/check-law-search.ts",
|
|
"brand": "tsx scripts/brand.mts",
|
|
"money:rates": "tsx scripts/money-rates.ts",
|
|
"law:translate": "tsx scripts/law-translate.ts",
|
|
"i18n:config": "tsx scripts/i18n-config.ts",
|
|
"law:plan": "tsx scripts/law-plan.ts",
|
|
"world:profiles": "tsx scripts/world-profiles.ts",
|
|
"places:photos": "tsx scripts/places-photos.ts",
|
|
"places:photos:warm": "tsx scripts/places-photos-warm.ts",
|
|
"places:photos:to-r2": "tsx scripts/places-photos-to-r2.ts",
|
|
"media:render": "tsx scripts/media-render.ts",
|
|
"media:upload": "tsx scripts/media-upload.ts",
|
|
"media:ensure": "MEDIA_ENSURE=1 tsx scripts/media-ensure.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.1172.0",
|
|
"@better-auth/passkey": "^1.7.14",
|
|
"@bitbaum/accountkit": "^0.32.1",
|
|
"@bitbaum/ai-kit": "^1.33.0",
|
|
"@bitbaum/bip-kit": "^0.10.0",
|
|
"@bitbaum/chartkit": "^0.8.0",
|
|
"@bitbaum/chatkit": "^0.48.0",
|
|
"@bitbaum/datakit": "^0.1.0",
|
|
"@bitbaum/geo-kit": "^0.8.0",
|
|
"@bitbaum/limitkit": "^0.2.1",
|
|
"@bitbaum/mail-kit": "0.4.0",
|
|
"@bitbaum/paykit": "^0.5.0",
|
|
"@bitbaum/searchkit": "^0.2.3",
|
|
"@bitbaum/sitekit": "^0.9.0",
|
|
"@fleet/design-tokens": "npm:@bitbaum/design-tokens@^1.7.1",
|
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
"@napi-rs/canvas": "^1.1.0",
|
|
"@noble/hashes": "2.4.0",
|
|
"@noble/secp256k1": "3.2.0",
|
|
"@scure/base": "^2.4.0",
|
|
"better-auth": "^1.7.14",
|
|
"bs58check": "^4.0.0",
|
|
"clsx": "2.1.1",
|
|
"d3-geo": "3.1.1",
|
|
"diff": "^8.0.4",
|
|
"drizzle-orm": "^0.45.4",
|
|
"fflate": "^0.8.3",
|
|
"lucide-react": "1.65.0",
|
|
"mermaid": "^11.17.2",
|
|
"next": "16.4.6",
|
|
"next-intl": "^4.14.9",
|
|
"pdf-lib": "1.17.1",
|
|
"pdfjs-dist": "6.4.299",
|
|
"pg": "^8.23.1",
|
|
"proj4": "2.22.0",
|
|
"react": "19.3.1",
|
|
"react-dom": "19.3.1",
|
|
"tailwindcss": "4.3.3",
|
|
"tesseract.js": "^7.0.0",
|
|
"topojson-client": "3.1.0",
|
|
"topojson-server": "3.0.1",
|
|
"topojson-simplify": "3.0.3",
|
|
"unpdf": "^1.9.1",
|
|
"us-atlas": "^3.0.1",
|
|
"word-extractor": "^1.0.4",
|
|
"world-atlas": "^2.0.2",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@bitbaum/langkit": "^0.2.0",
|
|
"@electric-sql/pglite": "^0.5.13",
|
|
"@playwright/test": "1.64.1",
|
|
"@tailwindcss/postcss": "4.3.3",
|
|
"@types/d3-geo": "^3.1.1",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/node": "26.6.6",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/proj4": "^2.19.0",
|
|
"@types/react": "19.3.0",
|
|
"@types/react-dom": "19.3.0",
|
|
"@types/topojson-client": "^3.1.5",
|
|
"@types/topojson-server": "^3.0.4",
|
|
"@types/topojson-simplify": "^3.0.3",
|
|
"@types/topojson-specification": "^1.0.5",
|
|
"@vitest/coverage-v8": "^5.0.5",
|
|
"drizzle-kit": "^0.31.11",
|
|
"eslint": "10.14.0",
|
|
"eslint-config-next": "16.4.6",
|
|
"espree": "^11.2.0",
|
|
"madge": "^8.0.0",
|
|
"postcss": "8.5.32",
|
|
"prettier": "3.9.10",
|
|
"puppeteer": "25.16.0",
|
|
"sharp": "0.35.5",
|
|
"ts-node": "10.9.2",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^5.0.5"
|
|
}
|
|
}
|