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

Introduce global engines entries for node and npm #370

Merged
merged 2 commits into from
May 31, 2022
Merged

Conversation

kaisalmen
Copy link
Collaborator

@kaisalmen kaisalmen commented May 30, 2022

Shouldn't we generally stick to node LTS? npm 7.10.0 is the npm version bundled with node 16.0.0 that's why I choose that version number.

@CGNonofr
Copy link
Collaborator

Good idea 👍

btw, what about adding the volta config as well?

@kaisalmen
Copy link
Collaborator Author

btw, what about adding the volta config as well?

I didn't know that one. I had to look it up. It makes sense. Do you use it and do you recommend it? I am working with Windows/Linux (WSL2) hybrid machines, so I am always interested in things that work in both worlds.

@CGNonofr
Copy link
Collaborator

btw, what about adding the volta config as well?

I didn't know that one. I had to look it up. It makes sense. Do you use it and do you recommend it? I am working with Windows/Linux (WSL2) hybrid machines, so I am always interested in things that work in both worlds.

Yes we do use volta everywhere at CodinGame for some months

"node": ">=16.0.0",
"npm": ">=7.10.0"
},
"volta": {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I pinned the latest version of node and npm. Is that ok?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Awesome!

Copy link
Collaborator

@CGNonofr CGNonofr left a comment

Choose a reason for hiding this comment

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

LGTM

@kaisalmen kaisalmen merged commit 8568f8b into main May 31, 2022
@kaisalmen kaisalmen deleted the engines-update branch May 31, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants