WICG / import-maps

How to control the behavior of JavaScript imports
https://html.spec.whatwg.org/multipage/webappapis.html#import-maps
Other
2.69k stars 70 forks source link

Next steps - ready do to migrate out? #212

Closed marcoscaceres closed 2 years ago

marcoscaceres commented 4 years ago

From https://github.com/WICG/import-maps/pull/210#issuecomment-590918055 I got the sense that @domenic feels this incubation is getting kinda stable. Apologies if that's a misinterpretation, and please correct me if I'm wrong.

What are folks here thinking about next steps for this spec? Should it migrate out to one of the standards orgs?

domenic commented 4 years ago

The intended destination for this spec is the HTML Standard. That would require multi-implementation interest, which I haven't seen concrete signs of yet. Is Mozilla interested?

marcoscaceres commented 4 years ago

Is Mozilla interested?

It's a bit unclear from https://github.com/mozilla/standards-positions/issues/146

MylesBorins commented 4 years ago

@domenic with the adoption we are seeing in serverside tools (deno) and build tools (jspm / systemjs) do you still think that the HTML spec is the appropriate place for this proposal to live? I definitely see how that could still make sense, or at least something stand alone in the whatwg that is directly referred to and integrated into HTML.

It seems like what you wanted to see was implementor interest to move this along. I've pinged the mozilla thread again, I've heard Apple might be interested, and can ping at MSFT. How many vendors would you want to hear from to kick off the process of migrating out of WICG?

domenic commented 4 years ago

Yes, the HTML spec is still the destination for this.

We need two browsers interested before moving to the HTML Standard, and at least one of them should be planning to ship soon.

domenic commented 2 years ago

At this point we could potentially move into the HTML Standard, based on Chrome shipping and Firefox being supportive per https://github.com/mozilla/standards-positions/issues/146. The blocking issue is that the spec currently includes external import maps which Chrome doesn't implement; see #235 for discussion on that.

@annevk and @codehag, let me know if you have any opinions on the HTML Standard integration. I think my current plan is to wait (an unknown amount of time) until I feel like I have enough free time, and then rip out the external import map part of the spec and work on upstreaming the rest to HTML. But if, for example, upstreaming sooner would help Firefox implement sooner, or if Firefox really likes external import maps and doesn't want to see them ripped out, then please let me know.

codehag commented 2 years ago

We don't have strong feelings that external import maps stays in this spec, though it is nice to have. It looks like we can split it out an apply it later, and this would be preferable to upstreaming the whole spec if there currently isn't an implementer with bandwidth to implement.

So, having the minimal proposal integrated into the HTML Standard would be great.

domenic commented 2 years ago

An update: I've sent a HTML spec PR at https://github.com/whatwg/html/pull/8075, with no external import maps support. I suspect this repo will still be useful to have as a coordination point to group together further work, but maybe we'll end up moving everything into a series of HTML issues. I'll certainly remove all the spec text from here, once the HTML spec is merged.

codehag commented 2 years ago

Thanks domenic. Are there any outstanding issues that need to be addressed? anything you need help with?

domenic commented 2 years ago

I think things are pretty solid! I'm hoping to get full spec review on the pull request from @hiroshige-g, but of course more is always appreciated.

domenic commented 2 years ago

We've migrated! https://html.spec.whatwg.org/multipage/webappapis.html#import-maps

https://wicg.github.io/import-maps/ now redirects.

As mentioned above, I still think this repo is a reasonable place for further incubation, but I am also open to closing it all down and migrating everything into HTML Standard issues if the community would prefer.