Skip to content

Commit 98e33a8

Browse files
committed
fix(mpp-ui): make node repl modules portable
1 parent 069b927 commit 98e33a8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

mpp-ui/node-repl.modules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"node-fetch": "2.7.0",
1212
"node-gyp-build": "4.8.4",
1313
"node-readable-to-web-readable-stream": "0.4.2",
14-
"objc-js": "1.5.0",
1514
"opencollective-postinstall": "2.0.3",
1615
"pdfjs-dist": "5.4.624",
1716
"pixelmatch": "7.1.0",
@@ -30,6 +29,7 @@
3029
"zlibjs": "0.3.1"
3130
},
3231
"optionalDependencies": {
32+
"objc-js": "1.5.0",
3333
"fsevents": "2.3.2"
3434
},
3535
"codexPrivatePackages": {

mpp-ui/scripts/prepare-node-modules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ async function copyNodeModules(source, target) {
102102
force: true,
103103
verbatimSymlinks: false,
104104
});
105+
rmSync(resolve(target, '.bin'), { recursive: true, force: true });
105106
}
106107

107108
function detectCodexNodeModulesSource() {

0 commit comments

Comments
 (0)