Repository navigation
feat: DPRINT_AUTO_INSTALL prevents downloading remote config files - #1495
Merged
Merged
Conversation
…ot in node_modules
…ll-config # Conflicts: # crates/dprint/src/plugins/npm_resolution.rs
… in informational commands
Base automatically changed from
node-modules-process-plugin-executable
to
main
November 30, 2026 22:55
# Conflicts: # crates/dprint/src/plugins/npm_resolution.rs # website/src/setup.md
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.
Setting
DPRINT_AUTO_INSTALLnow also prevents automatically downloading the remote configuration files inextends(urls andnpm:specifiers with a version), which need to be installed withdprint install. They can be allowed withconfigin a comma-separated list:1, ortrue- Everything is automatically installed, the same as before.wasm- Only Wasm plugins.config- Only configuration files.config,wasm- Both.0orfalse- Nothing.Unknown values (including ones with spaces) allow nothing and are warned about. What's known in the list is still used.
Details:
dprint fmt --config https://...) is still downloaded, but what it extends isn't.--reloaderrors and says to rundprint install --reload.dprint install.dprint --help,dprint license, anddprint editor-infonow report a failure to resolve the configuration on stderr instead of ignoring it. It still doesn't fail the command.configsub commands (ex.dprint install,dprint add, anddprint config update) still download.