Commit 9ee3c5a
authored
chore(deps): update npm packages (#562)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Adoption](https://docs.renovatebot.com/merge-confidence/) |
[Passing](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|---|---|
| [dprint](https://redirect.github.com/dprint/dprint) | [`^0.50.1` →
`^0.51.0`](https://renovatebot.com/diffs/npm/dprint/0.50.2/0.51.1) |

|

|

|

|
| [pnpm](https://pnpm.io)
([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm)) |
[`10.26.2` →
`10.27.0`](https://renovatebot.com/diffs/npm/pnpm/10.26.2/10.27.0) |

|

|

|

|
---
### Release Notes
<details>
<summary>dprint/dprint (dprint)</summary>
###
[`v0.51.1`](https://redirect.github.com/dprint/dprint/releases/tag/0.51.1)
[Compare
Source](https://redirect.github.com/dprint/dprint/compare/0.51.0...0.51.1)
#### Changes
- fix: prefer `$HOME/.config/dprint` on macOS for global config
([#​1062](https://redirect.github.com/dprint/dprint/issues/1062))
- After feedback, the `dprint` executable now prefers putting the global
config in the folder at `$HOME/.config/dprint`, but will continue to use
the "Application Support" macOS config directory if a config file exists
in there.
- dprint is now published using trusted publishing to npm and crates.io
0.51.0 release notes:
<https://github.com/dprint/dprint/releases/tag/0.51.0>
#### Install
Run `dprint upgrade` or see <https://dprint.dev/install/>
#### Checksums
| Artifact | SHA-256 Checksum |
| :------------------------------------------- |
:--------------------------------------------------------------- |
| dprint-x86\_64-apple-darwin.zip |
d7afcb650f4a6e7d60dc46924dede9a44f276a4f044600de7babad67c0479876 |
| dprint-aarch64-apple-darwin.zip |
cc1321a524d8e1312d376ce2c51343f43f8f5489c2e265f11aea5a6af4de52ad |
| dprint-x86\_64-pc-windows-msvc.zip |
e3f6604c7fec54cc737e2be215e467d194d912141de7b9569436503c6edd2195 |
| dprint-x86\_64-pc-windows-msvc-installer.exe |
9afc76ec95e2eb0e1255df7c060f9c382b5c2f3f0dd8d957a776e98eca618f87 |
| dprint-x86\_64-unknown-linux-gnu.zip |
674c1f9fcdf8a564c26cc027e080d0c4758a40a566e04a776fc83c875ad51d45 |
| dprint-x86\_64-unknown-linux-musl.zip |
0bc7904de86cc70384a4d295902c69fc5239ed45ab19a7361216263d1a8cb572 |
| dprint-aarch64-unknown-linux-gnu.zip |
05a0df273453f099092967641462951fd26dcad282a564f91cc4ad16ea02d526 |
| dprint-aarch64-unknown-linux-musl.zip |
8cd2a46ff5d6940db5e708c9a5be8abc9f68e6324d6fd51c8977addd2188648a |
| dprint-riscv64gc-unknown-linux-gnu.zip |
35cf03b5c8f3e0218f78f9351463e035c411b2c3743a911e3d103613a4e282f8 |
| dprint-loongarch64-unknown-linux-gnu.zip |
42a37f38275156fe5fe8306608d0e764c69bb9441f3bbb8faf8145b27a33acde |
| dprint-loongarch64-unknown-linux-musl.zip |
2c5e926fedc40214bbf947447909761dafc6e26990b983c823e7e971818a8fd2 |
###
[`v0.51.0`](https://redirect.github.com/dprint/dprint/releases/tag/0.51.0)
[Compare
Source](https://redirect.github.com/dprint/dprint/compare/0.50.2...0.51.0)
#### Features
##### Global Configuration File
dprint now supports a global configuration file that can be used when
not in a project.
([#​1040](https://redirect.github.com/dprint/dprint/issues/1040))
**Initialize a global config:**
```bash
dprint init --global
# or
dprint config init --global
```
The global config location is customizable via the `DPRINT_CONFIG_DIR`
environment variable, but by default is stored in (this reflects the
update that was published in 0.51.1 after feedback):
- Linux/Mac: `~/.config/dprint/dprint.jsonc` (or
`$XDG_CONFIG_HOME/dprint/dprint.jsonc`)
- Note: On Mac it will respect `$HOME/Library/Application
Support/dprint/dprint.jsonc` if it exists
- Windows: `%APPDATA%\dprint\dprint.jsonc`
Note: You can edit the config by running `dprint config edit --global`
**Use global config for formatting:**
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`:
```
> dprint fmt
Warning You're not in a dprint project. Format '/home/david' anyway? (Y/n) █
Hint: Specify the directory to bypass this prompt in the future (ex. `dprint fmt .`)
```
As the hint states, you can bypass the confirmation prompt by providing
the current directory:
```
> dprint fmt .
Formatted 1 file.
```
To format files using only the global configuration and ignore local
configuration files use:
```sh
dprint fmt --config-discovery=global
```
**Manage global config:**
```bash
# Add plugins to global config
dprint config add --global
# Update global config
dprint config update --global
# Edit global config
dprint config edit --global
```
Full docs: <https://dprint.dev/global-config/>
##### Improved `dprint check` Output
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](https://redirect.github.com/dprint/dprint/issues/1056))
```
Found 3 not formatted files. Run dprint fmt to fix.
```
##### `dprint check --fail-fast`
Stops checking files and exit on the first file that isn't formatted.
This is useful when you want even faster feedback.
([#​1054](https://redirect.github.com/dprint/dprint/issues/1054))
```bash
dprint check --fail-fast
```
**Note:** When using `--log-level=silent`, `--fail-fast` is now enabled
by default.
#### Breaking Changes
- **`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](https://redirect.github.com/dprint/dprint/pull/1053))
```bash
# Update only the current config (new default)
dprint config update
# Update current config and all descendant configs
dprint config update --recursive
```
#### Other Changes
- Added `updateUrl` to `editor-info` command output
([#​1027](https://redirect.github.com/dprint/dprint/pull/1027))
#### Install
Run `dprint upgrade` or see <https://dprint.dev/install/>
#### Checksums
| Artifact | SHA-256 Checksum |
| :------------------------------------------- |
:--------------------------------------------------------------- |
| dprint-x86\_64-apple-darwin.zip |
1fa152f36a4aa519fa9f233f49f2fb54cc063c77d40ba9f4fc54ea77a4068e0b |
| dprint-aarch64-apple-darwin.zip |
f3fb85da6b10011835f3b5a14faf11d03594b4b3b32602ae2b45418794c5039b |
| dprint-x86\_64-pc-windows-msvc.zip |
fe6c0be73c4fa8a77672bf4271b019d767fabdd0b8cc10df2fd9842399e19e7e |
| dprint-x86\_64-pc-windows-msvc-installer.exe |
8bbb3a89960f12c6f9e2f53de44cee7ae72ccc89e90ff1213e6b5f8bb49c3ca1 |
| dprint-x86\_64-unknown-linux-gnu.zip |
ee5ff0865c461ef6d3023a491f2ee5c1c63c833a15fb3c42fdb2ef835b1c7072 |
| dprint-x86\_64-unknown-linux-musl.zip |
9a8b8ad3429a1ae5733e2c237b313c8650626cc48cf972927e7c3fc651eb6ba2 |
| dprint-aarch64-unknown-linux-gnu.zip |
5169106061f04805aa089cdd0a73fb913cfda3bc70038546abf4283992db19bd |
| dprint-aarch64-unknown-linux-musl.zip |
bb56d7ac441c905c33f77114c450337e54a263a0ce449da23a0f03b2778368d8 |
| dprint-riscv64gc-unknown-linux-gnu.zip |
5d20460a263e858bd28b61be2ddec12277863c8f29ddc4591c18105ec3d2ab0c |
| dprint-loongarch64-unknown-linux-gnu.zip |
5f7c6fbdf735231c5319298c9302c93931b14c824f25837505308ac5e53f2573 |
| dprint-loongarch64-unknown-linux-musl.zip |
516e712f47ba2fcb9a1f389176d32334d0dce86a26e207002ec4dddc2f10ddf8 |
</details>
<details>
<summary>pnpm/pnpm (pnpm)</summary>
###
[`v10.27.0`](https://redirect.github.com/pnpm/pnpm/compare/v10.26.2...v10.27.0)
[Compare
Source](https://redirect.github.com/pnpm/pnpm/compare/v10.26.2...v10.27.0)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/oxc-project/tsgolint).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 8a5d6b9 commit 9ee3c5a
2 files changed
+61
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments