Files
token-circles/frontend/package.json
T
KomediruzeckiandGitHub c41dad038e feat(retirement): zoom the chart, and settings rows that read as settings rows (#412)
Sixty years drawn across half a screen puts a decade in a centimetre: the shape
is there but nothing can be read off it. Scroll zooms, drag pans, pinch works on
a touch screen, and a button appears in the chart's corner once there is a zoom
to undo — double-click does the same, since that is what people try first.

Done by moving the x scale's min/max, which a category scale reads as point
indices, so the axis relabels itself from whatever range it is given and the
markers stay on their crossings. chartjs-plugin-zoom would have been a new
dependency for a hundred lines of arithmetic, and installing one here writes
into the node_modules the main checkout shares. The window maths is separated
from the DOM so anchoring, clamping and gesture fall-through are testable
without a canvas: 18 tests on the arithmetic, 13 driving the real handlers.

A wheel that would zoom out from the full extent does not preventDefault.
Otherwise the chart is a trap — you reach it and can never scroll past it.

The two switches inside the form were the last native checkboxes on the page,
each with a line under it explaining what the setting currently means. That is a
settings row, so they use the one the app already has: wording and its live
description on the left, switch on the right. Their descriptions stay live —
they report the effect of the setting as it stands, not a fixed caption.

Release 5.9.2
-------------
Changelogs written for everything since v5.9.1 and the version bumped. Both tour
walks clean, desktop and mobile: 52 steps, none without a visible spotlight —
worth checking rather than assuming, since this branch moved the retirement
page's layout twice and the tour spotlights one of its panels.

No migrations since v5.9.1, so the deploy has no schema step to rehearse.
2026-08-23 14:08:13 +02:00

89 lines
3.0 KiB
JSON

{
"name": "finance-manager-frontend",
"version": "5.9.2",
"type": "module",
"description": "Finance Manager Frontend - SolidJS + TypeScript",
"author": "Komediruzecki",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/Komediruzecki/finance-manager"
},
"bugs": {
"url": "https://github.com/Komediruzecki/finance-manager/issues"
},
"homepage": "https://github.com/Komediruzecki/finance-manager#readme",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:dev": "vite build --mode dev",
"deploy:dev": "pnpm run build:dev && npx wrangler deploy --env dev",
"deploy:prod": "pnpm run build && npx wrangler deploy --env prod",
"tsc": "npx tsc",
"typecheck": "tsc --noEmit",
"vite": "npx vite",
"preview": "vite preview",
"lint": "eslint",
"lint:fix": "eslint --fix",
"format": "prettier --write . --ignore-path .prettierignore",
"fmt": "prettier . --write",
"cloc": "cloc src --exclude-dir=node_modules,dist --by-file-by-lang --not-match-f='(.*[.]d[.]ts|.*[.]stories[.].*|.*[.]test[.].*|.*[.]json)'",
"lines": "cloc src --exclude-dir=node_modules,dist --by-file-by-lang --not-match-f='(.*[.]d[.]ts|.*[.]stories[.].*|.*[.]test[.].*|.*[.]json)'",
"test": "vitest run",
"test:e2e": "playwright test",
"test:tours": "node scripts/walk-tours.mjs",
"marketing:shots": "node scripts/gen-marketing-shots.mjs",
"test:e2e:smoke": "playwright test --grep @smoke",
"test:unit": "vitest run",
"test:ui": "playwright test --ui",
"test:headed": "playwright test --headed",
"analyze-bundle": "VITE_ANALYZE_BUNDLE=true vite build"
},
"dependencies": {
"@fontsource/fraunces": "^5.2.9",
"@fontsource/inter": "^5.2.8",
"@fontsource/jetbrains-mono": "^5.2.8",
"@types/d3": "^7.4.3",
"chart.js": "^4.5.1",
"clsx": "^2.1.1",
"d3": "^7.9.0",
"d3-sankey": "^0.12.3",
"idb": "^8.0.3",
"jspdf": "^4.2.1",
"solid-js": "^1.9.12",
"xlsx": "file:../vendor/xlsx-0.20.3.tgz",
"zod": "^4.4.3"
},
"devDependencies": {
"@eslint/js": "9.39.4",
"@playwright/test": "^1.59.1",
"@squoosh/lib": "^0.3.1",
"@types/d3-sankey": "^0.12.5",
"@types/node": "^22.10.5",
"@typescript-eslint/eslint-plugin": "8.58.2",
"@typescript-eslint/parser": "8.58.2",
"@vitest/coverage-v8": "^4.1.5",
"cloc": "^2.6.0-cloc",
"eslint": "9.39.4",
"eslint-plugin-import-x": "4.16.2",
"eslint-plugin-security": "^4.0.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-solid": "^0.14.5",
"eslint-plugin-sonarjs": "^4.1.0",
"fake-indexeddb": "^6.2.5",
"jsdom": "^28.1.0",
"playwright": "^1.59.1",
"prettier": "3.8.3",
"prettier-plugin-one-line-imports": "1.0.3",
"solid-devtools": "^0.34.5",
"typescript": "^5.7.2",
"typescript-eslint": "8.58.2",
"typescript-plugin-css-modules": "^5.2.0",
"vite": "^8.0.9",
"vite-bundle-analyzer": "^1.3.6",
"vite-plugin-pwa": "^1.2.0",
"vite-plugin-solid": "^2.11.12",
"vitest": "^4.0.18"
}
}