@vercel/build-utils 9.3.1 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/fs/run-user-scripts.js +12 -1
- package/dist/index.js +12 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -595,8 +595,10 @@ function detectPnpmVersion(lockfileVersion) {
|
|
595
595
|
return "pnpm 7";
|
596
596
|
case (lockfileVersion === 6 || lockfileVersion === 6.1):
|
597
597
|
return "pnpm 8";
|
598
|
-
case
|
598
|
+
case lockfileVersion === 7:
|
599
599
|
return "pnpm 9";
|
600
|
+
case lockfileVersion === 9:
|
601
|
+
return "pnpm 10";
|
600
602
|
default:
|
601
603
|
return "not found";
|
602
604
|
}
|
@@ -610,6 +612,8 @@ function validLockfileForPackageManager(cliType, lockfileVersion, packageManager
|
|
610
612
|
return true;
|
611
613
|
case "pnpm":
|
612
614
|
switch (packageManagerMajorVersion) {
|
615
|
+
case 10:
|
616
|
+
return lockfileVersion === 9;
|
613
617
|
case 9:
|
614
618
|
if ("9.0.0" === packageManagerVersion.version && lockfileVersion === 6) {
|
615
619
|
return false;
|
@@ -751,6 +755,13 @@ function detectPackageManager(cliType, lockfileVersion) {
|
|
751
755
|
detectedPackageManager: "pnpm@9.x",
|
752
756
|
pnpmVersionRange: "9.x"
|
753
757
|
};
|
758
|
+
case "pnpm 10":
|
759
|
+
return {
|
760
|
+
path: "/pnpm10/node_modules/.bin",
|
761
|
+
detectedLockfile: "pnpm-lock.yaml",
|
762
|
+
detectedPackageManager: "pnpm@10.x",
|
763
|
+
pnpmVersionRange: "10.x"
|
764
|
+
};
|
754
765
|
case "pnpm 6":
|
755
766
|
return {
|
756
767
|
// undefined because pnpm@6 is the current default in the build container
|
package/dist/index.js
CHANGED
@@ -23608,8 +23608,10 @@ function detectPnpmVersion(lockfileVersion) {
|
|
23608
23608
|
return "pnpm 7";
|
23609
23609
|
case (lockfileVersion === 6 || lockfileVersion === 6.1):
|
23610
23610
|
return "pnpm 8";
|
23611
|
-
case
|
23611
|
+
case lockfileVersion === 7:
|
23612
23612
|
return "pnpm 9";
|
23613
|
+
case lockfileVersion === 9:
|
23614
|
+
return "pnpm 10";
|
23613
23615
|
default:
|
23614
23616
|
return "not found";
|
23615
23617
|
}
|
@@ -23623,6 +23625,8 @@ function validLockfileForPackageManager(cliType, lockfileVersion, packageManager
|
|
23623
23625
|
return true;
|
23624
23626
|
case "pnpm":
|
23625
23627
|
switch (packageManagerMajorVersion) {
|
23628
|
+
case 10:
|
23629
|
+
return lockfileVersion === 9;
|
23626
23630
|
case 9:
|
23627
23631
|
if ("9.0.0" === packageManagerVersion.version && lockfileVersion === 6) {
|
23628
23632
|
return false;
|
@@ -23764,6 +23768,13 @@ function detectPackageManager(cliType, lockfileVersion) {
|
|
23764
23768
|
detectedPackageManager: "pnpm@9.x",
|
23765
23769
|
pnpmVersionRange: "9.x"
|
23766
23770
|
};
|
23771
|
+
case "pnpm 10":
|
23772
|
+
return {
|
23773
|
+
path: "/pnpm10/node_modules/.bin",
|
23774
|
+
detectedLockfile: "pnpm-lock.yaml",
|
23775
|
+
detectedPackageManager: "pnpm@10.x",
|
23776
|
+
pnpmVersionRange: "10.x"
|
23777
|
+
};
|
23767
23778
|
case "pnpm 6":
|
23768
23779
|
return {
|
23769
23780
|
// undefined because pnpm@6 is the current default in the build container
|