-
Notifications
You must be signed in to change notification settings - Fork 27
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
v2.0.0 - Major Release (Proposal) #27
Comments
I think updating to ESLint 9 can wait, as we are opting to use standard or neostandard across the organization, although that's a discussion that has been going on for some time. @wesleytodd, has there been any progress on this? |
Lots going on in this proposal, just like in the PR, which will make it hard to have a discussion around. I hate to ask again for changes in the proposal, but ideally this would be an issue per thing (or a PR per thing, depending on how much work you wanted to put into it with the chance of it being throw away). I have some concerns with the points above, but others could land without much worry. |
Everything in the proposal looks great to me, except I'd skip ESM support for now. I think the dead code elimination for consumers and rollup in the dev pipeline does not outweigh the overhead for maintainers and overall package install size. |
If we're already going to support types directly, why not use TypeScript and output both |
I have created a PR (#26) that showcases these proposed changes.
Proposed Changes
New Features & Enhancements
ESM Support
index.cjs
) from an ESM entry point (index.mjs
), as demonstrated in PR v2.0.0 - Major Release (Proposal) #26.Built-in TypeScript Types
@types/content-type
.@types/content-type
package.Maintainability Improvements
Updated CI Pipeline
nvm
with theactions/setup-node
action for better performance, leveraging its built-in caching for Node.js versions.Native Testing with
node:test
mocha
andnyc
with Node.js’ native test runner andc8
for code coverage.ESLint Update
Code Formatting
The text was updated successfully, but these errors were encountered: