fix: repair API doc generation by reverting replace-in-file dependency #4745
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.
Description
#4673 bumped replace-in-file to a version that is incompatible with our API generators! This PR reverts to a version that works.
Why did we bump to a version that didn't work?
Honestly, I have no idea why #4673 didn't fail when I tested it locally. It obviously won't work -- the release notes make it clear that it has been rewritten as an ES module, which our code can not run. I didn't read those notes when I tested locally, which I should have....but I definitely tested locally, and I guess I must not have run
npm install
when I did. I tried, I really did! 😭When should this change go live?
hold
label or convert to draft PR)PR Checklist
/versioned_docs
directory./docs
directory (aka/next/
).My changes require an Engineering review, and I've assigned the Engineering DRI or delegate.
My changes require a technical writer review, and I've assigned @camunda/tech-writers as a reviewer.
My changes require a docs infrastructure review.