aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hey.js1
l---------packages/bun-darwin-aarch64/bunx1
-rw-r--r--src/install/lockfile.zig3
3 files changed, 5 insertions, 0 deletions
diff --git a/hey.js b/hey.js
new file mode 100644
index 000000000..6e23478d9
--- /dev/null
+++ b/hey.js
@@ -0,0 +1 @@
+console.log(await import("react/jsx-runtime.js"));
diff --git a/packages/bun-darwin-aarch64/bunx b/packages/bun-darwin-aarch64/bunx
new file mode 120000
index 000000000..bb83b198e
--- /dev/null
+++ b/packages/bun-darwin-aarch64/bunx
@@ -0,0 +1 @@
+/Users/jarred/Code/bun/packages/bun-darwin-aarch64/bun \ No newline at end of file
diff --git a/src/install/lockfile.zig b/src/install/lockfile.zig
index 6690e1d3f..273aec901 100644
--- a/src/install/lockfile.zig
+++ b/src/install/lockfile.zig
@@ -1883,6 +1883,8 @@ pub const Package = extern struct {
}
};
+ const debug = Output.scoped(.Lockfile, true);
+
pub fn clone(
this_: *const Lockfile.Package,
old: *Lockfile,
@@ -1895,6 +1897,7 @@ pub const Package = extern struct {
const old_extern_string_buf = old.buffers.extern_strings.items;
var builder_ = new.stringBuilder();
var builder = &builder_;
+ debug("Clone: {s}@{any} ({s}, {d} dependencies)", .{ this.name.slice(old_string_buf), this.resolution.fmt(old_string_buf), @tagName(this.resolution.tag), this.dependencies.len });
builder.count(this.name.slice(old_string_buf));
this.resolution.count(old_string_buf, *Lockfile.StringBuilder, builder);