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

yarn pass through arguments #57

Open
jmjpro opened this issue Dec 10, 2019 · 3 comments
Open

yarn pass through arguments #57

jmjpro opened this issue Dec 10, 2019 · 3 comments

Comments

@jmjpro
Copy link

jmjpro commented Dec 10, 2019

I saw #24 but I think the functionality in yarn has changed: when I try to run install-peerdeps eslint-config-airbnb -d -Y -W I get Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check). so I know the the -W isn't get passed through.

@ljharb
Copy link
Collaborator

ljharb commented Dec 10, 2019

If you want to pass additional flags to a sub command, usually you’d do something like -- -W - does that work?

@jmjpro
Copy link
Author

jmjpro commented Dec 10, 2019 via email

@nathanhleung
Copy link
Owner

Can you try:

install-peerdeps eslint-config-airbnb -d -Y --extra-args "-W"

See more info about the --extra-args flag under https://github.com/nathanhleung/install-peerdeps#usage

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

No branches or pull requests

3 participants