فهرست منبع

fix(plugins): publish shared subprocess installation chunks

Yichen Jiang 4 هفته پیش
والد
کامیت
eca54e94a7
2فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 3 2
      packages/subprocess/subprocess-local/package.json
  2. 2 0
      scripts/check-workspace-constraints.ts

+ 3 - 2
packages/subprocess/subprocess-local/package.json

@@ -38,9 +38,10 @@
     "lib/runner.js",
     "lib/runner.js",
     "lib/runner-*.js",
     "lib/runner-*.js",
     "lib/output.js",
     "lib/output.js",
+    "lib/spawn.js",
+    "lib/spawn-*.js",
     "scripts/ensure-spawn-helper.mjs",
     "scripts/ensure-spawn-helper.mjs",
-    "lib/types/**/*.d.ts",
-    "lib/spawn.js"
+    "lib/types/**/*.d.ts"
   ],
   ],
   "scripts": {
   "scripts": {
     "postinstall": "node scripts/ensure-spawn-helper.mjs"
     "postinstall": "node scripts/ensure-spawn-helper.mjs"

+ 2 - 0
scripts/check-workspace-constraints.ts

@@ -189,6 +189,8 @@ const packageFileExtras: Readonly<Record<string, readonly string[]>> = {
     'lib/runner.js',
     'lib/runner.js',
     'lib/runner-*.js',
     'lib/runner-*.js',
     'lib/output.js',
     'lib/output.js',
+    'lib/spawn.js',
+    'lib/spawn-*.js',
     'scripts/ensure-spawn-helper.mjs',
     'scripts/ensure-spawn-helper.mjs',
   ],
   ],
   // tsdown shares the repository/pack code between the lib entry and the bin
   // tsdown shares the repository/pack code between the lib entry and the bin