@henryqw/pi-deps 0.3.7 → 0.3.8
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/hooks/post-checkout.mjs +1 -0
- package/package.json +1 -1
package/hooks/post-checkout.mjs
CHANGED
|
@@ -73,6 +73,7 @@ function nodeCommands() {
|
|
|
73
73
|
throw new Error(`Unsupported packageManager: ${JSON.stringify(declared)}`);
|
|
74
74
|
}
|
|
75
75
|
manager = declared.slice(0, declared.indexOf("@"));
|
|
76
|
+
if (/^yarn@1(?:\D|$)/.test(declared)) throw new Error("Yarn Classic 1.x is not supported");
|
|
76
77
|
if (manager !== locks[0]) {
|
|
77
78
|
throw new Error(`packageManager ${manager} does not match ${locks[0]} lockfile`);
|
|
78
79
|
}
|