mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-24 20:09:02 +00:00
`changeset publish` shells out to `npm publish`, which does NOT rewrite the workspace protocol. `pnpm publish` does. So every package here that depends on a sibling shipped its `workspace:*` specifier verbatim, and no consumer outside this monorepo can install it: ERR_PNPM_WORKSPACE_PKG_NOT_FOUND "@hanzo/docs-core@workspace:*" is in the dependencies but no package named "@hanzo/docs-core" is present in the workspace @hanzo/[email protected] ships all 12 of its sibling deps that way. Also affected at their current latest: docs-base-ui, docs-ui, docs-openapi, docs-create-app, docs-story. The defect is invisible in CI and inside the monorepo — only an external consumer ever sees it, which is why it went unnoticed. `changeset tag` is kept so releases still get their git tags; only the publish step moves. `bumpVersionsWithWorkspaceProtocolOnly` in .changeset/config.json governs version BUMPING, not publish-time rewriting — it does not protect against this. Co-authored-by: Hanzo Dev <[email protected]>
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"name": "hanzo-docs",
|
|
"description": "Hanzo Docs — the documentation framework and hub for the Hanzo ecosystem (docs.hanzo.ai).",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"clean": "turbo run clean",
|
|
"dev": "turbo run dev",
|
|
"dev:examples": "turbo run dev --filter=./examples/*",
|
|
"lint": "turbo run lint",
|
|
"lint:format": "oxfmt --check",
|
|
"format": "oxfmt",
|
|
"release": "turbo run build --filter=./packages/* && pnpm -r publish --access public --no-git-checks && changeset tag",
|
|
"test": "vitest",
|
|
"types:check": "turbo run types:check --continue",
|
|
"version": "changeset version && node scripts/update-stackblitz-versions.mjs && pnpm install --lockfile-only"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.31.0",
|
|
"concurrently": "^10.0.0",
|
|
"oxfmt": "^0.52.0",
|
|
"oxlint": "^1.67.0",
|
|
"rimraf": "^6.1.3",
|
|
"turbo": "2.9.15",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.7"
|
|
},
|
|
"engines": {
|
|
"node": ">= 24.14.0"
|
|
},
|
|
"packageManager": "[email protected]"
|
|
}
|