fix: dsh exports

fix: pty-local postinstall
This commit is contained in:
imccyu
2026-08-03 23:04:56 +08:00
parent 1dffc3cb86
commit b7c0e4ea08
4 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@
"dsh": "lib/bin.js" "dsh": "lib/bin.js"
}, },
"files": [ "files": [
"lib/bin.js", "lib/*.js",
"config", "config",
"src" "src"
], ],

View File

@@ -21,12 +21,11 @@
"files": [ "files": [
"lib/index.js", "lib/index.js",
"lib/invariant.js", "lib/invariant.js",
"lib/types/**/*.d.ts", "scripts/ensure-spawn-helper.mjs",
"lib/types/**/*.d.ts.map", "lib/types/**/*.d.ts"
"src"
], ],
"scripts": { "scripts": {
"postinstall": "node src/ensure-spawn-helper.mjs" "postinstall": "node scripts/ensure-spawn-helper.mjs"
}, },
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"peerDependencies": { "peerDependencies": {

View File

@@ -97,6 +97,7 @@ function workspaceManifests(): WorkspaceManifest[] {
const packageFileExtras: Readonly<Record<string, readonly string[]>> = { const packageFileExtras: Readonly<Record<string, readonly string[]>> = {
'@deepseek-ai/dsh-helper': ['lib/assets'], '@deepseek-ai/dsh-helper': ['lib/assets'],
'@deepseek-ai/dsh-pty-local': ['scripts/ensure-spawn-helper.mjs'],
'@deepseek-ai/dsh-scripts': [ '@deepseek-ai/dsh-scripts': [
'lib/dev/tsdown-config.js', 'lib/dev/tsdown-config.js',
'lib/local-plugin-loader-hooks.js', 'lib/local-plugin-loader-hooks.js',