Skip to content
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

Upgrade to webpack v5 #22

Open
hupe1980 opened this issue Oct 17, 2021 · 1 comment
Open

Upgrade to webpack v5 #22

hupe1980 opened this issue Oct 17, 2021 · 1 comment

Comments

@hupe1980
Copy link
Owner

No description provided.

@kadishmal
Copy link

kadishmal commented Mar 21, 2024

Webpack 4.46.0 depends on the outdated loader-runner which has issues with the SSL certificate https://stackoverflow.com/a/73027407/556678. Updating to 4.47.0 should fix the issue.

kadishmal pushed a commit to kadishmal/cdk-constructs that referenced this issue Mar 21, 2024
- 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.

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.
```
kadishmal pushed a commit to cloudcomponents/cdk-constructs that referenced this issue Mar 21, 2024
- 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.

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.
```
kadishmal pushed a commit to cloudcomponents/cdk-constructs that referenced this issue Mar 22, 2024
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants