-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[1.22.0] yarn worksapces run only recognizes scripts now #7918
Comments
I have the same behaviour. For my part it's the
that does not work anymore. The reason seems to be because "install" in a default/hidden target. Only explicitly defined scripts seem to work. The reason I need this command is because we are using a preinstall hook in each of the workspaces. These hooks were called only if the "install" target was called by "workspaces run".
|
Any updates on this? Is this intentional or is it a bug? |
having same issue with "yarn workspaces run install" to get it to run install.sh bash scripts for each workspace sub-folder.
info Visit https://yarnpkg.com/en/docs/cli/workspaces for documentation about this command. |
I recently updated yarn and I'm running into this issue as well. Would love some kind of update on if this is a bug or intentional, and if it's intentional is there another way to version all our packages in the repo without building a custom script? |
???
J.T. Taylor, CEO
TaylorMade Software, Inc.
200 2nd Avenue South, Unit 162
Saint Petersburg, FL 33701
Email: jt@taylormadesoft.com
Phone: (619) 618-6284
Web: https://www.taylormadesoft.com
Want to schedule a meeting with me right now? Click Here, and set a time that works for you!
…Sent from my iPhone
On Aug 18, 2020, at 11:59 AM, John Conway ***@***.***> wrote:
I recently updated yarn and I'm running into this issue as well.
Would love some kind of update on if this is a bug or intentional, and if it's intentional is there another way to version all our packages in the repo without building a custom script?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
For anyone still having issues with this, in each workspace's
Then, in the project root you can run |
Replying to add another to the list of those affected. |
Bug description
yarn workspaces run
seems to only allow run commands which are defined in each package of the workspace. Previously (1.21.1) I was able to execute yarn native commands on each package too.What is the current behavior?
What is the expected behavior?
Version in each package of the workspace is set to 1.1.1
Steps to Reproduce
Environment
12.14.1
1.22.0
The text was updated successfully, but these errors were encountered: