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"
},
"files": [
"lib/bin.js",
"lib/*.js",
"config",
"src"
],

View File

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

View File

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