chromaui / chromatic-cli

Chromatic CLI: `npx chromatic`
https://www.chromatic.com/docs/cli
MIT License
288 stars 71 forks source link

Support detection of pnpm-lock.yaml files for TurboSnap #785

Open Niznikr opened 1 year ago

Niznikr commented 1 year ago

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.

vladsovetov commented 1 year ago

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

lapa182 commented 11 months ago

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

kevinlandsberg commented 7 months ago

Please fix this!