@simpleapps-com/augur-config 2.4.0 → 2026.11.1

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.
Files changed (49) hide show
  1. package/EXPORTS.md +43 -44
  2. package/README.md +41 -29
  3. package/dist/augur-doctor.d.ts +13 -0
  4. package/dist/augur-doctor.d.ts.map +1 -0
  5. package/dist/augur-doctor.js +742 -0
  6. package/dist/augur-doctor.js.map +1 -0
  7. package/dist/chunk-RY3GDLDS.js +26 -0
  8. package/dist/chunk-RY3GDLDS.js.map +1 -0
  9. package/dist/chunk-ZV56KMH3.js +172 -0
  10. package/dist/chunk-ZV56KMH3.js.map +1 -0
  11. package/dist/doctor/checks.d.ts +34 -0
  12. package/dist/doctor/checks.d.ts.map +1 -0
  13. package/dist/doctor/cli.d.ts +11 -0
  14. package/dist/doctor/cli.d.ts.map +1 -0
  15. package/dist/doctor/node-reader.d.ts +7 -0
  16. package/dist/doctor/node-reader.d.ts.map +1 -0
  17. package/dist/doctor/report.d.ts +5 -0
  18. package/dist/doctor/report.d.ts.map +1 -0
  19. package/dist/doctor/rules.d.ts +227 -0
  20. package/dist/doctor/rules.d.ts.map +1 -0
  21. package/dist/eslint-next.d.ts +9 -0
  22. package/dist/eslint-next.d.ts.map +1 -0
  23. package/dist/eslint-next.js +35 -0
  24. package/dist/eslint-next.js.map +1 -0
  25. package/dist/eslint-shared.d.ts +36 -0
  26. package/dist/eslint-shared.d.ts.map +1 -0
  27. package/dist/eslint.d.ts +6 -0
  28. package/dist/eslint.d.ts.map +1 -0
  29. package/dist/eslint.js +30 -0
  30. package/dist/eslint.js.map +1 -0
  31. package/dist/lighthouse.d.ts +62 -0
  32. package/dist/lighthouse.d.ts.map +1 -0
  33. package/dist/lighthouse.js +68 -0
  34. package/dist/lighthouse.js.map +1 -0
  35. package/dist/prettier-next.d.ts +5 -0
  36. package/dist/prettier-next.d.ts.map +1 -0
  37. package/{src → dist}/prettier-next.js +9 -7
  38. package/dist/prettier-next.js.map +1 -0
  39. package/dist/prettier.d.ts +5 -0
  40. package/dist/prettier.d.ts.map +1 -0
  41. package/dist/prettier.js +17 -0
  42. package/dist/prettier.js.map +1 -0
  43. package/llms.txt +40 -20
  44. package/package.json +49 -12
  45. package/bin/augur-doctor.mjs +0 -1038
  46. package/src/eslint-next.js +0 -40
  47. package/src/eslint.js +0 -35
  48. package/src/lighthouse.js +0 -108
  49. package/src/prettier.js +0 -12
package/llms.txt CHANGED
@@ -1,22 +1,19 @@
1
1
  # Augur Platform Packages
2
2
 
3
3
  This package is part of the @simpleapps-com/augur-* platform.
4
- All packages use fixed versioning (same version number).
5
- The proxy pattern (createServerQueryProxy) is the primary data fetching API.
6
- Pure transform utilities bridge user-facing types to SDK params without breaking proxy type safety.
4
+ Each package releases on its own CalVer version; nothing requires them to share one.
5
+ The docs are at https://augur.build/docs/packages (the API reference lists every export).
7
6
 
8
7
  ## Sibling packages
9
8
 
10
- - @simpleapps-com/augur-config (this package) - Shared tooling configuration presets for Augur ecommerce sites
11
9
  - @simpleapps-com/augur-core - Universal foundation for Augur packages — proxy infrastructure, cache keys, method classification, shared types
10
+ - @simpleapps-com/augur-utils - Shared types, cache configuration, and utility functions for Augur ecommerce sites
12
11
  - @simpleapps-com/augur-hooks - Cross-platform React Query hooks and Zustand stores for Augur ecommerce sites
13
- - @simpleapps-com/augur-mobile - React Native/Expo adapters for Augur ecommerce apps (offline sync, biometrics, push)
14
12
  - @simpleapps-com/augur-server - Server-side utilities for Augur ecommerce sites (Redis caching, SDK helpers, auth)
15
- - @simpleapps-com/augur-tailwind - Shared Tailwind CSS v4 theme with HSL variables for Augur ecommerce sites
16
- - @simpleapps-com/augur-utils - Shared types, cache configuration, and utility functions for Augur ecommerce sites
17
13
  - @simpleapps-com/augur-web - Shared React UI components for Augur ecommerce sites (Radix + Tailwind)
18
-
19
- Each package ships its own llms.txt with exports and usage patterns.
14
+ - @simpleapps-com/augur-mobile - React Native/Expo adapters for Augur ecommerce apps (offline sync, biometrics, push)
15
+ - @simpleapps-com/augur-tailwind - Shared Tailwind CSS v4 theme with HSL variables for Augur ecommerce sites
16
+ - @simpleapps-com/augur-config (this package) - Shared tooling configuration presets for Augur ecommerce sites
20
17
 
21
18
  ---
22
19
 
@@ -24,14 +21,37 @@ Each package ships its own llms.txt with exports and usage patterns.
24
21
 
25
22
  > Shared tooling configuration presets for Augur ecommerce sites
26
23
 
27
- Version: 2.2.29
28
-
29
- - config preset: @simpleapps-com/augur-config/eslint
30
- - config preset: @simpleapps-com/augur-config/eslint/next
31
- - config preset: @simpleapps-com/augur-config/prettier
32
- - config preset: @simpleapps-com/augur-config/prettier/next
33
- - tsconfig preset: @simpleapps-com/augur-config/tsconfig/base
34
- - tsconfig preset: @simpleapps-com/augur-config/tsconfig/react
35
- - tsconfig preset: @simpleapps-com/augur-config/tsconfig/react-native
36
- - tsconfig preset: @simpleapps-com/augur-config/tsconfig/next
37
- - config preset: @simpleapps-com/augur-config/lighthouse
24
+ ## @simpleapps-com/augur-config/eslint
25
+
26
+ - const: default - The ESLint preset for Augur packages and React sites.
27
+ - type: PresetConfig
28
+
29
+ ## @simpleapps-com/augur-config/eslint/next
30
+
31
+ - const: default - The ESLint preset for Next.js sites: the base rules plus Next's recommended and Core Web Vitals.
32
+
33
+ ## @simpleapps-com/augur-config/prettier
34
+
35
+ - const: default - The Prettier preset for Augur packages (with Tailwind class sorting).
36
+
37
+ ## @simpleapps-com/augur-config/prettier/next
38
+
39
+ - const: default - The Prettier preset for Next.js sites: the base options plus sorted, grouped imports.
40
+
41
+ ## @simpleapps-com/augur-config/tsconfig/base
42
+ tsconfig preset: @simpleapps-com/augur-config/tsconfig/base
43
+
44
+ ## @simpleapps-com/augur-config/tsconfig/react
45
+ tsconfig preset: @simpleapps-com/augur-config/tsconfig/react
46
+
47
+ ## @simpleapps-com/augur-config/tsconfig/react-native
48
+ tsconfig preset: @simpleapps-com/augur-config/tsconfig/react-native
49
+
50
+ ## @simpleapps-com/augur-config/tsconfig/next
51
+ tsconfig preset: @simpleapps-com/augur-config/tsconfig/next
52
+
53
+ ## @simpleapps-com/augur-config/lighthouse
54
+
55
+ - const: defaultAssertions - Default assertion thresholds for Augur e-commerce sites.
56
+ - function: lighthousePreset - Creates a Lighthouse CI config with Augur e-commerce defaults.
57
+ - type: LighthousePresetOptions
package/package.json CHANGED
@@ -1,31 +1,46 @@
1
1
  {
2
2
  "name": "@simpleapps-com/augur-config",
3
- "version": "2.4.0",
3
+ "version": "2026.11.1",
4
4
  "description": "Shared tooling configuration presets for Augur ecommerce sites",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/simpleapps-com/augur-packages.git",
8
+ "url": "https://github.com/simpleapps-com/atlas.git",
9
9
  "directory": "packages/augur-config"
10
10
  },
11
11
  "type": "module",
12
12
  "bin": {
13
- "augur-doctor": "./bin/augur-doctor.mjs"
13
+ "augur-doctor": "./dist/augur-doctor.js"
14
14
  },
15
15
  "exports": {
16
- "./eslint": "./src/eslint.js",
17
- "./eslint/next": "./src/eslint-next.js",
18
- "./prettier": "./src/prettier.js",
19
- "./prettier/next": "./src/prettier-next.js",
16
+ "./eslint": {
17
+ "types": "./dist/eslint.d.ts",
18
+ "import": "./dist/eslint.js"
19
+ },
20
+ "./eslint/next": {
21
+ "types": "./dist/eslint-next.d.ts",
22
+ "import": "./dist/eslint-next.js"
23
+ },
24
+ "./prettier": {
25
+ "types": "./dist/prettier.d.ts",
26
+ "import": "./dist/prettier.js"
27
+ },
28
+ "./prettier/next": {
29
+ "types": "./dist/prettier-next.d.ts",
30
+ "import": "./dist/prettier-next.js"
31
+ },
20
32
  "./tsconfig/base": "./src/tsconfig/base.json",
21
33
  "./tsconfig/react": "./src/tsconfig/react.json",
22
34
  "./tsconfig/react-native": "./src/tsconfig/react-native.json",
23
35
  "./tsconfig/next": "./src/tsconfig/next.json",
24
- "./lighthouse": "./src/lighthouse.js"
36
+ "./lighthouse": {
37
+ "types": "./dist/lighthouse.d.ts",
38
+ "import": "./dist/lighthouse.js"
39
+ }
25
40
  },
26
41
  "files": [
27
- "src",
28
- "bin",
42
+ "dist",
43
+ "src/tsconfig",
29
44
  "EXPORTS.md",
30
45
  "llms.txt"
31
46
  ],
@@ -34,7 +49,7 @@
34
49
  "@trivago/prettier-plugin-sort-imports": "^6.0.0",
35
50
  "@typescript-eslint/eslint-plugin": "^8.30.0",
36
51
  "@typescript-eslint/parser": "^8.30.0",
37
- "eslint-plugin-react-hooks": "^5.2.0",
52
+ "eslint-plugin-react-hooks": "^7.0.0",
38
53
  "prettier-plugin-tailwindcss": "^0.6.0"
39
54
  },
40
55
  "peerDependencies": {
@@ -57,7 +72,29 @@
57
72
  "optional": true
58
73
  }
59
74
  },
75
+ "devDependencies": {
76
+ "@types/node": "^26.6.6",
77
+ "@vitest/coverage-v8": "~5.0.3",
78
+ "eslint": "^10.12.0",
79
+ "lemmascript": "0.6.5",
80
+ "prettier": "^3.0.0",
81
+ "tsup": "^9.0.0",
82
+ "typescript": "~6.0.3",
83
+ "vitest": "~5.0.3",
84
+ "@atlas/eslint-config": "0.0.0",
85
+ "@atlas/tsconfig": "0.0.0",
86
+ "@atlas/tsup-config": "0.0.0",
87
+ "@atlas/utils": "0.0.0",
88
+ "@atlas/vitest-config": "0.0.0"
89
+ },
90
+ "engines": {
91
+ "node": ">=22.0.0"
92
+ },
60
93
  "scripts": {
61
- "lint": "echo 'no lint for config-only package'"
94
+ "build": "tsup && tsc -p tsconfig.build.json",
95
+ "lint": "eslint .",
96
+ "proofs": "lsc check --backend=dafny",
97
+ "test": "vitest run --coverage",
98
+ "typecheck": "tsc --noEmit"
62
99
  }
63
100
  }