Skip to content

Commit a9542da

Browse files
committed
fix: add as an optional dependency
1 parent b09b29e commit a9542da

File tree

3 files changed

+27
-25
lines changed

3 files changed

+27
-25
lines changed

package-lock.json

+25-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/build/src/compile/signable-compiler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class SignableCompiler {
133133
requireRegexp: /\bglibc_version\.node$/,
134134
};
135135
const nativeMachineIdAddon = {
136-
path: await findModulePath('logging', 'native-machine-id'),
136+
path: await findModulePath('cli-repl', 'native-machine-id'),
137137
requireRegexp: /\bnative_machine_id\.node$/,
138138
};
139139
// Warning! Until https://jira.mongodb.org/browse/MONGOSH-990,

packages/cli-repl/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
"webpack-merge": "^5.8.0"
115115
},
116116
"optionalDependencies": {
117+
"native-machine-id": "^0.0.9",
117118
"get-console-process-list": "^1.0.5",
118119
"glibc-version": "^1.0.0",
119120
"macos-export-certificate-and-key": "^1.2.4",

0 commit comments

Comments
 (0)