For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/rules/config/js-remote-without-type-urls.md.

config/js-remote-without-type-urls

  • Category: reliability
  • Default severity: warning

Issue

Hosts that consume types cannot resolve a stable type archive URL from a direct .js remote entry. Manifest remotes publish type metadata; otherwise consumeTypes.remoteTypeUrls must name the zip/api URLs.

How to fix it

Point remotes at mf-manifest.json, or set dts.consumeTypes.remoteTypeUrls for each direct .js remote. Disable dts.consumeTypes when the host does not consume federated types.

Suppress or retarget with rules["config/js-remote-without-type-urls"] set to "off" or a severity, see Suppressions and allowlists.

Sources