Skip to content

Introduce global engines entries for node and npm - #370

Merged
kaisalmen merged 2 commits into
mainfrom
engines-update
May 31, 2022
Merged

Introduce global engines entries for node and npm#370
kaisalmen merged 2 commits into
mainfrom
engines-update

Conversation

@kaisalmen

@kaisalmen kaisalmen commented May 30, 2022

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

Good idea 👍

btw, what about adding the volta config as well?

@kaisalmen

Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread package.json
"node": ">=16.0.0",
"npm": ">=7.10.0"
},
"volta": {

Copy link
Copy Markdown
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
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Awesome!

@CGNonofr CGNonofr left a comment

Copy link
Copy Markdown
Collaborator

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.

2 participants