@simpleapps-com/augur-config 2.1.2 → 2.2.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/bin/augur-doctor.mjs +3 -1
- package/package.json +1 -1
package/bin/augur-doctor.mjs
CHANGED
|
@@ -295,6 +295,9 @@ if (eslintFile) {
|
|
|
295
295
|
skip("eslint-deprecated", "ESLint: no-deprecated rule", "No ESLint config found");
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
+
// Read package.json early — needed by prettier, icons, tailwind, and quality checks.
|
|
299
|
+
const pkg = readJson("package.json");
|
|
300
|
+
|
|
298
301
|
// 7c. Prettier uses shared config
|
|
299
302
|
const prettierFile = findFile(
|
|
300
303
|
"prettier.config.mjs",
|
|
@@ -533,7 +536,6 @@ if (nextConfigFile) {
|
|
|
533
536
|
}
|
|
534
537
|
|
|
535
538
|
// 16. Quality script
|
|
536
|
-
const pkg = readJson("package.json");
|
|
537
539
|
if (pkg?.scripts?.quality) {
|
|
538
540
|
const quality = pkg.scripts.quality;
|
|
539
541
|
if (
|