volto icon indicating copy to clipboard operation
volto copied to clipboard

Update pnpm-lock.yaml

Open wesleybl opened this issue 4 months ago • 6 comments

When I ran pnpm install the file was updated

wesleybl avatar Mar 06 '24 18:03 wesleybl

Deploy Preview for plone-components canceled.

Name Link
Latest commit e26b14e1701db6654f9dadffab4fac46cb0c2b44
Latest deploy log https://app.netlify.com/sites/plone-components/deploys/65e8b88490b35c0008979fac

netlify[bot] avatar Mar 06 '24 18:03 netlify[bot]

Deploy Preview for volto canceled.

Name Link
Latest commit e26b14e1701db6654f9dadffab4fac46cb0c2b44
Latest deploy log https://app.netlify.com/sites/volto/deploys/65e8b884f04dbf000817b4d0

netlify[bot] avatar Mar 06 '24 18:03 netlify[bot]

@sneridagh Hmm, how did this happen?

davisagli avatar Mar 06 '24 18:03 davisagli

@wesleybl I just run it in main and for me it did not change. However, @stevepiercy also noted that behavior sometimes. I changed recently the yarnhook for a custom script that does something more appropiate on git checkouts, than it used to be, so now it should be better.

I just run pnpm install in main, and it did not changed anything for me. Make sure you are using the corepack pnpm version (this one uses the pnpm version specified in the package.json file). Remove any other pnpm installation from your machine. Don't know if that is the cause of it but it's quite strange.

sneridagh avatar Mar 06 '24 21:03 sneridagh

@davisagli did it change for you if you run it now?

sneridagh avatar Mar 06 '24 21:03 sneridagh

I read that pnpm install does more things than yarn install used to do (mainly changing internal metadata, not the versions themselves). I also saw that for something as the hook on git change is better:

pnpm install --prefer-offline --frozen-lockfile --no-verify-store-integrity

See: https://github.com/pnpm/pnpm/issues/6229#issuecomment-1475290177

sneridagh avatar Mar 06 '24 21:03 sneridagh

I was on pnpm 8.15.1 and upgraded to 8.15.4. So the file was not updated. Sorry for the noise.

wesleybl avatar Mar 07 '24 19:03 wesleybl