@simpleapps-com/augur-config 2.0.12 → 2.0.13
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/bin/augur-doctor.mjs +7 -7
- package/package.json +1 -1
package/bin/augur-doctor.mjs
CHANGED
|
@@ -526,21 +526,21 @@ if (pkg) {
|
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
// 18. Tailwind
|
|
529
|
+
// 18. Tailwind v4
|
|
530
530
|
if (pkg) {
|
|
531
531
|
const allDeps = { ...pkg.dependencies, ...pkg.devDependencies };
|
|
532
532
|
const tailwindVersion = allDeps["tailwindcss"] || "";
|
|
533
533
|
if (tailwindVersion.startsWith("^4") || tailwindVersion.startsWith("4")) {
|
|
534
|
-
|
|
535
|
-
"tailwind",
|
|
536
|
-
"Tailwind v3.4 (not v4)",
|
|
537
|
-
`Found tailwindcss: ${tailwindVersion} -- downgrade to ^3.4`
|
|
538
|
-
);
|
|
534
|
+
pass("tailwind", "Tailwind v4 (platform standard)", "");
|
|
539
535
|
} else if (
|
|
540
536
|
tailwindVersion.startsWith("^3") ||
|
|
541
537
|
tailwindVersion.startsWith("3")
|
|
542
538
|
) {
|
|
543
|
-
|
|
539
|
+
fail(
|
|
540
|
+
"tailwind",
|
|
541
|
+
"Tailwind v4",
|
|
542
|
+
`Found tailwindcss: ${tailwindVersion} -- upgrade to ^4.0.0`
|
|
543
|
+
);
|
|
544
544
|
} else if (tailwindVersion) {
|
|
545
545
|
warn("tailwind", "Tailwind version unclear", `tailwindcss: ${tailwindVersion}`);
|
|
546
546
|
} else {
|