chore(deps): update devdependencies#474
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
d6d4b2a to
55d3376
Compare
55d3376 to
d4f03cb
Compare
d4f03cb to
4c544e9
Compare
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.
This PR contains the following updates:
^0.54.0→^0.55.03.8.5→3.9.1Release Notes
dprint/dprint (dprint)
v0.55.1Compare Source
Changes
(#1194)
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.55.0Compare Source
dprint is a pluggable and configurable code formatting platform that unifies all your formatters.
This substantial release adds npm specifier plugins, brings dprint to many more CPU architectures, adds richer LSP support, and gives you finer-grained configuration with per-file overrides and config inheritance.
It includes two behaviour changes worth reading before you upgrade.
Highlights
npm:@​scope/name@versiondprint fmt --dirty— format only the files with uncommitted git changes"inherit": truefor nested configuration filesWe also have a new website: https://dprint.dev
npm specifier plugins
You can now reference plugins via an
npm:specifier in your config:{ "plugins": [ "npm:@​dprint/typescript@0.95.15", "npm:@​dprint/json" ] }npm:@​scope/name@version) downloads and locks an exact version.npm:@​scope/name) resolves the plugin fromnode_modules, walking up from the config file so npm and your lockfile stay the source of truth.dprint add npm:@​scope/nameresolves the latest version and writes the pinned form, unless the package is in a nearbypackage.jsonunderdevDependencies, in which case the unversioned form is written, in which case node resolution will occur.More architectures supported
dprint now runs on a much wider range of CPU architectures, including:
aarch64-pc-windows-msvc) - Now native—previously dprint was shipping the x64 binary.This is made possible by migrating the Wasm plugin runtime from Wasmer to Wasmtime, with equivalent performance and a smaller dependency tree:
LSP completions and hover for config files
dprint lspnow provides autocompletion and hover documentation when editingdprint.json/dprint.jsonc, making it easier to discover plugins and configuration options without leaving your editor.dprint fmt --dirtyFormat only the files with uncommitted changes in your git working directory — staged, unstaged, and untracked (but not gitignored):
This complements the existing
--stagedflag."inherit": truefor nested config filesA nested configuration file can now opt in to inheriting its ancestor's plugins and configuration. Given a config at the repo root:
A config in a subdirectory can inherit it with
"inherit": true:includesare not inherited.Per-file plugin config overrides
Plugins now support
"overrides"blocks to apply different configuration to specific files:{ "json": { "overrides": { "files": ["**/package.json", "**/composer.json"], "indentWidth": 4 } } }Use an array for multiple overrides:
{ "json": { "overrides": [ { "files": ["**/package.json", "**/composer.json"], "indentWidth": 4 }, { "files": "**/special-package.json", "lineWidth": 80 } ] } }Overrides are honoured consistently across CLI formatting, stdin, the editor service, the LSP, and host formatting. Note that overrides only change configuration — they don't include or exclude files.
Previously, adding an
"associations"glob to a plugin silently replaced the file extensions and file names it matched by default. Now associations are additive:**/*.foo) routes extra files to the plugin while its defaults keep matching.!**/*.js) cancels a default extension, file name, or path.If you previously relied on a positive association to replace the defaults, add a negated glob to opt back out. Fixes the surprising behaviour in #841 and #794.
File pattern matching for
includes/excludesglobs is now case-sensitive (#1082). If your patterns relied on case-insensitive matching, update them to match the actual file casing.Read a list of files from stdin
The new
--stdin-filesflag reads a newline-separated list of file paths from stdin instead of from the command line arguments. It works with thefmt,check,file-paths, andformat-timessubcommands, which is handy when piping the output of another tool into dprint:generate_files | dprint fmt --stdin-filesSmarter
dprint initdprint initnow scans the current directory and pre-selects the plugins whose files it finds, so the defaults match your project out of the box. The plugin picker scrolls to fit your terminal and supports type-to-filter, keeping it usable even when many plugins are available.Pass
--yes(-y) to skip the prompt entirely and accept those defaults — handy for scripts and CI:The prompt is also skipped automatically when there's no interactive terminal.
Other notable additions
DPRINT_GLOBAL_GITIGNORE=1— opt in to respecting git's global excludes file (core.excludesFile). Opt-in because it's machine-specific and won't exist on CI.NO_COLOR/FORCE_COLORsupport for controlling colored output.dprint config update --dry-run— preview config updates without writing.dprint resolved-config --file <path>— show only the plugins that would format a given file.dprint incremental-state— print the exact signal dprint uses to decide cache reuse, so you can diff it between revisions.output-resolved-config,output-file-paths, andoutput-format-timesare nowresolved-config,file-paths, andformat-times.Changelog
Features
--dirtyflag to format git working directory changes (#1171)"inherit": truein nested configuration files (#1160)DPRINT_GLOBAL_GITIGNORE(#1163)NO_COLORandFORCE_COLORenv vars (#1155)--dry-runtodprint config update(#1156)--fileflag toresolved-configto filter plugins by file (#1167)dprint incremental-statecommand (#1149)output-from some subcommands (#1150)--checksumflag to dprint add (#1184)--yesflag (#1185)(#1187)
Performance
similarfor LSP diffing and dropdissimilar(#1176)Bug Fixes
clear-cache(#1169)dprint clear-cache(#1154).git/info/excludewhen respecting gitignore (#1151).exepath, resolve relativeDPRINT_INSTALL(#1131)Internal
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
prettier/prettier (prettier)
v3.9.1Compare Source
v3.9.0Compare Source
diff
🔗 Release Notes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.