mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-27 09:19:53 +00:00
Three things the workspace disagreed with itself about. Versions. apps/docs ran ahead on next 16.2.6 / react 19.2.6 / TS 6, the other 21 apps trailed on next 16.1.6 / react 19.2.3 / TS 5.9.3, and the packages sat somewhere between with five different @types/react pins. Everything is now on the newest patch of the line it was already on — react 19.2.8, next 16.2.12, @types/react 19.2.18, @types/react-dom 19.2.4 — and the TS-5 stragglers join the TS 6.0.3 the root and every package already used. No majors were invented: 6.0.3 IS the top of the 6.x line, and TS 7 is blocked because [email protected] declares `typescript: ^5.5.0 || ^6.0.0`. The duplicate key. next.config.mts declared `transpilePackages` twice in one object literal, so the later list won and @hanzogui/shell and @hanzo/brand had never been transpiled — the comment explaining why they must be outlived the setting it described. tsc had been reporting this the whole time as next.config.mts(193,3) TS1117; the app's `types:check` never reaches tsc (its script starts with a bare `@hanzo/docs-mdx`, which is not the bin's name and fails immediately), so nobody saw it. One list now, both groups in it. Dead weight. Twelve packages apps/docs declared and no file, config, script or browserslist field referenced: @radix-ui/react-dialog, @floating-ui/react-dom, @mixedbread/sdk, @orama/orama, openapi-sampler, react-remove-scroll, algoliasearch, gray-matter, tinyexec, tinyglobby, @types/three (types for a package that isn't installed) and shadcn (no components.json exists anywhere in the repo, so the CLI was never initialized). The ones that are real dependencies of packages/openapi, packages/core and packages/cli keep their own copies — pnpm's node_modules is isolated, so nothing lost a resolution. @orama/core stays: apps/docs/app/static.json/route.ts pulls OramaDocument through @hanzo/docs-core/search/orama-cloud, which types against it. Verified against a clean worktree at HEAD, since the working tree carries gigabytes of untracked synced project docs that CI never checks out: turbo build, apps + packages 43/52 before, 43/52 after, same 9 failures docs export 1764 html pages, byte-identical page count deploy.yml gate index/docs/services present, /docs has nav tsc --noEmit in apps/docs 325 errors before, 324 after (the TS1117) vitest 169 passed / 13 failed, both sides The 9 build failures and 13 test failures are unchanged from HEAD and none are version-related: 7 sibling apps cannot resolve @hanzo/mdx:collections/server under `next build --webpack`, zen-docs has a committed docs/server.ts importing a deleted zen5-coder-flash.mdx, and packages/preview cannot resolve its own @/lib/source alias under waku/vite. Co-authored-by: Hanzo Dev <[email protected]>
132 lines
3.3 KiB
JSON
132 lines
3.3 KiB
JSON
{
|
|
"name": "@hanzo/docs-mdx",
|
|
"version": "15.0.10",
|
|
"description": "The built-in source for Hanzo Docs",
|
|
"keywords": [
|
|
"Docs",
|
|
"NextJs"
|
|
],
|
|
"homepage": "https://docs.hanzo.ai",
|
|
"license": "MIT",
|
|
"author": "Hanzo Nama",
|
|
"repository": "github:hanzoai/docs",
|
|
"bin": {
|
|
"@hanzo/docs-mdx": "./bin.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin.js"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./bin": "./dist/bin.js",
|
|
"./bun": "./dist/bun/index.js",
|
|
"./config": "./dist/config/index.js",
|
|
"./next": "./dist/next/index.js",
|
|
"./node": "./dist/node/index.js",
|
|
"./node/_loader": "./dist/node/_loader.js",
|
|
"./node/loader": "./dist/node/loader.js",
|
|
"./plugins/index-file": "./dist/plugins/index-file.js",
|
|
"./plugins/json-schema": "./dist/plugins/json-schema.js",
|
|
"./plugins/last-modified": "./dist/plugins/last-modified.js",
|
|
"./rolldown": "./dist/rolldown/index.js",
|
|
"./runtime/browser": "./dist/runtime/browser.js",
|
|
"./runtime/dynamic": "./dist/runtime/dynamic.js",
|
|
"./runtime/server": "./dist/runtime/server.js",
|
|
"./runtime/types": "./dist/runtime/types.js",
|
|
"./vite": "./dist/vite/index.js",
|
|
"./webpack/mdx": "./dist/webpack/mdx.js",
|
|
"./webpack/meta": "./dist/webpack/meta.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"clean": "rimraf dist",
|
|
"dev": "tsdown --watch",
|
|
"lint": "oxlint .",
|
|
"types:check": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@mdx-js/mdx": "^3.1.1",
|
|
"@standard-schema/spec": "^1.1.0",
|
|
"chokidar": "^5.0.0",
|
|
"esbuild": "^0.28.0",
|
|
"estree-util-value-to-estree": "^3.5.0",
|
|
"js-yaml": "^4.1.1",
|
|
"mdast-util-mdx": "^3.0.0",
|
|
"picocolors": "^1.1.1",
|
|
"rehype-raw": "^7.0.0",
|
|
"picomatch": "^4.0.4",
|
|
"tinyexec": "^1.2.2",
|
|
"tinyglobby": "^0.2.16",
|
|
"unified": "^11.0.5",
|
|
"unist-util-remove-position": "^5.0.0",
|
|
"unist-util-visit": "^5.1.0",
|
|
"vfile": "^6.0.3",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@hanzo/docs-vite": "workspace:*",
|
|
"@types/bun": "^1.3.14",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@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",
|
|
"@hanzo/docs-core": "workspace:*",
|
|
"mdast-util-directive": "^3.1.0",
|
|
"next": "16.2.12",
|
|
"react": "^19.2.8",
|
|
"remark": "^15.0.1",
|
|
"remark-directive": "^4.0.0",
|
|
"remark-mdx": "^3.1.1",
|
|
"rolldown": "^1.0.3",
|
|
"tsconfig": "workspace:*",
|
|
"tsdown": "0.22.0",
|
|
"vite": "^8.0.14",
|
|
"webpack": "^5.107.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/mdast": "*",
|
|
"@types/mdx": "*",
|
|
"@types/react": "*",
|
|
"@hanzo/docs-core": "^16.7.0",
|
|
"mdast-util-directive": "*",
|
|
"next": "^15.3.0 || ^16.0.0",
|
|
"react": "^19.2.0",
|
|
"rolldown": "*",
|
|
"vite": "7.x.x || 8.x.x"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"rolldown": {
|
|
"optional": true
|
|
},
|
|
"mdast-util-directive": {
|
|
"optional": true
|
|
},
|
|
"@types/mdast": {
|
|
"optional": true
|
|
},
|
|
"@types/mdx": {
|
|
"optional": true
|
|
},
|
|
"react": {
|
|
"optional": true
|
|
},
|
|
"@types/react": {
|
|
"optional": true
|
|
},
|
|
"next": {
|
|
"optional": true
|
|
},
|
|
"vite": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|