-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Continuation of PR 727 - chore(package.json): Update dependencies and node version #757
Conversation
* patch!: use the version of node in the documentation So, hear me out. Inside README.md you claim that the project needs node v20.9.0+. But package.json specifies that it needs to be EXACTLY node 20.0.0 I updated the field in the package.json to use the correct version of node. Or range of versions, for that matter. * chore(yarn): use latest stable yarn Yarn 4 is so much faster and more efficient than yarn 1, and its dependency resolution algorythm is more secure. But I understand if you would like to keep the older versions. * patch(ci): did you know `actions/setup-node` can do caching for you? * fix: add `moment-timezone` as a dependency * ci: update caching accordingly for next builds * merge: resolved conflicts * revert: Restored the `yarn install` * patch(package.json): pin node to `^20.9.0` * patch: the second yarn install * fix: pinned node version to 20.9.0 in all github actions * fix: ah yes I forgot about the `@types` thanks for that one Co-authored-by: Alok Gupta <[email protected]> * fix: removed the next-plausible and updated lockfile * patch: updated lockfile after upstream update --------- Co-authored-by: Alok Gupta <[email protected]>
Deploying website with Cloudflare Pages
|
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.
.yarn
and .yarnrc.yml
shouldn't be checked in. It looks like you have .yarn
in .gitignore
but for some reason .yarn/releases/yarn-4.2.2.2.cjs
is getting checked in.
I notice that there are changes to styles/globals.css
in this PR. Is that a mistake? It doesn't seem to have anything to do with this PR.
Thanks for the reply Jason. It seems that .yarn/releases/. should be added to the repos as recommended in the yarn docs: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
When testing everything I found an unexpected bug with the lens icon of the search buttons in the landing page and this change is required to get it fixed. |
Committing large binarys in git is considered bad practice. Committing external dependencies in your project is considered bad practice. So, I had to look into what was going on here. It looks like yarn has changed how they recommend installing yarn and you ended up using an out-dated approach. The current recommendation is that The older way of installing yarn installed the binary to the You seem to have ended up using this older install method instead of using |
Hello! 👋 This pull request has been automatically marked as stale due to inactivity 😴 It will be closed in 180 days if no further activity occurs. To keep it active, please add a comment with more details. There can be many reasons why a specific pull request has no activity. The most probable cause is a lack of time, not a lack of interest. Let us figure out together how to push this pull request forward. Connect with us through our slack channel : https://json-schema.org/slack Thank you for your patience ❤️ |
Closed in favour of #842 |
The PR #727 was merged into web-node-20-9-0 branch to make some test of the node and yarn version in cloudflare.
Now that everything works this PR is intended to promote the change to the main branch.