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

Complete refactor + Node 12.x (and beyond) support #40

Merged
merged 6 commits into from
Oct 28, 2019

Conversation

dbushong
Copy link
Member

ES5 and old Nodes removed. In exchange, we depend on new features in eslint-plugin-node to auto-detect node version and handle module mode based on file extensions and package.json engines.node settings.

  • chore: update the peerDeps
  • chore: check in package-lock
  • chore: upgrade pkgs & builds
  • feat: support all versions automatically

This PR was started by: git wf pr

now instead of `groupon/nodeN`, you just extend `groupon`

the node version will be selected based on your `package.json`
`engines.node` setting.

Note that for what we think of as node 8 features, you should specify
`>=8.3.0`

BREAKING CHANGE: /nodeN entrypoints are gone; you must specify a
`engines.node` section in your `package.json`; new defaults as specified
by adding `extends: plugin:node/recommended`; dropped support for node 6
and node 4 and es5
* the unpublished-require checks is broken for the way we use devDeps
* the deprecated-api check shouldn't kill use of e.g.
    require('url')...for now
Copy link

@erothman-groupon erothman-groupon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dbushong dbushong merged commit a9e7396 into master Oct 28, 2019
@dbushong dbushong deleted the dbushong/feature/master/node12 branch October 28, 2019 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants