Folkwise-io / mintbean-cli

MIT License
13 stars 9 forks source link

Switch to yarn? #8

Closed monarchwadia closed 4 years ago

monarchwadia commented 4 years ago

yarn is much faster at doing install then npm is I suggest we switch to yarn This means we move from using package-lock.json to yarn.lock

clairefro commented 4 years ago

can yarn handle package versioning/publishing to npm?

monarchwadia commented 4 years ago

yes! https://classic.yarnpkg.com/en/docs/cli/publish/

monarchwadia commented 4 years ago

Not done yet because package-lock.json is still there. We should delete package-lock.json.

Do we want to switch to yarn for all the templates?

clairefro commented 4 years ago

Not done yet because package-lock.json is still there. We should delete package-lock.json.

Do we want to switch to yarn for all the templates?

Would we need to include yarn as a dev dependency in templates if we force it's usage?

KmBarnett commented 4 years ago

no I like the current option of allowing the user to chose but we should see if they even have yarn set up