aboutsummaryrefslogtreecommitdiff
path: root/src/bunfig.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bunfig.zig')
-rw-r--r--src/bunfig.zig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bunfig.zig b/src/bunfig.zig
index 9df2978b0..1244f52b8 100644
--- a/src/bunfig.zig
+++ b/src/bunfig.zig
@@ -259,6 +259,14 @@ pub const Bunfig = struct {
}
}
+ if (json.get("exact")) |exact_install_expr| {
+ try this.expect(exact_install_expr, .e_boolean);
+
+ if (exact_install_expr.asBool().?) {
+ install.exact = true;
+ }
+ }
+
if (json.get("prefer")) |prefer_expr| {
try this.expect(prefer_expr, .e_string);
@@ -322,6 +330,12 @@ pub const Bunfig = struct {
}
}
+ if (_bun.get("frozenLockfile")) |frozen_lockfile| {
+ if (frozen_lockfile.asBool()) |value| {
+ install.frozen_lockfile = value;
+ }
+ }
+
if (_bun.get("lockfile")) |lockfile_expr| {
if (lockfile_expr.get("print")) |lockfile| {
try this.expect(lockfile, .e_string);