randmarcomps 1.604.0 → 1.606.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 +9 -0
- package/dist/randmarcomps.js +6109 -5720
- package/dist/randmarcomps.umd.cjs +49 -49
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -157,4 +157,13 @@ If you're using earlier versions, you may encounter compatibility issues:
|
|
|
157
157
|
- `npm run dev` - Start development server
|
|
158
158
|
- `npm run build` - Build the library
|
|
159
159
|
- `npm run lint` - Lint the code
|
|
160
|
+
- `npm run ux-audit` - Enforce UX token/style debt rules
|
|
161
|
+
- `npm run api-audit` - Enforce API debt rules (no hardcoded API origin outside constants, no deep client imports, no unannotated UI fetch usage)
|
|
160
162
|
- Do not manually bump the `package.json` version; CI/CD handles versioning/publishing.
|
|
163
|
+
|
|
164
|
+
### Audit Pass Criteria
|
|
165
|
+
|
|
166
|
+
- `npm run ux-audit` passes with zero findings.
|
|
167
|
+
- `npm run api-audit` passes with zero findings.
|
|
168
|
+
- Any intentional UI `fetch(...)` usage in `src/components/**` must include an inline allow comment: `api-audit: allow-fetch - <specific reason>`.
|
|
169
|
+
- `https://api.randmar.io` appears only in `src/utils/randmar-api-constants.ts`.
|