Replace temp package with Node.js built-in fs.mkdtemp#10967
Merged
NullVoxPopuli merged 2 commits intomasterfrom Mar 24, 2026
Merged
Replace temp package with Node.js built-in fs.mkdtemp#10967NullVoxPopuli merged 2 commits intomasterfrom
temp package with Node.js built-in fs.mkdtemp#10967NullVoxPopuli merged 2 commits intomasterfrom
Conversation
Contributor
|
@copilot no, I say fs.mkdtemp |
…Sync` - Replace `temp.mkdir()` with `fs.mkdtemp()` in lib/tasks/install-blueprint.js - Replace `temp.mkdirSync()` with `fs.mkdtempSync()` in lib/commands/test.js - Replace `temp.mkdirSync()` with `fs.mkdtempSync()` in test files - Remove `temp` dependency from package.json Co-authored-by: NullVoxPopuli <[email protected]> Agent-Logs-Url: https://github.com/ember-cli/ember-cli/sessions/3b87bbe0-9fb7-4e6b-9c1f-184fdaa6ae23
Copilot
AI
changed the title
[WIP] Replace temp npm package with nanotemp
Replace Mar 24, 2026
temp package with Node.js built-in fs.mkdtemp
Contributor
Author
NullVoxPopuli
approved these changes
Mar 24, 2026
bertdeblock
approved these changes
Mar 24, 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.
Remove the
tempnpm dependency by using Node.js built-infs.mkdtemp/fs.mkdtempSync, which provide equivalent temporary directory creation without the extra package.lib/tasks/install-blueprint.js—temp.mkdir('ember-cli')→fs.mkdtemp(path.join(os.tmpdir(), 'ember-cli-')); removed now-unusedutilimportlib/commands/test.js—temp.mkdirSync('tests-dist-')→fs.mkdtempSync(path.join(os.tmpdir(), 'tests-dist-'))insert-into-file-test.jsandclean-remove-test.jspackage.json— removed"temp": "0.9.4"from dependenciesOriginal prompt
tempnpm package #10966⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.