chromatic-cli icon indicating copy to clipboard operation
chromatic-cli copied to clipboard

Support detection of pnpm-lock.yaml files for TurboSnap

Open Niznikr opened this issue 1 year ago • 3 comments

Feature request

TurboSnap currently detects and evaluates yarn and npm lockfiles to avoid re-testing everything if possible. This should also be supported for projects using pnpm.

Proposed solution

Update this bit of code and related tests to ensure pnpm-lock.yaml are supported.

Niznikr avatar Jul 10 '23 13:07 Niznikr

I believe also should be changed here

On real prod repos where pnpm is used this affects a lot the expenses unfortunately and would be great to solve it ASAP. Meantime I think we will try to generate a yarn/npm lock file to avoid full execution of the snapshots

vladsovetov avatar Aug 21 '23 15:08 vladsovetov

Since Next.js is heavily using pnpm in the examples, I wonder when the pnpm-lock file will be included on TurboSnap?

lapa182 avatar Nov 09 '23 17:11 lapa182

Please fix this!

kevinlandsberg avatar Feb 29 '24 16:02 kevinlandsberg