Skip to content

Commit 6bff955

Browse files
committed
hoist modules
1 parent d1d6939 commit 6bff955

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

apps/array/forge.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,17 @@ const config: ForgeConfig = {
202202
copyNativeDependency("@parcel/watcher", buildPath);
203203
copyNativeDependency("@parcel/watcher-darwin-arm64", buildPath);
204204
copyNativeDependency("file-icon", buildPath);
205+
// Copy @parcel/watcher's hoisted dependencies
206+
copyNativeDependency("micromatch", buildPath);
207+
copyNativeDependency("is-glob", buildPath);
208+
copyNativeDependency("detect-libc", buildPath);
209+
// Copy transitive dependencies (full chain)
210+
copyNativeDependency("braces", buildPath);
211+
copyNativeDependency("picomatch", buildPath);
212+
copyNativeDependency("is-extglob", buildPath);
213+
copyNativeDependency("fill-range", buildPath);
214+
copyNativeDependency("to-regex-range", buildPath);
215+
copyNativeDependency("is-number", buildPath);
205216
},
206217
},
207218
publishers: [

apps/array/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@
121121
"chokidar": "^5.0.0",
122122
"cmdk": "^1.1.1",
123123
"date-fns": "^3.3.1",
124+
"detect-libc": "^1.0.3",
125+
"is-glob": "^4.0.3",
126+
"micromatch": "^4.0.5",
124127
"electron-log": "^5.4.3",
125128
"electron-store": "^11.0.0",
126129
"file-icon": "^6.0.0",

pnpm-lock.yaml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)