Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[JENKINS-75279] Bump version of node to 22.x and npm to 10.9.x #1113

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

PereBueno
Copy link
Contributor

@PereBueno PereBueno commented Feb 13, 2025

As per https://issues.jenkins.io/browse/JENKINS-75279
Bumping

  • node 20.13.1 --> 22.13.1
  • npm 10.8.0 --> 10.9.2

to avoid hung pipelines during CI.

Once this is merged I'll create 3 downstream PRs (bootstrap5, analysis-model-api and jquery3 plugins)to use this parent

Testing done

Manually built 2 child plugins (bootstrap5 and jquery3) using this parent.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@PereBueno
Copy link
Contributor Author

@uhafner I checked the plugins inheriting from this one and the list is quite bigger than I thought, will update them gradually if it's ok for you

@uhafner
Copy link
Member

uhafner commented Feb 13, 2025

There is no need to update the plugins manually. Dependabot will do this automatically for us!

@@ -57,8 +57,8 @@
<pmd.skip>false</pmd.skip>

<!-- NPM and node versions for frontend-maven-plugin -->
<node.version>20.13.1</node.version>
<npm.version>10.8.0</npm.version>
<node.version>22.13.1</node.version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the website v22.14.0 is listed as latest?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked here and found

{
    "version": "v22.13.0",
    "date": "2025-01-06",
    "files": [
      "aix-ppc64",
      "headers",
      "linux-arm64",
      "linux-armv7l",
      "linux-ppc64le",
      "linux-s390x",
      "linux-x64",
      "osx-arm64-tar",
      "osx-x64-pkg",
      "osx-x64-tar",
      "src",
      "win-arm64-7z",
      "win-arm64-zip",
      "win-x64-7z",
      "win-x64-exe",
      "win-x64-msi",
      "win-x64-zip",
      "win-x86-7z",
      "win-x86-exe",
      "win-x86-msi",
      "win-x86-zip"
    ],
    "npm": "10.9.2",
    "v8": "12.4.254.21",
    "uv": "1.49.2",
    "zlib": "1.3.0.1-motley",
    "openssl": "3.0.15+quic",
    "modules": "127",
    "lts": "Jod",
    "security": false
  },
  {
    "version": "v22.12.0",
    "date": "2024-12-02",
    "files": [
      "aix-ppc64",
      "headers",
      "linux-arm64",
      "linux-armv7l",
      "linux-ppc64le",
      "linux-s390x",
      "linux-x64",
      "osx-arm64-tar",
      "osx-x64-pkg",
      "osx-x64-tar",
      "src",
      "win-arm64-7z",
      "win-arm64-zip",
      "win-x64-7z",
      "win-x64-exe",
      "win-x64-msi",
      "win-x64-zip",
      "win-x86-7z",
      "win-x86-exe",
      "win-x86-msi",
      "win-x86-zip"
    ],
    "npm": "10.9.0",
    "v8": "12.4.254.21",
    "uv": "1.49.1",
    "zlib": "1.3.0.1-motley",
    "openssl": "3.0.15+quic",
    "modules": "127",
    "lts": "Jod",
    "security": false
  }

So v22.13.0 or higher (using 22.13.1 because I have already checked that with another plugin)

@uhafner uhafner added the dependencies Update of dependencies label Feb 13, 2025
@uhafner uhafner changed the title [JENKINS-75279] using node 22 and npm 10.9.2 [JENKINS-75279] Bump version of node to 22.x and npm to 10.9.x Feb 13, 2025
@uhafner uhafner merged commit 7d4c67f into jenkinsci:main Feb 13, 2025
19 of 20 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants