ploaness 1.0.0 → 1.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/README.md +1 -1
- package/biome-core.json +4 -2
- package/biome.json +55 -3
- package/dist/a11y.d.ts +2 -1
- package/dist/a11y.d.ts.map +1 -1
- package/dist/a11y.js +1 -1
- package/dist/a11y.js.map +1 -1
- package/dist/access.d.ts +1 -1
- package/dist/access.d.ts.map +1 -1
- package/dist/access.js +1 -1
- package/dist/access.js.map +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +6 -1
- package/dist/runtime.js.map +1 -1
- package/package.json +8 -7
package/README.md
CHANGED
package/biome-core.json
CHANGED
|
@@ -65,7 +65,8 @@
|
|
|
65
65
|
"formats": [
|
|
66
66
|
"camelCase",
|
|
67
67
|
"CONSTANT_CASE",
|
|
68
|
-
"PascalCase"
|
|
68
|
+
"PascalCase",
|
|
69
|
+
"snake_case"
|
|
69
70
|
]
|
|
70
71
|
},
|
|
71
72
|
{
|
|
@@ -101,7 +102,8 @@
|
|
|
101
102
|
},
|
|
102
103
|
"performance": {
|
|
103
104
|
"noBarrelFile": "off",
|
|
104
|
-
"noJsxPropsBind": "off"
|
|
105
|
+
"noJsxPropsBind": "off",
|
|
106
|
+
"noAccumulatingSpread": "off"
|
|
105
107
|
},
|
|
106
108
|
"suspicious": {
|
|
107
109
|
"noDoubleEquals": "error",
|
package/biome.json
CHANGED
|
@@ -65,7 +65,8 @@
|
|
|
65
65
|
"formats": [
|
|
66
66
|
"camelCase",
|
|
67
67
|
"CONSTANT_CASE",
|
|
68
|
-
"PascalCase"
|
|
68
|
+
"PascalCase",
|
|
69
|
+
"snake_case"
|
|
69
70
|
]
|
|
70
71
|
},
|
|
71
72
|
{
|
|
@@ -101,7 +102,8 @@
|
|
|
101
102
|
},
|
|
102
103
|
"performance": {
|
|
103
104
|
"noBarrelFile": "off",
|
|
104
|
-
"noJsxPropsBind": "off"
|
|
105
|
+
"noJsxPropsBind": "off",
|
|
106
|
+
"noAccumulatingSpread": "off"
|
|
105
107
|
},
|
|
106
108
|
"suspicious": {
|
|
107
109
|
"noDoubleEquals": "error",
|
|
@@ -141,5 +143,55 @@
|
|
|
141
143
|
"organizeImports": "on"
|
|
142
144
|
}
|
|
143
145
|
}
|
|
144
|
-
}
|
|
146
|
+
},
|
|
147
|
+
"overrides": [
|
|
148
|
+
{
|
|
149
|
+
"includes": [
|
|
150
|
+
"**/*.tsx",
|
|
151
|
+
"**/*.jsx",
|
|
152
|
+
"!.next/**",
|
|
153
|
+
"!**/node_modules/**",
|
|
154
|
+
"!coverage/**",
|
|
155
|
+
"!pgadmin/**",
|
|
156
|
+
"!.*/**"
|
|
157
|
+
],
|
|
158
|
+
"linter": {
|
|
159
|
+
"rules": {
|
|
160
|
+
"a11y": {
|
|
161
|
+
"useAltText": "off",
|
|
162
|
+
"useAnchorContent": "off",
|
|
163
|
+
"useValidAnchor": "off",
|
|
164
|
+
"useAriaActivedescendantWithTabindex": "off",
|
|
165
|
+
"useValidAriaProps": "off",
|
|
166
|
+
"useValidAriaValues": "off",
|
|
167
|
+
"useValidAriaRole": "off",
|
|
168
|
+
"noAriaUnsupportedElements": "off",
|
|
169
|
+
"useValidAutocomplete": "off",
|
|
170
|
+
"useKeyWithClickEvents": "off",
|
|
171
|
+
"useHeadingContent": "off",
|
|
172
|
+
"useHtmlLang": "off",
|
|
173
|
+
"useIframeTitle": "off",
|
|
174
|
+
"noRedundantAlt": "off",
|
|
175
|
+
"useFocusableInteractive": "off",
|
|
176
|
+
"noLabelWithoutControl": "off",
|
|
177
|
+
"useMediaCaption": "off",
|
|
178
|
+
"useKeyWithMouseEvents": "off",
|
|
179
|
+
"noAccessKey": "off",
|
|
180
|
+
"noAutofocus": "off",
|
|
181
|
+
"noDistractingElements": "off",
|
|
182
|
+
"noInteractiveElementToNoninteractiveRole": "off",
|
|
183
|
+
"noNoninteractiveElementInteractions": "off",
|
|
184
|
+
"noNoninteractiveElementToInteractiveRole": "off",
|
|
185
|
+
"noNoninteractiveTabindex": "off",
|
|
186
|
+
"noRedundantRoles": "off",
|
|
187
|
+
"noStaticElementInteractions": "off",
|
|
188
|
+
"useAriaPropsForRole": "off",
|
|
189
|
+
"useAriaPropsSupportedByRole": "off",
|
|
190
|
+
"noHeaderScope": "off",
|
|
191
|
+
"noPositiveTabindex": "off"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
]
|
|
145
197
|
}
|
package/dist/a11y.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { HitTargetClassification, HitTargetProbe, HitTargetVerdict, } from '@ploaness/config/a11y';
|
|
2
|
+
export { classifyHitTarget, findDefiniteIncomplete, MAX_SWEEP_ROUTES, SKIPPED_ROUTE_PREFIXES, settleForScan, unsweptRoutes, } from '@ploaness/config/a11y';
|
|
2
3
|
//# sourceMappingURL=a11y.d.ts.map
|
package/dist/a11y.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a11y.d.ts","sourceRoot":"","sources":["../src/a11y.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"a11y.d.ts","sourceRoot":"","sources":["../src/a11y.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,uBAAuB,EACvB,cAAc,EACd,gBAAgB,GACjB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,aAAa,EACb,aAAa,GACd,MAAM,uBAAuB,CAAA"}
|
package/dist/a11y.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// See eslint.js for why every entry point is re-exported through this package.
|
|
2
|
-
export { MAX_SWEEP_ROUTES, SKIPPED_ROUTE_PREFIXES } from '@ploaness/config/a11y';
|
|
2
|
+
export { classifyHitTarget, findDefiniteIncomplete, MAX_SWEEP_ROUTES, SKIPPED_ROUTE_PREFIXES, settleForScan, unsweptRoutes, } from '@ploaness/config/a11y';
|
|
3
3
|
//# sourceMappingURL=a11y.js.map
|
package/dist/a11y.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a11y.js","sourceRoot":"","sources":["../src/a11y.ts"],"names":[],"mappings":"AAAA,+EAA+E;
|
|
1
|
+
{"version":3,"file":"a11y.js","sourceRoot":"","sources":["../src/a11y.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAO/E,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,aAAa,EACb,aAAa,GACd,MAAM,uBAAuB,CAAA"}
|
package/dist/access.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { type AccessReport, PUBLIC_ACCESS, undeclaredGrants } from '@ploaness/config/access';
|
|
1
|
+
export { type AccessReport, type DatalessFields, datalessFields, PUBLIC_ACCESS, staleDeclarations, undeclaredGrants, } from '@ploaness/config/access';
|
|
2
2
|
export type { PublicAccess } from '@ploaness/governance';
|
|
3
3
|
//# sourceMappingURL=access.d.ts.map
|
package/dist/access.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../src/access.ts"],"names":[],"mappings":"AASA,OAAO,
|
|
1
|
+
{"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../src/access.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,yBAAyB,CAAA;AAChC,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA"}
|
package/dist/access.js
CHANGED
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
// to name what it was given, and nothing here could see that: the asset-body check runs Biome, which
|
|
7
7
|
// carries no type information, and ploaness has no Payload application to compile the spec against. A
|
|
8
8
|
// consumer's `types` gate reported it first.
|
|
9
|
-
export { PUBLIC_ACCESS, undeclaredGrants } from '@ploaness/config/access';
|
|
9
|
+
export { datalessFields, PUBLIC_ACCESS, staleDeclarations, undeclaredGrants, } from '@ploaness/config/access';
|
|
10
10
|
//# sourceMappingURL=access.js.map
|
package/dist/access.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.js","sourceRoot":"","sources":["../src/access.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,EAAE;AACF,uGAAuG;AACvG,kGAAkG;AAClG,wGAAwG;AACxG,qGAAqG;AACrG,sGAAsG;AACtG,6CAA6C;AAE7C,OAAO,
|
|
1
|
+
{"version":3,"file":"access.js","sourceRoot":"","sources":["../src/access.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,EAAE;AACF,uGAAuG;AACvG,kGAAkG;AAClG,wGAAwG;AACxG,qGAAqG;AACrG,sGAAsG;AACtG,6CAA6C;AAE7C,OAAO,EAGL,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,yBAAyB,CAAA"}
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { safeHref } from '@ploaness/
|
|
1
|
+
export { safeHref } from '@ploaness/runtime';
|
|
2
2
|
//# sourceMappingURL=runtime.d.ts.map
|
package/dist/runtime.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA"}
|
package/dist/runtime.js
CHANGED
|
@@ -3,5 +3,10 @@
|
|
|
3
3
|
// The home for generic runtime helpers a governed project calls, as opposed to the configs and checks
|
|
4
4
|
// the rest of these entry points carry. One entry rather than one per helper, so a second helper does
|
|
5
5
|
// not mean a second export map, a second shim, and a second line in three `files` arrays.
|
|
6
|
-
|
|
6
|
+
//
|
|
7
|
+
// This subpath is reachable from `tests/**` alone. `ploaness` is a devDependency, and `arch` forbids
|
|
8
|
+
// `src/**` from importing one, so an APPLICATION imports `@ploaness/runtime` directly and declares it
|
|
9
|
+
// in `dependencies`. The re-export stays because a spec may legitimately reach it through the harness
|
|
10
|
+
// it already declares.
|
|
11
|
+
export { safeHref } from '@ploaness/runtime';
|
|
7
12
|
//# sourceMappingURL=runtime.js.map
|
package/dist/runtime.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,EAAE;AACF,sGAAsG;AACtG,sGAAsG;AACtG,0FAA0F;AAC1F,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,EAAE;AACF,sGAAsG;AACtG,sGAAsG;AACtG,0FAA0F;AAC1F,EAAE;AACF,qGAAqG;AACrG,sGAAsG;AACtG,sGAAsG;AACtG,uBAAuB;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ploaness",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Shared governance, analyzer configuration, and managed files for Payload CMS repositories.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"payload",
|
|
7
7
|
"payloadcms",
|
|
@@ -74,10 +74,11 @@
|
|
|
74
74
|
"tsconfig-core.json"
|
|
75
75
|
],
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@ploaness/assets": "1.
|
|
78
|
-
"@ploaness/cli": "1.
|
|
79
|
-
"@ploaness/config": "1.
|
|
80
|
-
"@ploaness/governance": "1.
|
|
77
|
+
"@ploaness/assets": "1.2.0",
|
|
78
|
+
"@ploaness/cli": "1.2.0",
|
|
79
|
+
"@ploaness/config": "1.2.0",
|
|
80
|
+
"@ploaness/governance": "1.2.0",
|
|
81
|
+
"@ploaness/runtime": "1.2.0"
|
|
81
82
|
},
|
|
82
83
|
"engines": {
|
|
83
84
|
"node": ">=26"
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"access": "public"
|
|
87
88
|
},
|
|
88
89
|
"devDependencies": {
|
|
89
|
-
"@types/node": "26.4.
|
|
90
|
+
"@types/node": "26.4.1",
|
|
90
91
|
"typescript": "6.0.3"
|
|
91
92
|
},
|
|
92
93
|
"scripts": {
|