Workspaces have different requirements. They may be grouped into related packages that accept certain script commands appropriate for their functionality.
It is not possible to run a script for all workspaces without failing on the first workspace that does not have a script.
If there’s some packages that use “apply”, then we have to add:
"apply": "echo", to every other package across the project, even if that script is meaningless for a given package.
It would be excellent if we could use
yarn workspaces run script across all workspaces, while having the option to skip workspaces which do not have a script.