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
85 lines
2.6 KiB
JSON
85 lines
2.6 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-session-log-export",
|
|
"description": "Web Session-log export command and shared download dialog",
|
|
"version": "0.2.1-alpha.2",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "packages/session-query/session-log-export"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./client": {
|
|
"types": "./lib/types/client/index.d.ts",
|
|
"default": "./lib/client.js"
|
|
},
|
|
"./src/*": "./src/*",
|
|
"./package.json": "./package.json",
|
|
"./locale/*.json": "./locale/*.json"
|
|
},
|
|
"files": [
|
|
"locale/*.json",
|
|
"lib/index.js",
|
|
"lib/client.js",
|
|
"lib/types/**/*.d.ts"
|
|
],
|
|
"scripts": {
|
|
"bundle": "tsdown",
|
|
"watch": "tsdown --watch"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@deepseek-ai/dsh-session-format": "workspace:*",
|
|
"@deepseek-ai/schemastery": "workspace:~",
|
|
"fflate": "^0.8.2",
|
|
"@deepseek-ai/dsh-brand": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/dsh-session": "workspace:*",
|
|
"@deepseek-ai/dsh-session-persistence": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/cordis-plugin-loader": "workspace:~",
|
|
"@deepseek-ai/dsh-agent": "workspace:*",
|
|
"@deepseek-ai/dsh-attachment": "workspace:*",
|
|
"@deepseek-ai/dsh-client-connection": "workspace:*",
|
|
"@deepseek-ai/dsh-client-locale": "workspace:*",
|
|
"@deepseek-ai/dsh-client-store": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-commands": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-conversation": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-message-feedback": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-renderer": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-session": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:*",
|
|
"@deepseek-ai/dsh-commands": "workspace:*",
|
|
"@deepseek-ai/dsh-session": "workspace:*",
|
|
"@deepseek-ai/dsh-session-persistence": "workspace:*",
|
|
"@deepseek-ai/dsh-session-query": "workspace:*",
|
|
"react": "^18.2.0"
|
|
},
|
|
"dsh": {
|
|
"client": {
|
|
"inject": [
|
|
"@deepseek-ai/dsh-client-locale",
|
|
"@deepseek-ai/dsh-client-ui-commands",
|
|
"@deepseek-ai/dsh-client-ui-conversation",
|
|
"@deepseek-ai/dsh-client-ui-renderer",
|
|
"@deepseek-ai/dsh-client-ui-session"
|
|
],
|
|
"platform": "web"
|
|
}
|
|
}
|
|
}
|