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

Summit Topic: Scoping core modules #84

Closed
joyeecheung opened this issue May 27, 2018 · 11 comments
Closed

Summit Topic: Scoping core modules #84

joyeecheung opened this issue May 27, 2018 · 11 comments

Comments

@joyeecheung
Copy link
Collaborator

joyeecheung commented May 27, 2018

Refs: nodejs/TSC#389

We can use a slot in the collaboration summit to discuss about this. The decision should not be made there but we can brainstorm about the pros and cons of scoping modules and come back with a proper proposal/some kind of document


Proposed agenda:

  • Identify upcoming APIs that could be exposed via a new module ID
  • Discuss about scoping strategies
    • What scope should that be? @nodejs?
    • Should we use @scope/module or scope:module?
    • What happens to existing modules?
    • What's the migration path and story for modules that support multiple versions of Node.js?
    • What about unscoped modules that are taken on npm? e.g. @scope/new_api v.s. new_api
    • What happens to code that runs on the browser with browser-core polyfills?
  • Brainstorming pros and cons of scoping modules
@MylesBorins
Copy link
Contributor

Did this get followed up on? Could be a good session for also discussing the future of core apis

@joyeecheung
Copy link
Collaborator Author

@MylesBorins I can draft some topics to discuss, maybe we can also look at upcoming APIs and discuss about a better strategy for graduating them in the future

@benjamingr
Copy link

@joyeecheung I have left an idea here: nodejs/TSC#389 (comment)

@joyeecheung
Copy link
Collaborator Author

Copied from @benjamingr 's comment

  • What happens to existing modules?
  • What's the migration path and story for users on older versions of Node.js or authors of packages that need to run on both scoped and unscoped module versions of Node.js?
  • What happens if a user owns an unscoped version of a module we're adding Proposal: add all new core modules under a scope? (too late for http2) nodejs/TSC#389 (comment) ? Anything we can do to prevent people from being malicious in the future?
  • What happens to code that runs on the browser with browser-core polyfills? How does versioning work since that code is less-strictly-versioned and users might be using it with old/new Node.js together.

@devsnek
Copy link

devsnek commented May 29, 2018

will remote participation be available?

@Trott
Copy link
Contributor

Trott commented May 31, 2018

@devsnek I don't know the details, but several people have indicated they will be attending remotely, so I'm pretty sure there's a remote attendance option planned. Let me see if I can find anything...

@Trott
Copy link
Contributor

Trott commented May 31, 2018

Hmmm...some talk about remote attendance but no indication that I can find that someone is actively working on making it happen... I hope the AWS office has something slick already dialed in or else the remote attendance option might not work so well.. I hope I'm wrong and someone has taken care of it already. Anyone?

@benjamingr
Copy link

Do we have notes for this?

@mcollina mcollina closed this as completed Jun 2, 2018
@ljharb
Copy link
Member

ljharb commented Jun 2, 2018

Notes, or at least a summary, would be appreciated for those who were unable to attend.

@Trott
Copy link
Contributor

Trott commented Jun 3, 2018

@mcollina Was this session recorded? If we don't have notes, maybe we could at least post a link to the recording?

@mcollina
Copy link
Member

mcollina commented Jun 3, 2018

The full day has ideally been recorded. We need to look at the footage and check where this lives. My current wi-fi availability is not going to be enough for the next week or so, so I would recommend if somebody has access to our Zoom account to go in "recordings" and check what we have.

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

No branches or pull requests

7 participants