Yarn: Request feature for yarn t to act like npm t --shortcut for yarn test

Created on 12 Oct 2016  路  7Comments  路  Source: yarnpkg/yarn

Yarn version 0.15.1

Requesting feature for shortcut yarn t

I know that there are other issues that are requesting aliases and shortcuts for certain commands.

I think we are all used to using npm and trying to use yarn as a drop in replacement.

This issue is a request for a feature for yarn t to act like npm t

cat-feature needs-discussion triaged

All 7 comments

Please checkout YarNPM, we can make this transform to this wrapper :) WIP

@kittens based on this comment and others, this doesn't appear to be something the team wants to support.

@bestander this seems a feature request, not a 'needs a triage', do we want support this?

@voxsim, feature requests we mark as "triaged" and "new-feature" and "discussion".

This one was discussed before.
As of now Yarn does not add shortcuts to commands, users can add scripts "t" to their package.json to achieve the same thing

@bestander sorry if asking in wrong thread but just didn't wanted to open another unrelated issue :)) Why yarn team decided to replace install with add ? Is there any topic about that ?

Yeah, I think it was discussed in the earlier issues.
We need to write a blog post about it :)

tl;dr install is a command that generates node_modules based on project's manifest and add/upgrade/remove are commands that change your manifest.
They have different semantics and intentions

Was this page helpful?
0 / 5 - 0 ratings