-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Do you want to request a feature or report a bug? BUG
What is the current behavior?
$ yarn add scottoffen/jquery.toaster
yarn add v1.3.2
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
└─ [email protected]
✨ Done in 2.22s.
If the current behavior is a bug, please provide the steps to reproduce.
See above.
$ ls -la node_modules/jquery/
total 88
drwxr-xr-x 9 drmac staff 306 Dec 17 19:36 .
drwxr-xr-x 190 drmac staff 6460 Dec 17 19:36 ..
-rw-r--r-- 1 drmac staff 1 May 12 2017 .gitignore
-rw-r--r-- 1 drmac staff 582 May 12 2017 LICENSE
-rw-r--r-- 1 drmac staff 11389 May 12 2017 README.md
-rw-r--r-- 1 drmac staff 541 May 12 2017 bower.json
-rw-r--r-- 1 drmac staff 5012 May 12 2017 index.html
-rw-r--r-- 1 drmac staff 4740 May 12 2017 jquery.toaster.js
-rw-r--r-- 1 drmac staff 1147 May 12 2017 toaster.jquery.json
What is the expected behavior?
The expected behavior is that yarn ignore the '.' when naming packages. This is clearly not jquery, but a jquery plugin that is poorly named.
Even attempting shell escape yarn add scottoffen/jquery\.toaster
, produces the same result.
Please mention your node.js, yarn and operating system version.
macos
$ node --version
v9.3.0
$ yarn version
yarn version v1.3.2
info Current version: 1.0.3