Skip to content

Conversation

@pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Feb 15, 2025

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

"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.'",
Copy link
Contributor Author

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": [
Copy link
Contributor Author

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.

pjonsson added a commit to pjonsson/terriajs that referenced this pull request Feb 16, 2025
This mirrors the TerriaMap PR:
TerriaJS/TerriaMap#728

Fixes TerriaJS#6453
pjonsson added a commit to pjonsson/terriajs that referenced this pull request Feb 16, 2025
This mirrors the TerriaMap PR:
TerriaJS/TerriaMap#728

Fixes TerriaJS#6453
pjonsson added a commit to pjonsson/terriajs that referenced this pull request Feb 16, 2025
This mirrors the TerriaMap PR:
TerriaJS/TerriaMap#728

Fixes TerriaJS#6453
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.

Docker build fails on 500 Internal Server Error response

1 participant