You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package name of a workspace package is not always equal to the folder name. E.g. a scoped package @organisation/foobar could be located under packages/foobar.
yarn-completion only completes with foobar instead of @organisation/foobar.
Therefore yarn-completion should rely on parsing the package name from the actual package.json of the workspace package.
The text was updated successfully, but these errors were encountered:
n1ru4l
changed the title
use package name instead of dirctory basename for workspace
use package name instead of directory basename for workspace
Jan 14, 2019
I think this are the relevant lines:
yarn-completion/yarn-completion.bash
Line 905 in f0d5170
The package name of a workspace package is not always equal to the folder name. E.g. a scoped package
@organisation/foobar
could be located underpackages/foobar
.yarn-completion
only completes withfoobar
instead of@organisation/foobar
.Therefore
yarn-completion
should rely on parsing the package name from the actualpackage.json
of the workspace package.The text was updated successfully, but these errors were encountered: