From 12f3b7fb7d4ce9fb96f6653feb4a466a2d083702 Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 27 Jun 2025 12:48:07 +0200 Subject: [PATCH 1/4] Vagrant VM: upgrade to Node 24 --- Vagrantfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 95080a112..575bf8e66 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -2,7 +2,7 @@ $frontend = <<-SHELL #!/bin/bash -eux # Enable the NodeSource repository - curl -sL https://deb.nodesource.com/setup_22.x | bash - + curl -sL https://deb.nodesource.com/setup_24.x | bash - # Generate list of installed packages dpkg -l | awk '$1 == "ii" { printf "%s\\n", $2 }' > /vagrant/vm_apt_installed.txt @@ -192,6 +192,8 @@ $epub = <<-SHELL rm *.tar.gz done + rm -f ${path_ada_toolchain_default}/* + ln -sf ${path_ada_toolchain_root}/gnat/${default_version_gnat} ${path_ada_toolchain_default}/gnat ln -sf ${path_ada_toolchain_root}/gnatprove/${default_version_gnatprove} ${path_ada_toolchain_default}/gnatprove ln -sf ${path_ada_toolchain_root}/gprbuild/${default_version_gprbuild} ${path_ada_toolchain_default}/gprbuild From cbb0a2ecb87286540f6e9b81a3422414878ec6bc Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 27 Jun 2025 12:48:45 +0200 Subject: [PATCH 2/4] Vagrant VM: upgrading to nodejs 24.x package --- frontend/vm_apt_epub.txt | 2 +- frontend/vm_apt_web.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/vm_apt_epub.txt b/frontend/vm_apt_epub.txt index f92d874ff..de61ee8ea 100644 --- a/frontend/vm_apt_epub.txt +++ b/frontend/vm_apt_epub.txt @@ -811,7 +811,7 @@ netplan-generator=1.1.2-2~ubuntu24.04.1 netplan.io=1.1.2-2~ubuntu24.04.1 networkd-dispatcher=2.2.4-1 nftables=1.0.9-1build1 -nodejs=22.16.0-1nodesource1 +nodejs=24.3.0-1nodesource1 ntfs-3g=1:2022.10.3-1.2ubuntu3 numactl=2.0.18-1build1 open-iscsi=2.1.9-3ubuntu5.3 diff --git a/frontend/vm_apt_web.txt b/frontend/vm_apt_web.txt index ad4fa41c5..2e7766307 100644 --- a/frontend/vm_apt_web.txt +++ b/frontend/vm_apt_web.txt @@ -660,7 +660,7 @@ netplan-generator=1.1.2-2~ubuntu24.04.1 netplan.io=1.1.2-2~ubuntu24.04.1 networkd-dispatcher=2.2.4-1 nftables=1.0.9-1build1 -nodejs=22.16.0-1nodesource1 +nodejs=24.3.0-1nodesource1 ntfs-3g=1:2022.10.3-1.2ubuntu3 numactl=2.0.18-1build1 open-iscsi=2.1.9-3ubuntu5.3 From 5885a30e9b682e9839ae90051a39e47894e81b7c Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 27 Jun 2025 12:52:19 +0200 Subject: [PATCH 3/4] Frontend: upgrading to Node/NPM 24.x --- frontend/package.json | 2 +- frontend/yarn.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 2fa4afa4e..ea7977759 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -30,7 +30,7 @@ "@types/jsdom": "^21.1.7", "@types/jszip": "^3.4.1", "@types/mocha": "^10.0.10", - "@types/node": "^22.15.2", + "@types/node": "^24.0.4", "@typescript-eslint/eslint-plugin": "^8.31.0", "@typescript-eslint/parser": "^8.31.0", "amd-loader": "^0.0.8", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index fae5a0a28..1448da751 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -2774,12 +2774,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.15.2": - version: 22.15.2 - resolution: "@types/node@npm:22.15.2" +"@types/node@npm:^24.0.4": + version: 24.0.4 + resolution: "@types/node@npm:24.0.4" dependencies: - undici-types: "npm:~6.21.0" - checksum: 10c0/39da31d5fc63b14fabd217bb8a921c4a7fc3d99f233440209f9fc2d5d736e8773f7efc65223e2fd0e8db8390b0baab9c0cd2e951c2ece8b237f07313ab3cf295 + undici-types: "npm:~7.8.0" + checksum: 10c0/590e8cb0ec59fb9cd566402120e690d87ecbdf57f1ee2b8493266121ed33aa4b25949a0c6156b84a6ffb9250baaf1f80e9af142da542ed603e6ee73fc4d1115f languageName: node linkType: hard @@ -8380,7 +8380,7 @@ __metadata: "@types/jsdom": "npm:^21.1.7" "@types/jszip": "npm:^3.4.1" "@types/mocha": "npm:^10.0.10" - "@types/node": "npm:^22.15.2" + "@types/node": "npm:^24.0.4" "@typescript-eslint/eslint-plugin": "npm:^8.31.0" "@typescript-eslint/parser": "npm:^8.31.0" ace-builds: "npm:^1.40.1" @@ -12938,10 +12938,10 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.21.0": - version: 6.21.0 - resolution: "undici-types@npm:6.21.0" - checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04 +"undici-types@npm:~7.8.0": + version: 7.8.0 + resolution: "undici-types@npm:7.8.0" + checksum: 10c0/9d9d246d1dc32f318d46116efe3cfca5a72d4f16828febc1918d94e58f6ffcf39c158aa28bf5b4fc52f410446bc7858f35151367bd7a49f21746cab6497b709b languageName: node linkType: hard From da9997427f2022350cdad9a73df874bae5d9e26b Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 27 Jun 2025 12:53:17 +0200 Subject: [PATCH 4/4] GitHub actions: upgrade to Node 24 --- .github/workflows/publish-learn-latest.yml | 2 +- .github/workflows/sphinx-books-tests.js.yml | 2 +- .github/workflows/sphinx-content-tests.js.yml | 2 +- .github/workflows/typescript-tests.js.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-learn-latest.yml b/.github/workflows/publish-learn-latest.yml index f21119b67..fed613aba 100644 --- a/.github/workflows/publish-learn-latest.yml +++ b/.github/workflows/publish-learn-latest.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: python-version: ['3.12'] - node-version: [22.x] + node-version: [24.x] steps: - name: Trigger publishing on learn-latest repo diff --git a/.github/workflows/sphinx-books-tests.js.yml b/.github/workflows/sphinx-books-tests.js.yml index 0de4275b9..074991499 100644 --- a/.github/workflows/sphinx-books-tests.js.yml +++ b/.github/workflows/sphinx-books-tests.js.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: python-version: ['3.12'] - node-version: [22.x] + node-version: [24.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/sphinx-content-tests.js.yml b/.github/workflows/sphinx-content-tests.js.yml index 635f05680..fecf4eeaf 100644 --- a/.github/workflows/sphinx-content-tests.js.yml +++ b/.github/workflows/sphinx-content-tests.js.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: python-version: ['3.12'] - node-version: [22.x] + node-version: [24.x] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/typescript-tests.js.yml b/.github/workflows/typescript-tests.js.yml index 815c4846c..92731ecae 100644 --- a/.github/workflows/typescript-tests.js.yml +++ b/.github/workflows/typescript-tests.js.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: python-version: ['3.12'] - node-version: [22.x] + node-version: [24.x] steps: - uses: actions/checkout@v4