@simpleapps-com/augur-config 2.1.2 → 2.1.3

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.
@@ -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 (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleapps-com/augur-config",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Shared tooling configuration presets for Augur ecommerce sites",
5
5
  "license": "MIT",
6
6
  "repository": {