Files
zeekay ad95ed6ca2 State a dependency version once
A version written into a manifest is written into every manifest that wants
the package, and the copies drift. The catalog moves the number out of the
manifest: a manifest names the package, the workspace names the version.

Only names that already resolve to exactly one version move, so nothing
installs differently -- 1424 resolutions are unchanged. Three kinds stay
where they are: a name used at two specifiers, because the catalog would
pick a winner; a name an override already decides, because pnpm records the
overridden specifier; and a name whose one specifier resolved to two
versions, because one entry would unify them.
2026-09-08 23:21:56 -07:00

42 lines
2.1 KiB
JSON

{
"name": "@hanzo/storybook",
"scripts": {
"build:products": "pnpm --filter=@hanzo/frontend build:products",
"build": "pnpm build:products && DEBUG=0 NODE_OPTIONS=--max-old-space-size=8192 storybook build -o dist",
"start": "pnpm build:products && DEBUG=0 NODE_OPTIONS=--max-old-space-size=8192 storybook dev -p 6006 --no-open",
"test:visual:ci:update": "test-storybook -u --junit --no-index-json --maxWorkers=2",
"test:visual:ci:verify": "test-storybook --ci --junit --no-index-json --maxWorkers=2",
"test:visual:debug": "pnpm build:products && PWDEBUG=1 NODE_OPTIONS=--max-old-space-size=16384 test-storybook --browsers chromium webkit --no-index-json",
"test:visual:update": "pnpm build:products && cd ../.. && rm -rf frontend/__snapshots__/__failures__/ && docker compose -f docker-compose.playwright.yml run --rm -it --build playwright pnpm test:visual:update:docker --url http://host.docker.internal:6006",
"test:visual:update:docker": "pnpm build:products && NODE_OPTIONS=--max-old-space-size=16384 test-storybook -u --browsers chromium webkit --no-index-json"
},
"dependencies": {
"@babel/runtime": "catalog:",
"@jest/globals": "catalog:",
"@jest/test-sequencer": "catalog:",
"@hanzo/frontend": "workspace:*",
"@storybook/addon-a11y": "catalog:",
"@storybook/addon-docs": "catalog:",
"@storybook/addon-links": "catalog:",
"@storybook/csf": "catalog:",
"@storybook/react": "catalog:",
"@storybook/react-vite": "catalog:",
"@storybook/test-runner": "catalog:",
"@tailwindcss/vite": "4.3.0",
"@types/jest-image-snapshot": "^6.4.0",
"buffer": "catalog:",
"history": "catalog:",
"jest-image-snapshot": "^6.4.0",
"mockdate": "catalog:",
"sass": "catalog:",
"storybook": "catalog:",
"storybook-addon-pseudo-states": "catalog:",
"vite": "catalog:"
},
"devDependencies": {
"@playwright/test": "catalog:",
"http-server": "catalog:",
"wait-on": "catalog:"
}
}