Skip to content

Commit

Permalink
tech(#3644): Upgrade node version from 18 to 20 (#3690)
Browse files Browse the repository at this point in the history
* tech(#3644): node version from 18 to 20

This raises the minimal node version from 18 to 20 (latest LTS).
  • Loading branch information
phanlezz authored Aug 13, 2024
1 parent 84609e9 commit c7ed141
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Build analysis
working-directory: ./analysis
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-visualization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Install wine
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Cache root node modules
uses: actions/cache@v3
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Cache node modules
uses: actions/cache@v3
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Cache node modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion DEV_START_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To work on CodeCharta, please ensure your system includes:

- Git
- Java >= 11, <= 21
- Node >= 18
- Node >= 20

# Install guide

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Latest Release: <br>

For using CodeCharta the following needs to be installed on your system:

- Node >= 18
- Node >= 20
- Java >= 11, <= 21

## How To Use
Expand Down
4 changes: 4 additions & 0 deletions analysis/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/)

## [unreleased] (Added 🚀 | Changed | Removed 🗑 | Fixed 🐞 | Chore 👨‍💻 👩‍💻)

### Chore 👨‍💻 👩‍💻

- Bump node version from 18 to 20 [#3690](https://github.com/MaibornWolff/codecharta/pull/3690)

## [1.126.0] - 2024-08-12

### Changed
Expand Down
3 changes: 3 additions & 0 deletions analysis/node-wrapper/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions analysis/node-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
},
"name": "codecharta-analysis",
"version": "1.126.0",
"engines": {
"node": ">=20"
},
"description": "MaibornWolff CodeCharta Analysis Tools",
"scripts": {
"prepare": "rm -rf ../build/install/codecharta-analysis public && ../gradlew -p .. installDist && cp -R ../build/install/codecharta-analysis public",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "codecharta",
"version": "0.0.2",
"engines": {
"node": ">=18"
"node": ">=20"
},
"description": "MaibornWolff CodeCharta placeholder",
"license": "BSD-3-Clause",
Expand Down
4 changes: 4 additions & 0 deletions visualization/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/)

## [unreleased] (Added 🚀 | Changed | Removed 🗑 | Fixed 🐞 | Chore 👨‍💻 👩‍💻)

### Chore 👨‍💻 👩‍💻

- Bump node version from 18 to 20 [#3690](https://github.com/MaibornWolff/codecharta/pull/3690)

## [1.127.1] - 2024-08-12

### Fixed 🐞
Expand Down
4 changes: 2 additions & 2 deletions visualization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can start with **Codecharta Visualization** on multiple ways:
## NPM Package

> Make sure you have [Node.js](https://nodejs.org/en/download) (version >=18) installed <br>
> Make sure you have [Node.js](https://nodejs.org/en/download) (version >=20) installed <br>
> For reference: [Codecharta-Visualization on NPM](https://www.npmjs.com/package/codecharta-visualization)
```bash
Expand Down Expand Up @@ -55,7 +55,7 @@ $ codecharta-visualization

## Build it yourself

> To clone and run this application, you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (version >=18) installed
> To clone and run this application, you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (version >=20) installed
```bash
# Clone the CodeCharta repo
Expand Down
2 changes: 1 addition & 1 deletion visualization/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion visualization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"name": "codecharta-visualization",
"version": "1.127.1",
"engines": {
"node": ">=18"
"node": ">=20"
},
"description": "MaibornWolff CodeCharta",
"files": [
Expand Down

0 comments on commit c7ed141

Please sign in to comment.