-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
chore(aws-cdk-lib): minimum supported node version is now v14 #11964
Conversation
This is the current lowest active LTS version and is a good minimum bar.
This should be widely advertised as we release v2.0. Please make sure we have that in our doc change checklist |
tools/pkglint/lib/rules.ts
Outdated
@@ -1079,7 +1079,11 @@ export class MustHaveNodeEnginesDeclaration extends ValidationRule { | |||
public readonly name = 'package-info/engines'; | |||
|
|||
public validate(pkg: PackageJson): void { | |||
expectJSON(this.name, pkg, 'engines.node', '>= 10.13.0 <13 || >=13.7.0'); | |||
if (pkg.json.name === 'aws-cdk-lib') { | |||
expectJSON(this.name, pkg, 'engines.node', '>= 14.15.1'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure it needs to be this edgy. This might block people with "not entirely up-to-date" environments from using the product... We could require the 14.x
line, but not be too strict about it... Some early 14.0.0
would be best, IMO - like one that's known to have feature stability.
768644e
to
90defac
Compare
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
This is the current active LTS version and is a good minimum requirement. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This is the current active LTS version and is a good minimum
requirement.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license