Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scoped bin paths #2163

Merged
merged 2 commits into from
Dec 7, 2016
Merged

Fix scoped bin paths #2163

merged 2 commits into from
Dec 7, 2016

Conversation

gpoole
Copy link

@gpoole gpoole commented Dec 6, 2016

Summary

Fixes an issue with normalising string bin entries in package.json for scoped package names (fixes #1885, #2004). The behaviour here is consistent with NPM's approach.

Test plan

Test fixtures have been added that show the expected behaviour.

@gpoole gpoole changed the title Fix scoped bin Fix scoped bin paths Dec 6, 2016
@bestander bestander merged commit 8a12b1b into yarnpkg:master Dec 7, 2016
@LinusU
Copy link

LinusU commented Dec 21, 2016

Will this be released in the 0.18 release line?

@bestander
Copy link
Member

Sounds safe enough.
@LinusU, could you create a PR to 0.18 branch with this commit cherry-picked?

LinusU pushed a commit to LinusU/yarn that referenced this pull request Dec 21, 2016
* Add failing tests for bin path normalisation from scoped package name

* Add fix for bin normalisation for scoped packages
@LinusU
Copy link

LinusU commented Dec 21, 2016

Done 🎉 👉 #2313

bestander pushed a commit that referenced this pull request Dec 21, 2016
* Fix scoped bin paths (#2163)

* Add failing tests for bin path normalisation from scoped package name

* Add fix for bin normalisation for scoped packages

* Refresh request cache
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.

Executables from scoped packages are wrong
3 participants