From 1f927f4a92fc08eede95a5d7d5c60a971f4000ab Mon Sep 17 00:00:00 2001 From: team-tf-cdk Date: Fri, 13 Oct 2023 05:40:20 +0000 Subject: [PATCH] chore!: increase minimum supported Node.js version to 18 Signed-off-by: team-tf-cdk --- package.json | 4 ++-- projenrc.template.js | 2 +- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 5411fa2..554e959 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "prepare": "husky install" }, "engines": { - "node": ">=16.14" + "node": ">= 18.12.0" }, "eslintConfig": { "parser": "@typescript-eslint/parser", @@ -46,7 +46,7 @@ "constructs": "^10.0" }, "devDependencies": { - "@types/node": "^14.0.27", + "@types/node": "^18", "@typescript-eslint/eslint-plugin": "^5.42.0", "@typescript-eslint/parser": "^5.42.0", "eslint": "^8.27.0", diff --git a/projenrc.template.js b/projenrc.template.js index 51414c8..e6ee68f 100644 --- a/projenrc.template.js +++ b/projenrc.template.js @@ -9,7 +9,7 @@ const project = new CdktfProviderProject({ terraformProvider: "__PROVIDER__", cdktfVersion: "^0.18.0", constructsVersion: "^10.0.0", - minNodeVersion: "16.14.0", + minNodeVersion: "18.12.0", jsiiVersion: "^5.0.1", devDeps: ["@cdktf/provider-project@^0.2.95"], }); diff --git a/yarn.lock b/yarn.lock index 4d07704..28c558b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -681,10 +681,10 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.23.tgz#b6e934fe427eb7081d0015aad070acb3373c3c90" integrity sha512-XAMpaw1s1+6zM+jn2tmw8MyaRDIJfXxqmIQIS0HfoGYPuf7dUWeiUKopwq13KFX9lEp1+THGtlaaYx39Nxr58g== -"@types/node@^14.0.27": - version "14.18.51" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.51.tgz#cb90935b89c641201c3d07a595c3e22d1cfaa417" - integrity sha512-P9bsdGFPpVtofEKlhWMVS2qqx1A/rt9QBfihWlklfHHpUpjtYse5AzFz6j4DWrARLYh6gRnw9+5+DJcrq3KvBA== +"@types/node@^18": + version "18.18.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.5.tgz#afc0fd975df946d6e1add5bbf98264225b212244" + integrity sha512-4slmbtwV59ZxitY4ixUZdy1uRLf9eSIvBWPQxNjhHYWEtn0FryfKpyS2cvADYXTayWdKEIsJengncrVvkI4I6A== "@types/node@^20.4.2", "@types/node@^20.5.6": version "20.5.7"