diff --git a/.gitignore b/.gitignore index c718a018..6d6be743 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ jspm_packages/ .yarn-integrity .cache *.DS_STORE +!.node-version !/.projenrc.js /test-reports/ junit.xml diff --git a/.node-version b/.node-version new file mode 100644 index 00000000..02c8b485 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +18.18.0 diff --git a/.projenrc.ts b/.projenrc.ts index ced52ad0..dfc4778b 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -40,7 +40,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ // Keep synchronized with https://github.com/nodejs/release#release-schedule minNodeVersion: '18.12.0', // 'MAINTENANCE' (first LTS) - maxNodeVersion: '20.7.0', // 'CURRENT' + maxNodeVersion: '20.8.0', // 'CURRENT' workflowNodeVersion: '18.x', // 'ACTIVE' npmRegistryUrl: 'https://npm.pkg.github.com', @@ -62,7 +62,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ license: 'Apache-2.0', copyrightPeriod: '2023-', copyrightOwner: 'Amazon.com, Inc. or its affiliates. All Rights Reserved.', - gitignore: ['*.DS_STORE'], + gitignore: ['*.DS_STORE', '!.node-version'], stability: 'experimental', sampleCode: false, stale: true, diff --git a/package.json b/package.json index 04aa098d..a4e0ea95 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "generative-ai" ], "engines": { - "node": ">= 18.12.0 <= 20.7.0" + "node": ">= 18.12.0 <= 20.8.0" }, "main": "lib/index.js", "license": "Apache-2.0",