Remove tmp and @types/tmp dependencies#7192
Merged
ryancbahan merged 1 commit intomainfrom Apr 7, 2026
Merged
Conversation
Contributor
Author
Replace the single usage in bin/update-bugsnag.js with Node's built-in fs.mkdtemp + cleanup in a finally block. Remove both packages from root devDependencies. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3c8e8a8 to
19a03ac
Compare
Contributor
There was a problem hiding this comment.
Have you run the script?
Contributor
Author
There was a problem hiding this comment.
Yes. Works as intended
ryan@Mac cli % node bin/update-bugsnag.js cli
Preparing @shopify/cli
Copying to temporary directory
Uploading to Bugsnag
Cleaning sourcemaps from @shopify/cli
[bugsnag-build-reporter] no source control info found (looked in package.json, .git, .hg)
[bugsnag-build-reporter] sending {
apiKey: '******5e0fae',
appVersion: '3.93.0',
builderName: 'ryan',
buildTool: 'bugsnag-build-reporter',
}
[bugsnag-build-reporter] build info sent
Build reported!
ryan@Mac cli %
isaacroldan
approved these changes
Apr 7, 2026
gonzaloriestra
approved these changes
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
tmpand@types/tmpfrom root devDependencies