-
Notifications
You must be signed in to change notification settings - Fork 43
Collab with the PM WG? #440
Comments
Well for starters, you should probably read the new docs sections on packages for ES modules:
Helping package authors navigate that would be most appreciated 😄 |
Hey - this sounds like a great idea, thanks for reaching out! Trying to remember the kinds of things we had discussed in the past. In my own perceived order of usefulness:
|
It'd also be amazing if |
We also wanted to encourage all packages to start including the |
Explicit The real issue will come w/ pre-ESM Node incorrectly assuming |
@evanplaice that's fixed by using |
Ok, so far this sounds like the todo list:
Sound good?
So I know this is not the best answer as it is just a tool I maintain, but I added I had intended for https://github.com/pkgjs/create to be a scaffold with the recommendations from the different node working groups. What I have there today is more of a library for other scaffolding tools, but I plan on moving that out and replacing it with the scaffold tool for packages. The idea is that |
@wesleytodd thanks for suggesting a path here, that would be huge. I'm not sure we necessarily should have an official scaffolding tool for Node.js, but working with npm and Yarn to get a good init experience for ES modules is definitely an important priority. Ideally we would include "exports" support in such an init workflow as well. |
That is stronger wording than I would put it. I think having an example by which package maintainers can use as an example (and if it works for them, a starting point) for their modules, is a good thing. I in no way see this effort as an "official scaffolding tool". The problem is that most people don't care enough to follow along, so just providing guidance is often not enough, a tool which helps them follow guidance is much more effective.
This is for sure the priority! I followed with a separator because I wanted to be clear that was a secondary priority. I have just maintained too many module ecosystems to want to re-live the "here is a good way" without also providing a tool to make it easy for people who have little or no opinions to easily follow. |
I have not been closely following the conversation here (maybe that was a mistake for me), but it means I missed the transition out of experimental (not a cli flag anymore). I was wondering if there was something the Package Maintenance WG could do to help ease the transition for module authors? Based on feedback I heard (thanks @tbranyen), this might be a painful process for many module authors and app maintainers. If there are documentation pieces we can help with, or tooling we could build to help, it would be great to collaborate. Does this sounds good to you? If so, what would next steps be?
The text was updated successfully, but these errors were encountered: