@anhcodo13/lattice 0.3.0 → 0.5.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/README.md +23 -29
- package/dist/cli.js +1278 -93
- package/dist/index.d.ts +177 -0
- package/dist/index.js +767 -193
- package/governance/policy.json +52 -9
- package/package.json +1 -1
package/governance/policy.json
CHANGED
|
@@ -1,25 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
|
-
"policyVersion": "
|
|
3
|
+
"policyVersion": "5.0.0",
|
|
4
4
|
"profiles": {
|
|
5
5
|
"next": {
|
|
6
|
-
"next": ">=
|
|
7
|
-
"react": ">=19.
|
|
8
|
-
"react-dom": ">=19.
|
|
6
|
+
"next": ">=16.4.2",
|
|
7
|
+
"react": ">=19.3.1",
|
|
8
|
+
"react-dom": ">=19.3.1",
|
|
9
9
|
"typescript": ">=5.9.3"
|
|
10
10
|
},
|
|
11
11
|
"vite-react": {
|
|
12
|
-
"vite": ">=
|
|
13
|
-
"react": ">=19.
|
|
14
|
-
"react-dom": ">=19.
|
|
12
|
+
"vite": ">=8.3.4",
|
|
13
|
+
"react": ">=19.3.1",
|
|
14
|
+
"react-dom": ">=19.3.1",
|
|
15
15
|
"typescript": ">=5.9.3"
|
|
16
16
|
},
|
|
17
17
|
"react": {
|
|
18
|
-
"react": ">=19.
|
|
19
|
-
"react-dom": ">=19.
|
|
18
|
+
"react": ">=19.3.1",
|
|
19
|
+
"react-dom": ">=19.3.1",
|
|
20
20
|
"typescript": ">=5.9.3"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
+
"managedPackages": {
|
|
24
|
+
"@tanstack/react-query": ">=5.0.0",
|
|
25
|
+
"react-router": ">=7.0.0",
|
|
26
|
+
"react-router-dom": ">=7.0.0",
|
|
27
|
+
"zustand": ">=5.0.0",
|
|
28
|
+
"@reduxjs/toolkit": ">=2.0.0",
|
|
29
|
+
"react-redux": ">=9.0.0",
|
|
30
|
+
"react-hook-form": ">=7.0.0",
|
|
31
|
+
"zod": ">=4.0.0",
|
|
32
|
+
"tailwindcss": ">=4.0.0",
|
|
33
|
+
"@tailwindcss/vite": ">=4.0.0",
|
|
34
|
+
"axios": ">=1.0.0"
|
|
35
|
+
},
|
|
23
36
|
"assessment": {
|
|
24
37
|
"architecture": {
|
|
25
38
|
"minimumScore": 75,
|
|
@@ -31,6 +44,36 @@
|
|
|
31
44
|
"policies": [],
|
|
32
45
|
"aliases": {}
|
|
33
46
|
}
|
|
47
|
+
},
|
|
48
|
+
"evidence": {
|
|
49
|
+
"maximumAgeHours": 24,
|
|
50
|
+
"dependencySecurity": { "maximumHigh": 0, "maximumCritical": 0 },
|
|
51
|
+
"codeQuality": { "maximumLintErrors": 0, "minimumLineCoverage": 70, "requireTypecheck": true, "requireTests": true },
|
|
52
|
+
"codeSecurity": { "maximumHigh": 0, "maximumCritical": 0, "maximumSecrets": 0 },
|
|
53
|
+
"compatibility": {
|
|
54
|
+
"requiredProjects": ["chromium-desktop", "firefox-desktop", "webkit-desktop", "android-chrome", "iphone-safari"],
|
|
55
|
+
"minimumTestsPerProject": 2,
|
|
56
|
+
"minimumTestedBrowserVersions": {
|
|
57
|
+
"chromium-desktop": "156.0",
|
|
58
|
+
"firefox-desktop": "157.0",
|
|
59
|
+
"webkit-desktop": "27.2",
|
|
60
|
+
"android-chrome": "156.0",
|
|
61
|
+
"iphone-safari": "27.2"
|
|
62
|
+
},
|
|
63
|
+
"minimumEmulatedOsVersions": {
|
|
64
|
+
"android-chrome": "14",
|
|
65
|
+
"iphone-safari": "15.0"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"accessibility": {
|
|
69
|
+
"requiredProjects": ["chromium-desktop", "android-chrome"],
|
|
70
|
+
"minimumScansPerProject": 1,
|
|
71
|
+
"minimumChecksPerScan": 1,
|
|
72
|
+
"minimumAxeVersion": "4.10.0",
|
|
73
|
+
"maximumViolations": 0,
|
|
74
|
+
"maximumNeedsReview": 0,
|
|
75
|
+
"requiredTags": ["wcag2a", "wcag2aa", "wcag21a", "wcag21aa"]
|
|
76
|
+
}
|
|
34
77
|
}
|
|
35
78
|
}
|
|
36
79
|
}
|