From 8c938ad6fd602b6e0c3b3e02e8066c62e895c4a1 Mon Sep 17 00:00:00 2001 From: team-tf-cdk Date: Sat, 30 Sep 2023 05:40:01 +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 d74053b..91a2748 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", @@ -45,7 +45,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..e8ac3f4 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.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.1.tgz#80b22f3df719f15c9736207980e95f35d01ec1aa" + integrity sha512-3G42sxmm0fF2+Vtb9TJQpnjmP+uKlWvFa8KoEGquh4gqRmoUG/N0ufuhikw6HEsdG2G2oIKhog1GCTfz9v5NdQ== "@types/node@^20.4.2", "@types/node@^20.5.6": version "20.5.7"