Repository navigation
Conversation
…al linked repositories.
- corepack is installing it's managed dependencies globally. With npx, we keep the dependencies locally. - pnpm uses the pinned version from ``packageManager`` from the second run on, once npx has downloaded the initial version. - We now can use `pnpm self-update` to update the ``packageManager`` version pin.
|
If I understood the concepts correctly So if npx pins pnpm also to the But since corepack is the recommended prerequisite in plone installations anyways (regarding the docs) I'd rather keep it. |
|
current versions of pnpm up/downgrade the version to what packageManager has defined. Also, Node 25 doesn't ship with corepack anymore (which doesn't affect us, as we're installing it explicitly). But for me, that corepack is installing it's managed tools globally is quite a no-go. I want my global node (resp - the node fnm or nvm are using for that current project) clean and without any tools I didn't explicitly installed there. So I'm 👍 removing corepack 🙃 However, I can also remove that one commit from this PR and I need to remember that I never run |
|
There is a follow-up with less ambiguousness #1657 |
|
Ok. I just read this one https://pnpm.io/package_json#devenginespackagemanager maybe we should move to this direction ... as long as its documented somewhere I'm now fine with removing corepack also 👍🏼 |
|
To tell the truth... I am completely lost on npm, yarn, pnpm, corepack etc. |
|
We should update the make targets accordingly to have a sane install/watch/build/serve experience regardless of the packagemanager and dependency madness. |
@petschki @MrTango @erral I'd like to switch away from corepack because corepack is installing it's managed depenencies globally. That puzzled me, when I wanted to use pnpm elsewhere and it was on version 10 instead of what I expected to be version 12.
Is that move OK for everyone? I don't really understand the advantages of corepack over
npx pnpm, so if there is a drawback, let me know.maint(Makefile): Use pnpm unlink recursive intead of defining potential linked repositories.
maint(Makefile): Use npx instead of corepack.
we keep the dependencies locally.
packageManagerfrom the secondrun on, once npx has downloaded the initial version.
pnpm self-updateto update thepackageManagerversion pin.
maint: Update pnpm to 12.6.0.
maint: Update dependencies.
maint: Update CI dependencies.