Skip to content

Conversation

@arcanis
Copy link
Member

@arcanis arcanis commented Sep 18, 2019

Summary

This diff adds a (still undocumented, just like the existing ones) hook that gets triggered each time a yarn run command would run. This makes it possible to get basic informations about the scripts that are used the most, etc (note that this is not related to any kind of telemetrics - it's just a callback that you, as users, can set to whatever you want).

@buildsize
Copy link

buildsize bot commented Sep 18, 2019

File name Previous Size New Size Change
yarn-[version].noarch.rpm 1.18 MB 1.18 MB 9 bytes (0%)
yarn-[version].js 4.85 MB 4.85 MB 255 bytes (0%)
yarn-legacy-[version].js 5.05 MB 5.05 MB 343 bytes (0%)
yarn-v[version].tar.gz 1.18 MB 1.19 MB 1.83 KB (0%)
yarn_[version]all.deb 868.51 KB 868.83 KB 334 bytes (0%)

@arcanis arcanis merged commit 53783b5 into master Sep 18, 2019
@arcanis arcanis deleted the run-hook branch September 18, 2019 11:42
VincentBailly pushed a commit to VincentBailly/yarn that referenced this pull request Jun 10, 2020
* Adds an undocumented run hook

* Fixes lint
VincentBailly pushed a commit to VincentBailly/yarn that referenced this pull request Jun 10, 2020
* Adds an undocumented run hook

* Fixes lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants