Get rid of just-script and just-task entirely and switch to clipanion #3946
+392
−695
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Platforms Impacted
Description of changes
This finishes moving the scripts package away from just and instead leverages clipanion, the same cli tool that yarn uses internally. Many of these scripts are adapted from what is used in rnx-kit as well. It's pretty straightforward to see how it is used.
The other main thing this does is clean up the lage.config.js file to declare inputs and outputs on most of the build tasks. The reason why this would sometimes grind to a halt is that it was often indexing the full scope of node_modules. It is possible that when node modules change drastically that a build --no-cache will have to be executed in case it doesn't pick everything up, but all other builds should run much faster.
This also has a few cleanup tasks: