- @hanzo/gui + whole @hanzogui/* graph 7.3.0 -> 8.0.0, @hanzo/ui -> 8.0.38, @hanzo/design -> 0.3.3; [email protected].5 declared directly ([email protected] imports it but no longer declares the peer). - Icons from the package root, not /icons/* subpaths: 8.0.0's per-icon exports entries carry no types condition, so subpaths typecheck as any. Root export is typed and sideEffects:false tree-shakes — JS bundle 647 kB -> 531 kB. - gui base sheet as a REAL cacheable stylesheet: scripts/gen-gui-css.mjs (first step of pnpm build) writes config.getCSS() to src/gui.css, main.tsx imports it, GuiProvider renders disableInjectCSS. ~43 kB gzip, fingerprinted. - TypeScript 7.0.2 for tsc; .pnpmfile.cjs gives @typescript-eslint/* their own [email protected] (side-by-side per typescript-eslint#10940) so lint runs. - next-theme shim STAYS: 8.0.38 lazily code-splits ThemeToggleNext, but Rollup still follows the dynamic import and the optional peer breaks the build (measured). SiteNav still authors $sm as phone, so the sm override stays too. - Measured: typecheck 0, lint 0, build 0, polyglot bash -n OK + --help prints usage, page verified at 1280px and 390px. Co-authored-by: Hanzo Dev <[email protected]>
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "hanzo-sh",
|
|
"private": true,
|
|
"version": "1.0.2",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "node scripts/gen-gui-css.mjs && vite build && node scripts/build-polyglot.js",
|
|
"build:dev": "vite build --mode development",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit -p tsconfig.app.json",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/data": "^1.2.2",
|
|
"@hanzo/design": "^0.3.3",
|
|
"@hanzo/gui": "8.0.0",
|
|
"@hanzo/products": "^0.2.0",
|
|
"@hanzo/ui": "^8.0.38",
|
|
"@hanzogui/config": "8.0.0",
|
|
"@hanzogui/lucide-icons-2": "8.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-native-svg": "15.15.5",
|
|
"react-native-web": "^0.21.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.9.0",
|
|
"@hanzogui/core": "8.0.0",
|
|
"@hanzogui/web": "8.0.0",
|
|
"@types/node": "^22.5.5",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
"esbuild": "0.21.5",
|
|
"eslint": "^9.9.0",
|
|
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
"eslint-plugin-react-refresh": "^0.4.9",
|
|
"globals": "^15.9.0",
|
|
"typescript": "^7.0.2",
|
|
"typescript-eslint": "^8.0.1",
|
|
"vite": "^5.4.1"
|
|
}
|
|
}
|