Files
solon/package.json
T
CatoandCursor b7027f1122 feat(places): Swiss structure — FSO commune register and Zürich quarters import through real adapters (#215)
* feat(places): Swiss structure — FSO commune register and Zürich quarters import through real adapters

- adapters parse formats and name no country; which levels and schemes rows
  become is each source's options in config, checked by the adapter's schema
- bfs_communes_snapshot (every canton, district, commune on a date),
  bfs_communes_mutations (mergers as succeeds), geojson_tiers (city quarters)
- places:fetch retrieves what an adapter declares; --backfill loads history once
- importer: relation-only batches, ended places filed under their last parent
- Swiss pack: levels, schemes, metrics, income-tax model (no church tax yet)
- licence policy: opendata.swiss terms and Art. 5 URG official acts
- acceptance: Witikon resolves to Switzerland and takes no tax; reruns change nothing

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs(changelog): Swiss structure (#215)

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 22:44:16 +02:00

71 lines
2.3 KiB
JSON

{
"name": "solon",
"version": "0.1.0",
"packageManager": "pnpm@11.25.0",
"engines": {
"node": ">=20"
},
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"design:check": "node scripts/design-system-check.js",
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run design:check && pnpm run check:places-literals && pnpm run test",
"test": "vitest run",
"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",
"places:fetch": "tsx scripts/places-fetch.ts",
"check:places-literals": "tsx scripts/check-places-no-literals.ts"
},
"dependencies": {
"@fleet/design-tokens": "npm:@bitbaum/design-tokens@^1.1.0",
"@noble/hashes": "2.4.0",
"@noble/secp256k1": "3.2.0",
"@scure/base": "^2.4.0",
"bip-kit": "^0.4.0",
"bs58check": "^4.0.0",
"clsx": "2.1.1",
"drizzle-orm": "^0.45.3",
"lucide-react": "1.48.0",
"next": "16.3.6",
"next-auth": "^5.0.0-beta.32",
"next-intl": "^4.14.7",
"pg": "^8.23.0",
"react": "19.3.0",
"react-dom": "19.3.0",
"tailwindcss": "4.3.3",
"zod": "^4.6.5"
},
"devDependencies": {
"@playwright/test": "1.63.0",
"@tailwindcss/postcss": "4.3.3",
"@types/node": "26.6.2",
"@types/pg": "^8.23.1",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"drizzle-kit": "^0.31.11",
"eslint": "10.11.0",
"eslint-config-next": "16.3.6",
"espree": "^11.2.0",
"postcss": "8.5.28",
"prettier": "3.9.9",
"puppeteer": "25.12.0",
"ts-node": "10.9.2",
"tsx": "^4.23.15",
"typescript": "^6.0.3",
"vitest": "^5.0.2"
}
}