-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Road to native ES modules #2341
Comments
mrtnzlml
added a commit
that referenced
this issue
May 5, 2021
So what is our goal? I see two different ones:
|
mrtnzlml
added a commit
that referenced
this issue
May 5, 2021
@michalsanger I see both of the points to be goals of this issue. I updated the issue description to be more clear about the goals. Thanks! |
michalsanger
added a commit
that referenced
this issue
May 10, 2021
mrtnzlml
added a commit
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: #2341
mrtnzlml
added a commit
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: #2341
kodiakhq bot
pushed a commit
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: #2341
adeira-github-bot
pushed a commit
to adeira/babel-preset-adeira
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/css-colors
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/eslint-config-adeira
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/eslint-fixtures-tester
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/eslint-plugin-sx
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/fetch
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/flow-config-parser
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/js
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/monorepo-npm-publisher
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/monorepo-utils
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/relay
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/sx-design
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/sx-jest-snapshot-serializer
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/sx
that referenced
this issue
May 21, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/graphql-bc-checker
that referenced
this issue
Jun 13, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/sx-tailwind
that referenced
this issue
Jun 26, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/fixtures-tester
that referenced
this issue
Jul 6, 2021
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
kodiakhq bot
pushed a commit
that referenced
this issue
Dec 9, 2021
It's a pure ESM package, see: #2341
adeira-github-bot
pushed a commit
to adeira/babel-plugin-transform-sx-tailwind
that referenced
this issue
Apr 30, 2022
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/graphql-resolve-wrapper
that referenced
this issue
May 8, 2022
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/graphql-relay-fauna
that referenced
this issue
Jun 16, 2022
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/graphql-relay
that referenced
this issue
Jun 16, 2022
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/graphql-global-id
that referenced
this issue
Jun 16, 2022
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
adeira-github-bot
pushed a commit
to adeira/signed-source
that referenced
this issue
Jun 23, 2022
See: https://nodejs.org/api/packages.html#packages_determining_module_system > Package authors should include the "type" field, even in packages where all sources are CommonJS. Being explicit about the type of the package will future-proof the package in case the default type of Node.js ever changes, and it will also make things easier for build tools and loaders to determine how the files in the package should be interpreted. Related issue: adeira/universe#2341 adeira-source-id: 7288ec22447e6de87afa3b2c0d510eb52772ecb3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some dependencies that started pushing native ES modules in a very invasive way, see:
strip-ansi
6.0.0 -> 7.0.0 (Bump strip-ansi from 6.0.0 to 7.0.0 #2249)hast-util-to-html
7.1.3 -> 8.0.0 (Bump hast-util-to-html from 7.1.3 to 8.0.0 #2323)refractor
3.3.1 -> 4.0.0 (Bump refractor from 3.3.1 to 4.0.0 #2366)chalk
4.1.2 -> 5.0.0 (Bump chalk from 4.1.2 to 5.0.0 #3484).github/dependabot.yml
We need to replace or upgrade these. However, we are not ready for it. So here is the plan to make it happen:
module
field inpackage.json
#2339useESModules
from@babel/runtime
and maybe others, see: https://babeljs.io/blog/2021/02/22/7.13.0#automatic-es-modules-in-babelruntime-12632httpsgithubcombabelbabelpull12632Goals:
Eventually, we can drop support for CJS altogether.
Resources:
Known problems:
The text was updated successfully, but these errors were encountered: