feat: update PNPM version handling in Dockerfile - #96
Conversation
| ARG PYTHON_VERSION=3.14 | ||
| ARG OS_VERSION=trixie | ||
| ARG NODE_VERSION=24 | ||
| ARG PNPM_VERSION=latest-10 |
70712f1 to
1989e04
Compare
fenekku
left a comment
There was a problem hiding this comment.
And then on invenio-cli side we can inject WEBPACKEXT_NPM_PKG_CLS .
3efb141 to
505356e
Compare
* Redeclare PNPM_VERSION in the Dockerfile for scoping. * Use PNPM_VERSION variable in the npm install command.
505356e to
c3caf81
Compare
|
Thanks for identifying these non-obvious behaviours @Samk13! I am happy to merge Friday morning (or you can when you feel appropriate). |
|
invenio-cli handles this already with javascript_package_manager in there is also the variable and rspack is configured over and inveniosoftware/invenio-cli#385 explains why rspack is configured in |
|
Reading through the pnpm docs, it looks like we could potentially simplify this Dockerfile further by relying on Since we're already standardizing on pnpm, that could let us drop the NodeSource setup and the Might be worth exploring in a follow-up if it aligns with our support and deployment expectations. WDYT @fenekku @utnapischtim? |
❤️ Thank you for your contribution!
Description
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Frontend
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: