release: WRNexusJS 0.4.0

This commit is contained in:
2026-07-27 12:54:43 +05:30
parent 30e5721e84
commit 76c768099d
2 changed files with 29 additions and 17 deletions
+12 -14
View File
@@ -1,21 +1,19 @@
# WRNexusJS 0.4.0 lint fix
# WRNexusJS 0.4.0 UI reference determinism fix
Extract this archive into the WRNexusJS repository root and replace the included files.
This fixes the release loop where `generate-ui-component-reference.mjs` writes one layout and Prettier rewrites it differently. The generator now formats both generated files with the repository Prettier configuration before writing them.
Fixes:
Replace:
- Removes the `no-useless-assignment` failure in the CAPTCHA page-grant endpoint.
- Restores the Button showcase's specialized examples so `buttonUses` is used.
- Declares browser globals for the package-owned CAPTCHA runtime.
- Replaces empty catch blocks with documented best-effort cleanup.
- Fixes `prefer-const` in package discovery.
- Removes unused plugin, style-audit, and UI-test bindings.
- Uses the UI-reference verifier in the release workflow.
- Declares Node globals correctly in installer and validation scripts.
- `scripts/generate-ui-component-reference.mjs`
Run:
Then run:
```bash
bun run lint
bun run validate:0.4
bun run scripts/generate-ui-component-reference.mjs
bun run format
bun run format:check
git add scripts/generate-ui-component-reference.mjs packages/ui/component-reference.json packages/ui/COMPONENTS.md
git commit -m "fix(release): make UI reference generation deterministic"
git push origin main
bun run release:private
```