TypeScript builds a synthetic signature for every JSX intrinsic element and computes a module specifier for @types/react (index and jsx-runtime) per importing file. computeModuleSpecifiers visits every symlinked location of that file and scans all 491 tsconfig paths for each; pnpm gave 65 packages their own node_modules/@types/react link. Client test-aggregate Check followed 26.9 + 0.494 * N seconds for N locations. - Remove @types/react and @types/react-dom from all 67 workspace manifests and declare them once in the root devDependencies; packages keep declaring the react and react-dom they import (ui-slots gains react). - verify-package-dependencies rejects either package in any workspace manifest and requires the root declaration, so a new package cannot add the link back. - packages/client/AGENTS.md states the rule. Client aggregate Check 59.1 s -> 26.5 s; the 76 client-only package projects 54-57 s -> ~44 s wall. File set (2,613) and diagnostics unchanged. Refs #5852
62 lines
1.8 KiB
JSON
62 lines
1.8 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-client-ui-primitives",
|
|
"description": "Pure React atoms for the dsh web UI: controls, icons, markdown, and JSON inspectors (zero cordis)",
|
|
"version": "0.2.1-alpha.2",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "packages/client/ui-primitives"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./src/*": "./src/*",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@deepseek-ai/dsh-client-store": "workspace:*",
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/dsh-util-code-language": "workspace:*",
|
|
"react": "^18.2.0",
|
|
"clsx": "^2.0.0",
|
|
"diff": "^9.0.0",
|
|
"react-dom": "^18.2.0",
|
|
"anser": "^2.3.5",
|
|
"katex": "^0.18.7",
|
|
"micromark-core-commonmark": "^2.0.3",
|
|
"micromark-util-character": "^2.1.1",
|
|
"micromark-util-classify-character": "^2.0.1",
|
|
"micromark-util-symbol": "^2.0.1",
|
|
"micromark-util-types": "^2.0.2",
|
|
"shiki": "^4.4.3",
|
|
"@deepseek-ai/dsh-util-workspace-path": "workspace:*",
|
|
"@shikijs/langs": "^4.4.3",
|
|
"@types/mdast": "^4.0.4",
|
|
"micromark-factory-space": "^2.0.1",
|
|
"micromark-extension-math": "^3.1.0",
|
|
"mdast-util-from-markdown": "^2.0.3",
|
|
"mdast-util-gfm": "^3.1.0",
|
|
"mdast-util-math": "^3.0.0",
|
|
"micromark-extension-gfm": "^3.0.0",
|
|
"micromark-util-sanitize-uri": "^2.0.1",
|
|
"simple-icons": "16.31.0"
|
|
},
|
|
"files": [
|
|
"lib/index.js",
|
|
"lib/**/*.css",
|
|
"lib/types/**/*.d.ts"
|
|
],
|
|
"peerDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~"
|
|
}
|
|
}
|