Closed (fixed)
Project:
BS Base
Version:
8.x-1.x-dev
Component:
BS Base
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2024 at 17:57 UTC
Updated:
26 Sep 2024 at 20:24 UTC
Jump to comment: Most recent
We are not using pnpm for a long time now, lock files are removed, etc. We should also remove pnpm from build step in package.json:
"build-install": "((type pnpm && pnpm install) || npm install)",
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
pivica commentedActually just figured we removed it from our custom child themes that are using bs_bootstrap theme. However I just noticed we still have pnpm-lock.yaml in bs_base and it is making problems if you used `npm install` and then `npm run build` which will try to use pnpm first if available and throw all kind of errors because of previous `npm install`.
Also npm feels much faster now and there are no benefits using pnpm in ddev enviroment, so let's remove pnpm support now and not latter. You can still use it in your custom themes if needed, just edit your child themes package.json and bring back pnpm there in build scripts.
Comment #5
pivica commentedMerged.