Hey,
Node.js is debating some changes with regards to modules and we'd like your help.
The changes are outlined here: nodejs/TSC#1445 (comment)
The migration path for package authors is outlined here: nodejs/TSC#1445 (comment)
What we'd hopefully like is:
- For
npm publish to warn if the published package.json file does not have a "type" field.
- For
npm init to set "type": "module" in "new" Node.js by default.
This is still all in discussion in Node.js, the above list is just some ideas and this issue is mostly so we can discuss things.
Hey,
Node.js is debating some changes with regards to modules and we'd like your help.
The changes are outlined here: nodejs/TSC#1445 (comment)
The migration path for package authors is outlined here: nodejs/TSC#1445 (comment)
What we'd hopefully like is:
npm publishto warn if the publishedpackage.jsonfile does not have a"type"field.npm initto set"type": "module"in "new" Node.js by default.This is still all in discussion in Node.js, the above list is just some ideas and this issue is mostly so we can discuss things.