-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
[v3.0.0] Wrong workspace setup causing a yarn installation warning on user-end #479
Comments
Could you do a PR? |
Changing the entire project setup and moving stuff around requires better level of familiarity with the current setup/scripts/lifecycle/ci/tooling. Instead, I made a PR to just remove the |
okay great. That's what I was hoping for as well. CLI shouldn't be a private package. Thanks for having a look! |
Just to clarify, the broader intention was to move the webpack-cli to a In a This is just not a yarn workspace. Its a |
CC-ing @sendilkumarn , he knows more about this than me. And yes, if the package remains |
Alternatively, |
I wish this was stackoverflow and we could vote this to the top. |
Describe the bug
When installing
[email protected]
usingyarn
, one sees the following warning:warning Workspaces can only be enabled in private projects.
The warning only occurs if
webpack-cli
is being resolved for the first time (meaning it is not yet in theyarn.lock
file).To Reproduce
Steps to reproduce the behavior:
See warning.
Expected behavior
No such warning should show. I thought there was an error with my own workspace (which uses
webpack-cli
).Additional context
webpack-cli
should be just another package inside packages. It should have its ownpackage.json
without the "workspaces" field, which causes the warning on user-end.The root package.json should be
"private": true
and contain the"workspaces"
key. It should not be published.Using latest
[email protected]
.The text was updated successfully, but these errors were encountered: