Skip to content

Add compatToRFC1132 utility#15

Closed
NullVoxPopuli wants to merge 12 commits into
mainfrom
add-format-conversion-utils
Closed

Add compatToRFC1132 utility#15
NullVoxPopuli wants to merge 12 commits into
mainfrom
add-format-conversion-utils

Conversation

@NullVoxPopuli

Copy link
Copy Markdown
Collaborator

Please someone suggest a better name for this 🙈

In chatting with @RobbieTheWagner, it's become clear we do need to provide some utilities for interfacing with the old stuff, since we haven't shipped (and made everyone migrate to) the static/importable replacements for all the registry stuff just yet.

This utility works with @embroider/virtual/compat-modules and converts it to the strict format.

There is still work to make @embroider/virtual/compat-modules "somehow" detect when its being used with the strict module format in RFC 1132, but I don't know how to set that up atm, and I think this utility would be good regardless, as I think this library exposing a few conversion utilities would be good.

After this PR, there are also planned:

(all 3 for separate PRs)

@NullVoxPopuli
NullVoxPopuli marked this pull request as ready for review October 25, 2025 17:15
@NullVoxPopuli

Copy link
Copy Markdown
Collaborator Author

This will no longer be needed as we're going to make compat-modules support emitting ./ for the default module prefix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant