Is there a way to tell the Sanity CLI not to use Yarn?

3 replies
Last updated: Apr 29, 2020
Is there a way to tell the Sanity CLI not to use yarn?
Apr 29, 2020, 9:10 PM
Not at the moment unfortunately, but we have plans to get it either to use npm, or have user selectable.
Apr 29, 2020, 9:13 PM
I like how lerna.json has
"npmClient": "yarn"
as option to override the default (npm). sanity.json could use an option just like that.
Apr 29, 2020, 9:16 PM
Agree! It‘s not straight forward to rip yarn out of there because we have done some stuff to get nice logging etc. But it's definitively something we want to get sorted
Apr 29, 2020, 9:18 PM

Sanity.io – build remarkable experiences at scale

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

Categorized in