-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Chore] Dependencies upgrade #50
base: develop
Are you sure you want to change the base?
Conversation
Except Vercel cos’ it still fails
.nvmrc
Outdated
@@ -0,0 +1 @@ | |||
v20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JayPanoz Why are we using an older Node version? v22 is the active LTS, v23 is the current latest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I'm afraid that was me focusing on Cloudflare's default 18.7.x
version and forgetting about the LTS release in October.
Will switch to lts/*
and see if that works for it so that we don't have too keep the nvmrc updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And Cloudflare doesn’t like it:
08:12:33.063 Installing nodejs lts/*
08:12:33.128 mkdir: cannot create directory '/opt/buildhome/.asdf/installs/nodejs/lts/*': No such file or directory
08:12:33.605 Trying to update node-build... ok
08:12:33.638 node-build: definition not found: 20
08:12:33.645 Error: Exit with error code: 1
08:12:33.645 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
08:12:33.646 at Object.onceWrapper (node:events:652:26)
08:12:33.646 at ChildProcess.emit (node:events:537:28)
08:12:33.646 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
08:12:33.656 Failed: build command exited with code: 1
08:12:34.347 Failed: error occurred while running build command
Note: It seems to resolve to 22.8 when setting v22
Deploying playground with Cloudflare Pages
|
This PR aims to upgrade dependencies to their latest version (NextJS 15, React 19, etc.). It also leverages this opportunity to remove unused dependencies.
Note CF deploy is still impacted by the issue listed in #34 so Vercel is being kept to get around this issue.
The project should be buildable and deployable (deps-upgrade.playground-7xz.pages.dev), and should not create new issues.
I’ll request a review though, given there are major version bumps, in the hope we can confirm everything is fine for every consumer of the project.