renovate[bot]
b080d4db1d
chore(deps): update dependency codemirror-graphql to v2.2.0 ( #16997 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:22:21 +08:00
renovate[bot]
94a6afa7c6
chore(deps): update dependency c8 to v10.1.3 ( #16991 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:20:09 +08:00
fisker Cheung
88d670ecd4
Add tests for import.defer() ( #17027 )
2025-01-20 14:19:35 +08:00
renovate[bot]
0a539673eb
chore(deps): update dependency chalk to v5.4.1 ( #16996 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:18:05 +08:00
renovate[bot]
7761217591
chore(deps): update dependency knip to v5.42.2 ( #16999 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:17:05 +08:00
renovate[bot]
efba7f34ce
chore(deps): update dependency webpack to v5.97.1 ( #17001 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:16:41 +08:00
renovate[bot]
d4d6db8883
chore(deps): update dependency concurrently to v9.1.2 ( #16992 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:14:02 +08:00
renovate[bot]
4539f471a2
chore(deps): update dependency webpack to v5.97.1 ( #17000 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:13:29 +08:00
renovate[bot]
920b13f700
chore(deps): update dependency webpack-cli to v6 ( #17011 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:13:09 +08:00
renovate[bot]
d4d5858982
chore(deps): update dependency cspell to v8.17.2 ( #16998 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:11:09 +08:00
renovate[bot]
e7a71f6c5a
chore(deps): update dependency npm-run-all2 to v7.0.2 ( #16995 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:10:55 +08:00
renovate[bot] and fisker
5e610717c0
chore(deps): update babel to v7.26.5 ( #16989 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-01-20 14:02:23 +08:00
renovate[bot] and fisker Cheung
10b25eecb7
chore(deps): update dependency ignore to v7.0.3 ( #17025 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-01-20 13:58:44 +08:00
SUZUKI Sosuke
0cba62ee4d
Comment out objectWrap for playground ( #17026 )
2025-01-18 22:45:07 +09:00
renovate[bot]
5dc3fac8d4
chore(deps): update dependency postcss to v8.5.1 ( #17023 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 23:49:02 +08:00
renovate[bot]
36460be18f
chore(deps): update dependency file-entry-cache to v10 ( #16725 )
2025-01-17 23:48:00 +08:00
renovate[bot]
bd15c4b693
chore(deps): update dependency eslint-config-prettier to v10 ( #17024 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 07:15:09 +08:00
renovate[bot]
a5e5fb578f
chore(deps): update dependency @angular/compiler to v19.1.1 ( #16990 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 07:05:15 +08:00
renovate[bot]
226150e590
chore(deps): update dependency magic-string to v0.30.17 ( #16994 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 07:04:23 +08:00
renovate[bot]
7905650919
chore(deps): update dependency execa to v9.5.2 ( #16993 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 06:51:28 +08:00
renovate[bot]
a832d149a0
chore(deps): update eslint related dependencies ( #17002 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 06:50:47 +08:00
SUZUKI Sosuke
4caa6302c0
Update changelog_unreleased for 3.5 ( #17019 )
2025-01-16 13:45:32 +09:00
Paul Draper and Sosuke Suzuki
bef1d61a7a
Implement objectWrap config option ( #16163 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2025-01-15 16:44:45 +09:00
fisker Cheung
bbb65180e0
Replace "node-ignore"'s .ignores() with .checkIgnore() method ( #16975 )
2025-01-11 11:08:02 +08:00
fisker Cheung
a962a26ba1
Improve FormatResultsCache ( #16981 )
2025-01-11 11:04:47 +08:00
fisker Cheung
59a64a3fb6
Replace chalk with node-style-text in release script ( #16984 )
2025-01-11 10:20:49 +08:00
renovate[bot]
78133d6d72
chore(deps): update dependency meriyah to v6.0.5 ( #16986 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-11 10:20:20 +08:00
renovate[bot]
04839c3b57
chore(deps): update dependency typescript to v5.7.3 ( #16985 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 18:33:44 +00:00
renovate[bot] and fisker
c9726b96d1
chore(deps): update flow-parser ( #16983 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-01-09 22:26:34 +08:00
fisker Cheung
8e8260e533
Improve angular ICU expression print ( #16922 )
2025-01-09 20:08:05 +08:00
renovate[bot]
9863d9e579
chore(deps): update dependency browserslist to v4.24.4 ( #16982 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 02:33:29 +08:00
renovate[bot]
5c9d4e00ac
chore(deps): update typescript-eslint to v8.19.1 ( #16980 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 14:05:24 +08:00
renovate[bot]
b3e9c6ed73
chore(deps): update eslint related dependencies ( #16979 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 13:51:28 +08:00
dependabot[bot]
f0771bf572
Bump xalvarez/prevent-file-change-action from 1.8.0 to 1.9.0 ( #16963 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-08 13:39:18 +08:00
renovate[bot]
0aff61d637
chore(deps): update dependency browserslist to v4.24.3 ( #16978 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 13:37:21 +08:00
renovate[bot]
b3603e5844
chore(deps): update dependency esbuild-visualizer to v0.7.0 ( #16977 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 11:31:09 +08:00
renovate[bot]
1d1148c6d3
chore(deps): update dependency esbuild to v0.24.2 ( #16976 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 11:25:13 +08:00
renovate[bot]
743ae002ec
chore(deps): update dependency fast-glob to v3.3.3 ( #16974 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 10:57:59 +08:00
renovate[bot] and fisker
fc8d5b9f9d
chore(deps): update dependency ignore to v7 ( #16973 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-01-08 10:57:26 +08:00
fisker Cheung
7310859f7d
Update yarn to v4.6.0 ( #16971 )
2025-01-08 10:48:30 +08:00
renovate[bot]
f5ed4bbec6
chore(deps): update dependency fast-glob to v3.3.3 ( #16972 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 10:47:19 +08:00
fisker Cheung
6f12b94ae9
Fix tests for ts config ( #16970 )
2025-01-08 10:00:39 +08:00
renovate[bot]
678bf05dc9
chore(deps): update dependency meriyah to v6.0.4 ( #16969 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 09:56:49 +08:00
SUZUKI Sosuke
69a0172bdb
Disable CI on MacOS x Node.js ( #16965 )
2025-01-06 08:16:49 +09:00
eed53fc29a
Break lines before binary operators ( #7111 )
...
* Add additional binary expression comment tests
Refs #3806
These cover a few edge cases I encountered while maintaining
`@btmills/prettier` over the last few years. I'm adding them up front to
demonstrate that the `experimentalOperatorPosition` changes in a later
commit have no effect on this formatting when the flag is not enabled.
* Define experimentalOperatorPosition flag
Refs #3806
This merely defines the flag. A future commit will use it in updated
logic.
* Add experimentalOperatorPosition default tests
Right now, this flag isn't implemented, so these tests duplicate the
existing behavior. I'm adding them now so that when I implement the
flag's logic in a future commit, the changed formatting will be obvious
in the diff and easier to review.
* Implement experimentalOperatorPosition flag
Fixes #3806 as requested in https://github.com/prettier/prettier/pull/7111#issuecomment-2252623779
The flag's tests were already added in a previous commit, so the test
changes you see in this commit are specifically due to the new flag's
implementation.
* Document experimentalOperatorPosition flag
* Change operator position option start|end
In response to https://github.com/prettier/prettier/pull/7111#discussion_r1729382119
* Add TS intersection line wrapping tests
This clones TypeScript's type union operator tests in `union-parens.ts`
and swaps the operators (& <-> |) to test the the type interesection
operator. It also runs intersection tests with the new
`experimentalOperatorPosition: "start"` flag. This does _not_ yet update
the implementation to consider the flag; to ease review, I'll make that
change in the next commit to isolate the impact of the change.
* Apply experimentalOperatorPosition: start to type intersections
The type union operator was already formatted at the beginning of lines
by default, so that logic didn't need to be updated.
* Update 7111.md
* Update tests after rebasing
I rebased from 1dfe28f85 to c7066780e to fix test failures related to
https://github.com/prettier/prettier/pull/16601 . The rebase applied
cleanly, and this was the only change to tests. Since the PR has
already been approved, I'll keep this as a separate commit rather than
squashing into the prior commits.
---------
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
2025-01-04 01:30:51 +09:00
renovate[bot]
d9d0999aac
chore(deps): update typescript-eslint to v8.18.1 ( #16950 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 15:04:53 +08:00
Norbert Elter and fisker
84de783ce6
Add support for TS config files ( #16828 )
...
* feat: prettier.config.ts
* revert
* feat: add flag
* fix: remove experimental warning
* Revert changes
* Add tests
* Update docs
* Only test on Node.js v22
* Add changelog
* Update docs
* Update examples
* Fix changelog
* Fix command
* Name `loadJs` back
* Fix
---------
Co-authored-by: fisker <lionkay@gmail.com >
2024-12-21 15:39:45 +09:00
fisker Cheung
66a77da2c5
Support Vue .prop shorthand ( #16920 )
2024-12-21 15:36:50 +09:00
Seiya
a7ddbdb899
Consitent break for comma seperated value ( #16907 )
...
* add softline before root paren group
* add changelog
* make conservative
2024-12-21 15:36:36 +09:00
fisker Cheung
730770e29a
Add tests for #16857 ( #16940 )
...
* Add tests for #16857
* Update comment
2024-12-21 15:32:30 +09:00