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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # ploaness
2
2
 
3
- An external, versioned quality harness for Payload CMS projects. Declare one dependency and inherit the whole contract.
3
+ Shared governance, analyzer configuration, and managed files for Payload CMS repositories.
4
4
 
5
5
  ## Install
6
6
 
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 { MAX_SWEEP_ROUTES, SKIPPED_ROUTE_PREFIXES } from '@ploaness/config/a11y';
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
@@ -1 +1 @@
1
- {"version":3,"file":"a11y.d.ts","sourceRoot":"","sources":["../src/a11y.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA"}
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;AAC/E,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA"}
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
@@ -1 +1 @@
1
- {"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../src/access.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC5F,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA"}
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
@@ -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,EAAqB,aAAa,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA"}
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/governance';
1
+ export { safeHref } from '@ploaness/runtime';
2
2
  //# sourceMappingURL=runtime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA"}
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
- export { safeHref } from '@ploaness/governance';
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
@@ -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,sBAAsB,CAAA"}
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.0.0",
4
- "description": "An external, versioned quality harness for Payload CMS projects. Declare one dependency and inherit the whole contract.",
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.0.0",
78
- "@ploaness/cli": "1.0.0",
79
- "@ploaness/config": "1.0.0",
80
- "@ploaness/governance": "1.0.0"
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.0",
90
+ "@types/node": "26.4.1",
90
91
  "typescript": "6.0.3"
91
92
  },
92
93
  "scripts": {