From 48ff762a38dac190ec2bf01b8b2a0ed6bbd2e8d9 Mon Sep 17 00:00:00 2001 From: hw Date: Fri, 20 Dec 2024 22:52:41 -0500 Subject: [PATCH] chore: switch to Node 22 --- .ddev/config.yaml | 1 - .github/workflows/ci.yml | 2 +- .platform.app.yaml | 2 +- web/themes/custom/contribtracker/gulpfile.js | 2 +- web/themes/custom/contribtracker/package-lock.json | 1 + 5 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.ddev/config.yaml b/.ddev/config.yaml index 4c4ad94d..f3c80856 100644 --- a/.ddev/config.yaml +++ b/.ddev/config.yaml @@ -18,7 +18,6 @@ web_environment: - PLATFORM_PROJECT=brbqplxd7ycq6 corepack_enable: false ddev_version_constraint: ">= 1.23.3" # We need this for MariaDB 11.4 compatibility. -nodejs_version: "20" # Key features of DDEV's config.yaml: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d396d6b6..29a488bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: frontend_codequality: runs-on: ubuntu-latest - container: node:20 + container: node:lts steps: - name: Check out repository code uses: actions/checkout@v4 diff --git a/.platform.app.yaml b/.platform.app.yaml index a34f36f1..0cc09ae4 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -140,7 +140,7 @@ hooks: build: | set -e # Install the latest lts - n 20 + n lts # Reset the location hash to recognize the newly installed version hash -r diff --git a/web/themes/custom/contribtracker/gulpfile.js b/web/themes/custom/contribtracker/gulpfile.js index 8ca1b05c..d5398781 100644 --- a/web/themes/custom/contribtracker/gulpfile.js +++ b/web/themes/custom/contribtracker/gulpfile.js @@ -2,7 +2,7 @@ import gulp from 'gulp'; import config from './gulp-tasks/config.js'; import scss from './gulp-tasks/scss.js'; -import ts from './gulp-tasks/ts.js' +import ts from './gulp-tasks/ts.js'; import svg from './gulp-tasks/svg.js'; import pretty from './gulp-tasks/prettier.js'; import lint from './gulp-tasks/lint.js'; diff --git a/web/themes/custom/contribtracker/package-lock.json b/web/themes/custom/contribtracker/package-lock.json index 2cdcaf8c..959019b1 100644 --- a/web/themes/custom/contribtracker/package-lock.json +++ b/web/themes/custom/contribtracker/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "contribtracker", "version": "1.0.0", "dependencies": { "select2": "^4.1.0-rc.0"