Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Proposal: module loading customization/optimization and CJS/ESM interoperability #422

Closed
2 of 6 tasks
joyeecheung opened this issue Aug 20, 2024 · 9 comments
Closed
2 of 6 tasks
Assignees
Labels
Collaborator Summit Dublin 2024 Collab Summit at Nov 7th - 7th 2024 in Dublin Session Proposal A session proposal for the Collaboration Summit

Comments

@joyeecheung
Copy link
Collaborator

joyeecheung commented Aug 20, 2024

Proposal

Topic of the session

Discuss recent module loading customization and interoperability efforts

Type of the session

  • Collaborate
  • Workshop
  • Talk

Estimated duration of the session

1h

Date and Time of the session

TBD

Level

  • Beginner
  • Intermediate
  • Advanced

Pre-requisite knowledge

Familarity with module loading in Node.js

Describe the session

Recap and review recent module loading work, brainstorm ideas

  • Documenting dual package shipping patterns and updating ecosystem practices: Bootstrapping the initiative: TODOs? nodejs/package-examples#2
    • What are some projects that might already be hitting require(esm) that we should check for regressions from unflagging
    • What patterns are people using to ship modules
    • What else is blocking them from migration to ESM
    • What are the practices that are used to migrate
    • What else can be done to help
    • What kind of content should we put out there, where...
  • Missing pieces of ESM
    • Performance
    • Snapshot & SEA support
    • ?
  • Synchronous, in-thread & universal module loader cutomization hooks: doc: add synchronous hooks proposal nodejs/loaders#198
    • What are the things not supported in module.register() that we can use the new API to fix
    • Is sync resolve + sync load + startGraph enough
    • deasync for certain workloads
  • File-based preload configurations (noderc): Support .noderc or similar file-based initialization configurations? nodejs/node#53787
    • What are people using doing for preloaded configurations, what fields should be in there
    • What format is deseirable
    • Pain points of runtime configurations
    • Conflicts with other runtime configurations?

Session facilitator(s), Github handle(s) and timezone(s)

Meeting notes and Virtual Meeting Link

TBD

Follow-up / Set-up sessions (if any)

Additional context (optional)

TBD


@joyeecheung joyeecheung added Collaborator Summit Session Proposal A session proposal for the Collaboration Summit labels Aug 20, 2024
@joyeecheung joyeecheung changed the title Session Proposal: module loading and interoperability Session Proposal: module loading and CJS/ESM interoperability Aug 20, 2024
@joyeecheung joyeecheung changed the title Session Proposal: module loading and CJS/ESM interoperability Session Proposal: module loading customization/optimization and CJS/ESM interoperability Aug 20, 2024
@ovflowd ovflowd added the Dublin 2024 Collab Summit at Nov 7th - 7th 2024 in Dublin label Sep 10, 2024
@joyeecheung
Copy link
Collaborator Author

Updated the agenda a bit to include nodejs/package-examples#2

@joyeecheung
Copy link
Collaborator Author

joyeecheung commented Nov 2, 2024

Session has been scheduled to 10:45 Dublin time on Nov 8 (https://docs.google.com/spreadsheets/d/1URn0hy4Mj-vSmZmZL8Z6_LPz5U5-WAAV-ueqVM4EVeY/edit?usp=sharing). Not sure remote participation would be possible yet (I believe it is?)

@joyeecheung
Copy link
Collaborator Author

Remote participation worked today so should also work tomorrow. Zoom link is in https://docs.google.com/spreadsheets/d/1URn0hy4Mj-vSmZmZL8Z6_LPz5U5-WAAV-ueqVM4EVeY/edit?usp=sharing

@joyeecheung
Copy link
Collaborator Author

Notes will be taken in https://hackmd.io/V3xtjlcrTIGsemPv8t-tKg - I put in the points to discuss there, planning to screen-share when we discuss

@charlieforward9
Copy link

To whom it may interest, I made a request here pertaining to my own task of reaching CJS/ESM interoperability and am seeking a brief review from someone more experienced in this scope.

@dygabo
Copy link

dygabo commented Nov 9, 2024

Sorry that I could not attend as I was on a plane back home when this session happened. Thanks for publishing the notes. Was there also a recording of the zoom call that could be made available?

@joyeecheung
Copy link
Collaborator Author

Sorry that I could not attend as I was on a plane back home when this session happened. Thanks for publishing the notes. Was there also a recording of the zoom call that could be made available?

There was a recording being recorded on either @ovflowd 's Zoom cloud or his laptop locally. Not sure if he's got them or when it would be uploaded somewhere.

@ovflowd
Copy link
Member

ovflowd commented Nov 12, 2024

Let me add the recordings to the main issue 🙏

@joyeecheung
Copy link
Collaborator Author

Recording has been posted to #419 (comment) . Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Collaborator Summit Dublin 2024 Collab Summit at Nov 7th - 7th 2024 in Dublin Session Proposal A session proposal for the Collaboration Summit
Projects
None yet
Development

No branches or pull requests

6 participants