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

[PORT] Updates Node bootstrapping to v20 #2360

Conversation

LikeLakers2
Copy link
Contributor

@LikeLakers2 LikeLakers2 commented Jun 22, 2024

About The Pull Request

Ports the following PRs:

Why It's Good For The Game

Node v20 LTS is newer, which will presumably bring speed and stability improvements with it. Additionally, this brings our build system more into parity with tgstation.

Changelog

No user-facing changes.

Any branches that include this change will automatically vendor and use the new version of Node. If the user has an old copy of Node v14, that copy will be untouched. If a user wishes to delete the old v14 version, they can find it at tools/bootstrap/.cache/.

Note that while I have tested to ensure this will successfully build, I have NOT tested if this will break anything, as the potential surface area seems much too large to test on my own.

jlsnow301 and others added 4 commits June 21, 2024 22:52
## About The Pull Request
By default this will install node v20 LTS, but if a user is detected to
be using win 7 it's node v14

This lets us run higher node versions (with presumably more stable and
performant content) while allowing win 7 users to play

I should note that this is making clean tgui builds run at ~6.7sec which
is about a 6.9% speed increase (nice) from the previous #80310
## Why It's Good For The Game
Better tools
## Changelog
N/A nothing player facing
"Compat" node version didn't work at all
## About The Pull Request
Puts a switch inside our build tools that will download the appropriate
node version based on your OS.

#82334

## Why It's Good For The Game
Closes #83076
Allows players to play the game
This wasn't working for me because `OSMajor` was set to a string, not a
number, so it failed the if check.

Making this change made it work
@dwasint dwasint merged commit e1e86c4 into Monkestation:master Jun 26, 2024
25 checks passed
@LikeLakers2 LikeLakers2 deleted the project/ports-submitted/node-bootstrap-updates branch June 29, 2024 10:53
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.

5 participants