What is the current behavior?
Considering all of the open issues discussing issue with git repositories, I can tell yarn doesn't support them very well. But, nonetheless I couldn't find anything discussing this.
When running npm list where you have a git dependency (ex. discordjs/discord.js), it will list the current hash next to the git dependency.
Here's an example of npm list discord.js vs yarn list discord.js
// YARN
yarn list v1.9.0-20180706.1017
└─ discord.js@12.0.0-dev
If the current behavior is a bug, please provide the steps to reproduce.
Install any git module. I tested with discordjs/discord.js via yarn install discordjs/discord.js & npm install discordjs/discord.js
List said module. For my tests npm list discord.js and yarn list discord.js were the two commands.
What is the expected behavior?
I'd expect it to list the hash of what I currently have downloaded. This makes it very difficult to know what hash I am on on the indev version, which results in me needing to use npm to install the module just so I can get support.
Please mention your node.js, yarn and operating system version.
Do you want to request a feature or report a bug?
A mix between both?
What is the current behavior? Considering all of the open issues discussing issue with git repositories, I can tell yarn doesn't support them very well. But, nonetheless I couldn't find anything discussing this.
When running
npm list
where you have a git dependency (ex.discordjs/discord.js
), it will list the current hash next to the git dependency.Here's an example of
npm list discord.js
vsyarn list discord.js
If the current behavior is a bug, please provide the steps to reproduce.
discordjs/discord.js
viayarn install discordjs/discord.js
&npm install discordjs/discord.js
npm list discord.js
andyarn list discord.js
were the two commands.What is the expected behavior? I'd expect it to list the hash of what I currently have downloaded. This makes it very difficult to know what hash I am on on the indev version, which results in me needing to use npm to install the module just so I can get support.
Please mention your node.js, yarn and operating system version.