chore(ci): when generating patches, keep package.json from latest npm version #4344
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.
Related issues
Fixes #4331
Description
👋 Hi @mikehardy!
The patch-package failure was being caused by incomplete npm publish tasks. (repo versions higher than
npm
versions) (Related: #4283)Looks like #4330 did not fix the issue
I've detailed that in a new issue #4343, and I suppose if that is fixed, then #4331 becomes a non-issue, but still, I've taken a self-contained approach based on the following assumptions:
package.json
, so we can safely ignore package.json changes in the patches.In the patch generation task, the
package.json
from the "live" version is now preserved.Release Summary
N/A
Checklist
Android
N/AiOS
N/ATest Plan
I made a thrash-branch in my fork, adding bogus changes to each package to test the package generation.
It's very messy, but here are 2 Action runs: