Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

docs: explain how to specify which npm version Renovate bot uses #8559

Conversation

HonkingGoose
Copy link
Collaborator

@HonkingGoose HonkingGoose commented Feb 5, 2021

Changes:

  • Explain how to tell Renovate which version of npm it should use

Context:

A user wanted to know what version of npm renovate uses for its PRs.
Turns out that there is no way to tell Renovate: "use the default version of npm that comes with the installed node version".

But @rarkins gave a solution: edit your package.json file to have a engines: npm field: #8553 (reply in thread)

I think this solution should be documented.

This can probably be removed once Renovate bot gets a bit smarter with the npm version selection???

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please tick one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added unit tests, or
  • No new tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

docs/usage/node.md Outdated Show resolved Hide resolved
docs/usage/node.md Outdated Show resolved Hide resolved
docs/usage/node.md Outdated Show resolved Hide resolved
docs/usage/node.md Outdated Show resolved Hide resolved
docs/usage/node.md Show resolved Hide resolved
@rarkins rarkins enabled auto-merge (squash) February 28, 2021 06:04
@rarkins rarkins merged commit 58dc33b into renovatebot:master Feb 28, 2021
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 24.67.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@HonkingGoose HonkingGoose deleted the docs/document-how-to-set-npm-version-used-by-renovate branch February 28, 2021 10:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants