Files
Clintchiz 2c960fc1dc
Quality / quality (ubuntu-latest) (push) Failing after 9m49s
Quality / quality (windows-latest) (push) Canceled after 0s
refactor: migrate legacy wire namespace to wrn
2026-08-12 18:51:15 +05:30
..
2026-07-27 12:42:18 +05:30

Framework integration

WRNexusJS 0.4 discovers components and browser runtimes from installed package plugins.

@wrnexus/captcha is a complete example:

  • packages/captcha/package.json declares wrnexus.plugin.
  • captchaPlugin() contributes its component directory, client runtime, Tailwind source, and DevToolbar audit panel.
  • Captcha.wrn renders data-wrnexus-runtime="captcha".
  • SSR injects the runtime only when the component appears.
  • CSR navigation mounts and unmounts the runtime.
  • Development serves the package source; production emits a hashed chunk.

There is intentionally no packages/ui/components/Captcha.wrn, no showcase-local copy, and no public captcha.js file.

integration/platform-upgrade.test.ts exercises the 0.4 cross-package foundation.