Skip to content

Commit

Permalink
Upgrade LTC to Node 22 + upgrade some dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 18, 2024
1 parent 578bed7 commit 0d8692f
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .env.demo
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ LAYMAN_CLIENT_URL=http://layman_client:3000/client/

# client
LAYMAN_CLIENT_PUBLIC_URL=http://localhost/client/
LAYMAN_CLIENT_VERSION=v1.18.0
LAYMAN_CLIENT_VERSION=00c3ceac509354cd2d53fce30041e63e35efaa69

# extra hosts to be added to /etc/hosts
EXTRA_HOST1=1.2.3.4:1.2.3.4
Expand Down
2 changes: 1 addition & 1 deletion .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ LAYMAN_CLIENT_URL=http://layman_client:3000/client/

# client
LAYMAN_CLIENT_PUBLIC_URL=http://localhost:3000/client/
LAYMAN_CLIENT_VERSION=v1.18.0
LAYMAN_CLIENT_VERSION=00c3ceac509354cd2d53fce30041e63e35efaa69


##############################################################################
Expand Down
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ LAYMAN_CLIENT_URL=http://layman_client_test:3000/client/

# client
LAYMAN_CLIENT_PUBLIC_URL=http://layman_test_run_1:8000/client/
LAYMAN_CLIENT_VERSION=v1.18.0
LAYMAN_CLIENT_VERSION=00c3ceac509354cd2d53fce30041e63e35efaa69


##############################################################################
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '22'
- run: npm install --global remark-cli remark-validate-links remark-lint-no-dead-urls
- run: remark --version
- run: make remark
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v22
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
## v2.0.0
{release-date}
### Upgrade requirements
- Change environment variable [LAYMAN_CLIENT_VERSION](doc/env-settings.md#LAYMAN_CLIENT_VERSION):
```
LAYMAN_CLIENT_VERSION=00c3ceac509354cd2d53fce30041e63e35efaa69
```
### Migrations and checks
#### Schema migrations
#### Data migrations
### Changes
- [#1028](https://github.com/LayerManager/layman/issues/1028) Upgrade Node.js of Laymen Test Client from v18 to v22 and dependencies:
- eslint-config-next 13 -> 14
- next 13 -> 14
- semantic-ui-react 2 -> 3.0.0-beta.2
- All changes from [v1.23.1](#v1231) and [v1.23.2](#v1232).

## v1.23.2
Expand Down
2 changes: 1 addition & 1 deletion client/docker/Dockerfile.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:22-alpine

RUN mkdir /code
WORKDIR /code
Expand Down
4 changes: 2 additions & 2 deletions doc/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
| [firefox](https://www.mozilla.org/firefox/) | 95+ | MPL | Dockerfile | prod | bin | for client-side map rendering and integration testing |
| [firefox-geckodriver](https://www.ubuntuupdates.org/package/ubuntu_mozilla_security/bionic/main/base/firefox-geckodriver) | 95+ | MPL | Dockerfile | prod | bin | for client-side map rendering and integration testing |
| [pipenv](https://pypi.org/project/pipenv/) | 2020.11.15 | MIT | Dockerfile | prod | bin | to install Python dependencies |
| [node.js](https://nodejs.org/) | 18 | MIT | client/docker/Dockerfile | prod | bin | to run Layman Test Client |
| [node.js](https://nodejs.org/) | 22 | MIT | client/docker/Dockerfile | prod | bin | to run Layman Test Client |
| [node.js](https://nodejs.org/) | 16 | MIT | timgen/Dockerfile | prod | bin | to run Timgen |
| [npm](https://www.npmjs.com/get-npm) | 8 | Artistic License 2.0 | client/docker/Dockerfile | prod | bin | to install node.js dependencies |
| [npm](https://www.npmjs.com/get-npm) | 10 | Artistic License 2.0 | client/docker/Dockerfile | prod | bin | to install node.js dependencies |
| [gunicorn](https://gunicorn.org/) | 20 | MIT | requirements.production.txt | opt | bin | as Flask production server |
| [nginx](http://nginx.org/) | 1.16 | BSD 2-Clause | docker-compose.yml | opt | bin | as production server |

Expand Down

0 comments on commit 0d8692f

Please sign in to comment.