create-message-kit 1.1.7-beta.24 → 1.1.7-beta.26
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/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -20,7 +20,8 @@ program
|
|
|
20
20
|
.description("CLI to initialize projects")
|
|
21
21
|
.action(async () => {
|
|
22
22
|
// Add Yarn 4 check at the start of the action
|
|
23
|
-
const pkgManager = detectPackageManager();
|
|
23
|
+
const pkgManager = await detectPackageManager();
|
|
24
|
+
|
|
24
25
|
if (pkgManager.startsWith("yarn@4")) {
|
|
25
26
|
log.error("Yarn 4 is not supported. Please use bun, npm, or yarn v1");
|
|
26
27
|
process.exit(1);
|