aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-08-05 23:20:24 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-08-05 23:20:24 -0700
commit4c01845f32d15b92c5a2f296d421afff00c3d27b (patch)
treebc8ddacdfbb6ce46e7be7a66a409511e46841fa5
parentb17f5b750e09a84a51109a13f25e3af81aede421 (diff)
downloadbun-4c01845f32d15b92c5a2f296d421afff00c3d27b.tar.gz
bun-4c01845f32d15b92c5a2f296d421afff00c3d27b.tar.zst
bun-4c01845f32d15b92c5a2f296d421afff00c3d27b.zip
[BREAKING][bun install] Invalidate all the lockfiles
-rw-r--r--src/install/lockfile.zig6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/install/lockfile.zig b/src/install/lockfile.zig
index 1c66056a1..d6b3b4824 100644
--- a/src/install/lockfile.zig
+++ b/src/install/lockfile.zig
@@ -1779,9 +1779,13 @@ pub const PackageIndex = struct {
pub const FormatVersion = enum(u32) {
v0,
+ // bun v0.0.x - bun v0.1.6
v1,
+ // bun v0.1.7+
+ // This change added tarball URLs to npm-resolved packages
+ v2,
_,
- pub const current = FormatVersion.v1;
+ pub const current = FormatVersion.v2;
};
pub const DependencySlice = ExternalSlice(Dependency);