Dec 14th - Learn how Tecovas roped in success with Sanity and Shopify 🤠

Using Yarn.lock or Package-lock.json with Sanity Studio

3 replies
Last updated: Apr 15, 2021
Would it be possible to have the Sanity CLI respect the presence of either
and when a single lock file is present… Use that package manager? We use NPM basically everywhere and I’d love to not need to use
strictly when dealing with a Sanity Studio project.
It is a small thing, but as a paid product it would be a nice touch if this wasn’t an area we didn’t need to adjust our normal work flow.
Apr 14, 2021, 6:55 PM
We agree with the assertion and it's oft requested. Just a matter of finding the time.
Apr 14, 2021, 8:27 PM
I keep messing up my studio by running
npm i
then scratch my head for a minute when the studio crashes until I remember that I can’t use
in the studio
Apr 15, 2021, 1:55 AM
You can also follow this issue on GH
Apr 15, 2021, 7:10 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?

Categorized in