Files
zeekayandHanzo Dev 6eeabd0ac7 fix(build): green the framework — one waku, one postcss form, no dev-preview tsc
`@hanzo/docs-preview` was the one package that would not build:
`waku` was declared twice with contradictory pins — `1.0.0-alpha.6` in
`dependencies`, `1.0.0-beta.1` in `devDependencies`. dependencies won, so
the build ran on alpha.6, which pulls vite 7; `resolve.tsconfigPaths` is a
vite 8 feature, so every `@/*` import silently failed to resolve:

    [vite]: Rollup failed to resolve import "@/lib/source"
            from src/pages/_api/api/search.ts

One declaration, in `dependencies`, at the newer pin. waku beta.1 brings
vite 8, tsconfigPaths resolves, the package builds.

`apps/dns-docs/postcss.config.mjs` was the only app still on the Tailwind v3
plugin form (`tailwindcss` + an undeclared `autoprefixer`) while its CSS is
v4 (`@import 'tailwindcss'`). It now matches the other twenty apps.

`@typescript/native-preview` is gone: 7.0.0-dev is *behind* typescript 7
stable, and nothing in the repo invoked tsgo.

Dead deps dropped after verifying zero references: `tailwindcss-animate`
(a Tailwind v3 plugin, in three v4 apps), stray `tailwind-merge`,
`class-variance-authority` in preview.

turbo run build --filter='./packages/*' --continue
  Tasks: 30 successful, 30 total   (was 29/30)

(cherry picked from commit 773ee151c239bc5f22b148c34a6adb854410be31)

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-04 18:39:19 -07:00

104 lines
2.6 KiB
JSON

{
"name": "@hanzo/docs-preview",
"version": "0.1.3",
"description": "Opinionated Hanzo Docs for fast content preview",
"keywords": [
"Docs",
"Hanzo Docs"
],
"homepage": "https://docs.hanzo.ai",
"license": "MIT",
"author": "Hanzo Nama",
"repository": "github:hanzoai/docs",
"bin": {
"@hanzo/docs-press": "./dist/lib/cli/index.mjs"
},
"files": [
"dist"
],
"type": "module",
"sideEffects": false,
"exports": {
"./config": "./dist/lib/config/index.mjs"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "tsdown --watch",
"build": "waku build && tsdown",
"dev:app": "waku dev",
"build:app": "waku build",
"start:app": "waku start",
"types:check": "tsc --noEmit"
},
"dependencies": {
"commander": "^14.0.3",
"dotenv": "^17.3.1",
"flexsearch": "^0.8.212",
"@hanzo/docs-core": "workspace:*",
"@hanzo/docs-ui": "workspace:*",
"remark-gfm": "^4.0.1",
"tinyglobby": "^0.2.15",
"unist-util-visit": "^5.1.0",
"unrun": "^0.2.32",
"waku": "1.0.0-beta.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@ai-sdk/react": "^3.0.193",
"@hanzo/docs-vite": "workspace:*",
"@hono/node-server": "^2.0.4",
"@hono/node-ws": "^1.3.1",
"@openrouter/ai-sdk-provider": "^2.9.0",
"@radix-ui/react-presence": "^1.1.5",
"@tailwindcss/vite": "^4.3.0",
"@takumi-rs/image-response": "^1.6.0",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
"@types/mdx": "^2.0.13",
"@types/node": "^25.9.1",
"@types/picomatch": "^4.0.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@types/unist": "^3.0.3",
"ai": "^6.0.191",
"beautiful-mermaid": "^1.1.3",
"chokidar": "^5.0.0",
"flexsearch": "^0.8.212",
"@hanzo/docs-core": "workspace:*",
"@hanzo/docs-ui": "workspace:*",
"hast-util-to-jsx-runtime": "^2.3.6",
"hono": "^4.12.23",
"ignore": "^7.0.5",
"katex": "0.17.0",
"lucide-react": "^1.17.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-server-dom-webpack": "^19.2.6",
"rehype-katex": "^7.0.1",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"remark-rehype": "^11.1.2",
"tailwind-merge": "^3.6.0",
"tailwindcss": "^4.3.0",
"tinyglobby": "^0.2.16",
"tsdown": "0.22.0",
"typescript": "^6.0.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.1.0",
"vfile": "^6.0.3",
"vite": "^8.0.14",
"vitefu": "^1.1.3"
},
"peerDependencies": {
"@hanzo/docs-ui": "*"
},
"peerDependenciesMeta": {
"@hanzo/docs-ui": {
"optional": true
}
}
}