Files
docs/packages/core/package.json
zooqueenandHanzo Dev ed3285d93d deps: one set of versions, and a transpile list that actually applies
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]>
2026-07-31 17:41:08 -07:00

247 lines
8.5 KiB
JSON

{
"name": "@hanzo/docs-core",
"version": "16.9.3",
"description": "The React.js library for building a documentation website",
"keywords": [
"Docs",
"Hanzo Docs"
],
"homepage": "https://docs.hanzo.ai",
"license": "MIT",
"author": "Hanzo Nama",
"repository": "github:hanzoai/docs",
"files": [
"dist"
],
"type": "module",
"exports": {
"./breadcrumb": "./dist/breadcrumb.js",
"./content/github": "./dist/content/github.js",
"./content/md": "./dist/content/md.js",
"./content/md/frontmatter": "./dist/content/md/frontmatter.js",
"./content/mdx/preset-bundler": "./dist/content/mdx/preset-bundler.js",
"./content/mdx/preset-runtime": "./dist/content/mdx/preset-runtime.js",
"./content/toc": "./dist/content/toc.js",
"./dynamic-link": "./dist/dynamic-link.js",
"./framework": "./dist/framework/index.js",
"./framework/next": "./dist/framework/next.js",
"./framework/react-router": "./dist/framework/react-router.js",
"./framework/tanstack": "./dist/framework/tanstack.js",
"./framework/waku": "./dist/framework/waku.js",
"./highlight": "./dist/highlight/index.js",
"./highlight/client": "./dist/highlight/client.js",
"./highlight/shiki": "./dist/highlight/shiki/index.js",
"./highlight/shiki/full": "./dist/highlight/shiki/full.js",
"./highlight/shiki/react": "./dist/highlight/shiki/react.js",
"./i18n": "./dist/i18n/index.js",
"./i18n/middleware": "./dist/i18n/middleware.js",
"./link": "./dist/link.js",
"./mdx-plugins": "./dist/mdx-plugins/index.js",
"./mdx-plugins/codeblock-utils": "./dist/mdx-plugins/codeblock-utils.js",
"./mdx-plugins/rehype-code": "./dist/mdx-plugins/rehype-code.js",
"./mdx-plugins/rehype-code.core": "./dist/mdx-plugins/rehype-code.core.js",
"./mdx-plugins/rehype-toc": "./dist/mdx-plugins/rehype-toc.js",
"./mdx-plugins/remark-admonition": "./dist/mdx-plugins/remark-admonition.js",
"./mdx-plugins/remark-block-id": "./dist/mdx-plugins/remark-block-id.js",
"./mdx-plugins/remark-code-tab": "./dist/mdx-plugins/remark-code-tab.js",
"./mdx-plugins/remark-directive-admonition": "./dist/mdx-plugins/remark-directive-admonition.js",
"./mdx-plugins/remark-feedback-block": "./dist/mdx-plugins/remark-feedback-block.js",
"./mdx-plugins/remark-gfm": "./dist/mdx-plugins/remark-gfm.js",
"./mdx-plugins/remark-heading": "./dist/mdx-plugins/remark-heading.js",
"./mdx-plugins/remark-image": "./dist/mdx-plugins/remark-image.js",
"./mdx-plugins/remark-llms": "./dist/mdx-plugins/remark-llms.js",
"./mdx-plugins/remark-llms.runtime": "./dist/mdx-plugins/remark-llms.runtime.js",
"./mdx-plugins/remark-mdx-files": "./dist/mdx-plugins/remark-mdx-files.js",
"./mdx-plugins/remark-mdx-mermaid": "./dist/mdx-plugins/remark-mdx-mermaid.js",
"./mdx-plugins/remark-npm": "./dist/mdx-plugins/remark-npm.js",
"./mdx-plugins/remark-steps": "./dist/mdx-plugins/remark-steps.js",
"./mdx-plugins/remark-structure": "./dist/mdx-plugins/remark-structure.js",
"./mdx-plugins/stringifier": "./dist/mdx-plugins/stringifier.js",
"./mdx-plugins/transformer-icon": "./dist/mdx-plugins/transformer-icon.js",
"./negotiation": "./dist/negotiation/index.js",
"./page-tree": "./dist/page-tree/index.js",
"./search": "./dist/search/index.js",
"./search/algolia": "./dist/search/algolia.js",
"./search/client": "./dist/search/client.js",
"./search/client/algolia": "./dist/search/client/algolia.js",
"./search/client/fetch": "./dist/search/client/fetch.js",
"./search/client/flexsearch-static": "./dist/search/client/flexsearch-static.js",
"./search/client/hanzo": "./dist/search/client/hanzo.js",
"./search/client/mixedbread": "./dist/search/client/mixedbread.js",
"./search/client/orama-cloud": "./dist/search/client/orama-cloud.js",
"./search/client/orama-cloud-legacy": "./dist/search/client/orama-cloud-legacy.js",
"./search/client/orama-static": "./dist/search/client/orama-static.js",
"./search/flexsearch": "./dist/search/flexsearch.js",
"./search/hanzo": "./dist/search/hanzo.js",
"./search/mixedbread": "./dist/search/mixedbread.js",
"./search/orama-cloud": "./dist/search/orama-cloud.js",
"./search/orama-cloud-legacy": "./dist/search/orama-cloud-legacy.js",
"./search/server": "./dist/search/server.js",
"./source": "./dist/source/index.js",
"./source/client": "./dist/source/client/index.js",
"./source/dynamic": "./dist/source/dynamic.js",
"./source/llms": "./dist/source/llms.js",
"./source/plugins/lucide-icons": "./dist/source/plugins/lucide-icons.js",
"./source/plugins/slugs": "./dist/source/plugins/slugs.js",
"./source/plugins/status-badges": "./dist/source/plugins/status-badges.js",
"./source/schema": "./dist/source/schema.js",
"./toc": "./dist/toc.js",
"./utils/use-media-query": "./dist/utils/use-media-query.js",
"./utils/use-on-change": "./dist/utils/use-on-change.js",
"./package.json": "./package.json",
"./source/*": {
"types": "./dist/source/plugins/*.d.ts",
"import": "./dist/source/plugins/*.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"clean": "rimraf dist",
"dev": "tsdown --watch --clean false",
"lint": "oxlint .",
"types:check": "tsc --noEmit"
},
"dependencies": {
"@orama/orama": "^3.1.18",
"estree-util-value-to-estree": "^3.5.0",
"github-slugger": "^2.0.0",
"hast-util-to-estree": "^3.1.3",
"hast-util-to-jsx-runtime": "^2.3.6",
"js-yaml": "^4.1.1",
"mdast-util-mdx": "^3.0.0",
"mdast-util-to-markdown": "^2.1.2",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2",
"scroll-into-view-if-needed": "^3.1.0",
"shiki": "^4.1.0",
"tinyglobby": "^0.2.16",
"unified": "^11.0.5",
"unist-util-visit": "^5.1.0",
"vfile": "^6.0.3"
},
"devDependencies": {
"@formatjs/intl-localematcher": "^0.8.9",
"@mdx-js/mdx": "^3.1.1",
"@mixedbread/sdk": "0.72.0",
"@orama/core": "^1.2.19",
"@oramacloud/client": "^2.1.4",
"@shikijs/transformers": "^4.1.0",
"@tanstack/react-router": "1.170.8",
"@types/estree-jsx": "^1.0.5",
"@types/hast": "^3.0.4",
"@types/js-yaml": "^4.0.9",
"@types/mdast": "^4.0.4",
"@types/negotiator": "^0.6.4",
"@types/node": "25.9.1",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"algoliasearch": "5.52.1",
"flexsearch": "^0.8.212",
"image-size": "^2.0.2",
"lucide-react": "^1.17.0",
"negotiator": "^1.0.0",
"next": "16.2.12",
"npm-to-yarn": "^3.0.1",
"path-to-regexp": "^8.4.2",
"react-router": "7.15.1",
"remark-directive": "^4.0.0",
"remark-mdx": "^3.1.1",
"remove-markdown": "^0.6.4",
"tsconfig": "workspace:*",
"tsdown": "0.22.0",
"typescript": "^6.0.3",
"waku": "1.0.0-beta.1",
"zod": "4.4.3"
},
"peerDependencies": {
"@mdx-js/mdx": "*",
"@mixedbread/sdk": "0.x.x",
"@orama/core": "1.x.x",
"@oramacloud/client": "2.x.x",
"@tanstack/react-router": "1.x.x",
"@types/estree-jsx": "*",
"@types/hast": "*",
"@types/mdast": "*",
"@types/react": "*",
"algoliasearch": "5.x.x",
"flexsearch": "*",
"lucide-react": "*",
"next": "16.x.x",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-router": "7.x.x",
"waku": "*",
"zod": "4.x.x"
},
"peerDependenciesMeta": {
"flexsearch": {
"optional": true
},
"@mdx-js/mdx": {
"optional": true
},
"@types/estree-jsx": {
"optional": true
},
"@types/hast": {
"optional": true
},
"@types/mdast": {
"optional": true
},
"@mixedbread/sdk": {
"optional": true
},
"@types/react": {
"optional": true
},
"@orama/core": {
"optional": true
},
"@oramacloud/client": {
"optional": true
},
"algoliasearch": {
"optional": true
},
"next": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"react-router": {
"optional": true
},
"waku": {
"optional": true
},
"@tanstack/react-router": {
"optional": true
},
"lucide-react": {
"optional": true
},
"zod": {
"optional": true
}
},
"inlinedDependencies": {
"@formatjs/fast-memoize": "3.1.5",
"@formatjs/intl-localematcher": "0.8.9",
"@shikijs/transformers": "4.1.0",
"image-size": "2.0.2",
"negotiator": "1.0.0",
"npm-to-yarn": "3.0.1",
"path-to-regexp": "8.4.2",
"remove-markdown": "0.6.4"
}
}