0.2.2 • Published 7 years ago

use-yarn-instead v0.2.2

Weekly downloads
416
License
ISC
Repository
-
Last release
7 years ago

use-yarn-instead

unstable

This package is a playground for technically enforcing the use of yarn instead of npm on a project. You can read @farisj's use case to get a kind of rationale for it.

You should probably not be using this!

Usage

The published package hooks up to the postinstall npm hook and displays a message when a developer runs npm install instead of yarn install. The problem with this is that it does not stop the installation process. Also, the warning will be superseeded by a massive package depenceny graph, which will almost guaranteedly make people miss it.

Example:

$ npm install

# npm output...

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

       Psst, use `yarn` instead

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

# npm graph...

$
0.2.2

7 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago