|
| 1 | +# Created with komac v2.14.0 |
| 2 | +# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.10.0.schema.json |
| 3 | + |
| 4 | +PackageIdentifier: dprint.dprint |
| 5 | +PackageVersion: 0.51.0 |
| 6 | +PackageLocale: en-US |
| 7 | +Publisher: dsherret |
| 8 | +PublisherUrl: https://github.com/dprint |
| 9 | +PublisherSupportUrl: https://github.com/dprint/dprint/issues |
| 10 | +PackageName: dprint |
| 11 | +PackageUrl: https://github.com/dprint/dprint |
| 12 | +License: MIT |
| 13 | +LicenseUrl: https://github.com/dprint/dprint/blob/HEAD/LICENSE |
| 14 | +ShortDescription: Pluggable and configurable code formatting platform written in Rust. |
| 15 | +Tags: |
| 16 | +- formatter |
| 17 | +ReleaseNotes: |- |
| 18 | + Features |
| 19 | + Global Configuration File |
| 20 | + dprint now supports a global configuration file that can be used when not in a project. (#1040) |
| 21 | + Initialize a global config: |
| 22 | + dprint init --global |
| 23 | + # or |
| 24 | + dprint config init --global |
| 25 | + The global config location is customizable via the DPRINT_CONFIG_DIR environment variable, but by default is stored in: |
| 26 | + - Linux/Mac: ~/.config/dprint/dprint.json (or $XDG_CONFIG_HOME/dprint/dprint.json) |
| 27 | + - Windows: %APPDATA%\dprint\dprint.json |
| 28 | + Note: You can edit the config by running dprint config edit --global |
| 29 | + Use global config for formatting: |
| 30 | + Once setup, the global configuration will be used by default when there's no dprint configuration file in the current directory tree; however, to prevent accidentally formatting such directories, a prompt is shown when calling dprint fmt: |
| 31 | + > dprint fmt |
| 32 | + Warning You're not in a dprint project. Format '/home/david' anyway? (Y/n) █ |
| 33 | + Hint: Specify the directory to bypass this prompt in the future (ex. `dprint fmt .`) |
| 34 | + As the hint states, you can bypass the confirmation prompt by providing the current directory: |
| 35 | + > dprint fmt . |
| 36 | + Formatted 1 file. |
| 37 | + To format files using only the global configuration and ignore local configuration files use: |
| 38 | + dprint fmt --config-discovery=global |
| 39 | + Manage global config: |
| 40 | + # Add plugins to global config |
| 41 | + dprint config add --global |
| 42 | + # Update global config |
| 43 | + dprint config update --global |
| 44 | + # Edit global config |
| 45 | + dprint config edit --global |
| 46 | + Full docs: https://dprint.dev/global-config/ |
| 47 | + Improved dprint check Output |
| 48 | + When files are not formatted, dprint check now suggests running dprint fmt to fix them, making it clearer for new users contributing to your projects what to do next. (#1056) |
| 49 | + Found 3 not formatted files. Run dprint fmt to fix. |
| 50 | + dprint check --fail-fast |
| 51 | + Stops checking files and exit on the first file that isn't formatted. This is useful when you want even faster feedback. (#1054) |
| 52 | + dprint check --fail-fast |
| 53 | + Note: When using --log-level=silent, --fail-fast is now enabled by default. |
| 54 | + Breaking Changes |
| 55 | + - dprint config update is now non-recursive by default - The command now only updates the configuration file in the current directory by default, rather than updating all config files in descendant directories. Use --recursive (or -r) to update configuration files recursively. (#1053) |
| 56 | + # Update only the current config (new default) |
| 57 | + dprint config update |
| 58 | + # Update current config and all descendant configs |
| 59 | + dprint config update --recursive |
| 60 | + Other Changes |
| 61 | + - Added updateUrl to editor-info command output (#1027) |
| 62 | + Install |
| 63 | + Run dprint upgrade or see https://dprint.dev/install/ |
| 64 | + Checksums |
| 65 | + ───────────────────────────────────────────┬──────────────────────────────────────────────────────────────── |
| 66 | + Artifact │SHA-256 Checksum |
| 67 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 68 | + dprint-x86_64-apple-darwin.zip │1fa152f36a4aa519fa9f233f49f2fb54cc063c77d40ba9f4fc54ea77a4068e0b |
| 69 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 70 | + dprint-aarch64-apple-darwin.zip │f3fb85da6b10011835f3b5a14faf11d03594b4b3b32602ae2b45418794c5039b |
| 71 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 72 | + dprint-x86_64-pc-windows-msvc.zip │fe6c0be73c4fa8a77672bf4271b019d767fabdd0b8cc10df2fd9842399e19e7e |
| 73 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 74 | + dprint-x86_64-pc-windows-msvc-installer.exe│8bbb3a89960f12c6f9e2f53de44cee7ae72ccc89e90ff1213e6b5f8bb49c3ca1 |
| 75 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 76 | + dprint-x86_64-unknown-linux-gnu.zip │ee5ff0865c461ef6d3023a491f2ee5c1c63c833a15fb3c42fdb2ef835b1c7072 |
| 77 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 78 | + dprint-x86_64-unknown-linux-musl.zip │9a8b8ad3429a1ae5733e2c237b313c8650626cc48cf972927e7c3fc651eb6ba2 |
| 79 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 80 | + dprint-aarch64-unknown-linux-gnu.zip │5169106061f04805aa089cdd0a73fb913cfda3bc70038546abf4283992db19bd |
| 81 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 82 | + dprint-aarch64-unknown-linux-musl.zip │bb56d7ac441c905c33f77114c450337e54a263a0ce449da23a0f03b2778368d8 |
| 83 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 84 | + dprint-riscv64gc-unknown-linux-gnu.zip │5d20460a263e858bd28b61be2ddec12277863c8f29ddc4591c18105ec3d2ab0c |
| 85 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 86 | + dprint-loongarch64-unknown-linux-gnu.zip │5f7c6fbdf735231c5319298c9302c93931b14c824f25837505308ac5e53f2573 |
| 87 | + ───────────────────────────────────────────┼──────────────────────────────────────────────────────────────── |
| 88 | + dprint-loongarch64-unknown-linux-musl.zip │516e712f47ba2fcb9a1f389176d32334d0dce86a26e207002ec4dddc2f10ddf8 |
| 89 | + ───────────────────────────────────────────┴──────────────────────────────────────────────────────────────── |
| 90 | +ReleaseNotesUrl: https://github.com/dprint/dprint/releases/tag/0.51.0 |
| 91 | +ManifestType: defaultLocale |
| 92 | +ManifestVersion: 1.10.0 |
0 commit comments