-
Notifications
You must be signed in to change notification settings - Fork 299
Update to yarn v2 #728
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
base: main
Are you sure you want to change the base?
Update to yarn v2 #728
Conversation
| "docker-build-ci": "node deploy/docker/create-docker-context.js --build", | ||
| "start": "terriajs-server --config-file serverconfig.json", | ||
| "gulp": "gulp", | ||
| "postinstall": "echo 'Installation successful. What to do next:\\n yarn gulp dev # Starts the server on port 3001, builds TerriaMap and dependencies, and rebuilds if files change.'", |
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.
The wording in the yarn documentation is quite strong to avoid postinstall scripts (https://v3.yarnpkg.com/advanced/lifecycle-scripts#a-note-about-postinstall), and since this is just an echo statement I removed it.
| "packages/plugin-api", | ||
| "packages/plugin-sample" | ||
| ], | ||
| "nohoist": [ |
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.
This has moved to the nmHoistingLimits in yarnrc.yml. Someone who uses workspaces should test that it still works as intended.
This mirrors the TerriaMap PR: TerriaJS/TerriaMap#728 Fixes TerriaJS#6453
This mirrors the TerriaMap PR: TerriaJS/TerriaMap#728 Fixes TerriaJS#6453
This mirrors the TerriaMap PR: TerriaJS/TerriaMap#728 Fixes TerriaJS#6453
fe8cdf6 to
2ad90a6
Compare
Depends on: #718 (upgrade to node 20+)
Link to documentation on why to upgrade: https://yarnpkg.com/getting-started/qa#why-should-you-upgrade-to-yarn-modern
Fixes #705