Sfoglia il codice sorgente

fix(plugins): publish shared subprocess installation chunks

Yichen Jiang 2 settimane fa
parent
commit
eca54e94a7

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

@@ -38,9 +38,10 @@
     "lib/runner.js",
     "lib/runner-*.js",
     "lib/output.js",
+    "lib/spawn.js",
+    "lib/spawn-*.js",
     "scripts/ensure-spawn-helper.mjs",
-    "lib/types/**/*.d.ts",
-    "lib/spawn.js"
+    "lib/types/**/*.d.ts"
   ],
   "scripts": {
     "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/output.js',
+    'lib/spawn.js',
+    'lib/spawn-*.js',
     'scripts/ensure-spawn-helper.mjs',
   ],
   // tsdown shares the repository/pack code between the lib entry and the bin