Commit 36726d6
Upgrade nodejs runtime to 16.x (v2 branch) (#184)
* Upgrade to aws-cdk-lib 2.28.0 which includes support for NODEJS_16_X in CustomResourceProviderRuntime
* Upgrade all code to use NODEJS_16_X instead of NODEJS_14_X.
* Upgrade all code to use NODEJS_16_X instead of NODEJS_12_X.
* Updated top level dependencies.
- Updated Lerna to the latest version.
- Updated Webpack dependency in cdkdx which has an SSL security issue hupe1980/cdkdx#22.
- Updated ClamAV version for Ubuntu run in Docker. Version `0.103.11-1.el7` is no longer available.
- Added build instructions to README.
* Use Node v18 and v20 for build. Versions 14 and 16 are EOL as of 2024.
* Grant permission to access Docker socket. Docker is required to build some of the packages. Must grant permissions to the socket.
* Specify the exact tag because `latest` is unavailable.
- Issue reported in aws/jsii#3505.
- Upstream https://hub.docker.com/r/jsii/superchain recommends the `1-bullseye-slim` version.
Build results:
```
Lerna (powered by Nx) Successfully ran target build for 45 projects (2m)
✨ Done in 113.17s.
```
Test results:
```
Test Suites: 42 passed, 42 total
Tests: 106 passed, 106 total
Snapshots: 64 passed, 64 total
Time: 7.664 s
Ran all test suites in 27 projects.
✨ Done in 10.13s.
```
Co-authored-by: Esen Sagynov <esen@mancho.dev>1 parent 9970609 commit 36726d6
99 files changed
Lines changed: 1020 additions & 826 deletions
File tree
- .vscode
- examples
- blue-green-container-deployment-example
- cloudfront-authorization-example
- codecommit-backup-example
- codepipeline-check-parameter-action-example
- codepipeline-merge-action-example
- codepipeline-slack-approval-example
- container-audit-example
- contentful-webhook-example
- dependency-check-example
- dynamodb-seeder-example
- github-webhook-example
- notifications-example
- pull-request-example
- responsive-email-template-example
- s3-antivurs-example
- static-website-example
- stripe-webhook-example
- temp-stack-example
- wordpress-example
- packages
- cdk-blue-green-container-deployment
- src
- __tests__
- __snapshots__
- cdk-chatops
- src
- cdk-cloudfront-authorization
- src
- __tests__/__snapshots__
- cdk-codecommit-backup
- src/__tests__/__snapshots__
- cdk-codepipeline-anchore-inline-scan-action
- src/__tests__/__snapshots__
- cdk-codepipeline-check-parameter-action
- src
- __tests__/__snapshots__
- cdk-codepipeline-dockerfile-linter-action
- src/__tests__/__snapshots__
- cdk-codepipeline-merge-action
- src
- __tests__/__snapshots__
- cdk-codepipeline-slack
- src
- __tests__/__snapshots__
- cdk-container-registry
- src
- __tests__/__snapshots__
- cdk-contentful-webhook
- src
- __tests__/__snapshots__
- cdk-deletable-bucket
- src
- __tests__/__snapshots__
- cdk-dependency-check
- cdk-developer-tools-notifications
- cdk-dynamodb-seeder
- src
- __tests__/__snapshots__
- cdk-github-webhook
- src
- __tests__/__snapshots__
- cdk-lambda-at-edge-pattern
- src
- __tests__/__snapshots__
- cdk-pull-request-approval-rule
- src
- __tests__/__snapshots__
- cdk-pull-request-check
- src
- __tests__/__snapshots__
- cdk-responsive-email-template
- cdk-s3-antivirus
- src
- cdk-secret-key
- cdk-static-website
- src/__tests__/__snapshots__
- cdk-stripe-webhook
- src
- __tests__/__snapshots__
- cdk-temp-stack
- src
- __tests__/__snapshots__
- cdk-wordpress
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
0 commit comments