Commit Graph
8244 Commits
Author SHA1 Message Date
fisker aaffacce2c Merge remote-tracking branch 'remotes/upstream/main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	scripts/release/release.js
#	src/language-js/parse/postprocess/index.js
#	src/language-js/parse/postprocess/typescript.js
#	src/language-js/parse/typescript.js
#	src/language-js/print/type-parameters.js
#	tests/format/js/export-star/__snapshots__/jsfmt.spec.js.snap
#	tests/format/js/export-star/jsfmt.spec.js
#	tests/format/js/export/__snapshots__/jsfmt.spec.js.snap
#	tests/format/js/export/jsfmt.spec.js
#	tests/format/misc/typescript-only/__snapshots__/jsfmt.spec.js.snap
#	tests/format/typescript/decorators/jsfmt.spec.js
#	tests/format/typescript/export/jsfmt.spec.js
#	yarn.lock
2023-03-20 14:21:15 +08:00
fisker ddf3b43c33 Clean changelog 2023-03-20 14:09:05 +08:00
fisker 71ba29f22b Git blame ignore 2.8.5 2023-03-20 14:08:34 +08:00
fisker c1808e86a3 Bump Prettier dependency to 2.8.5 2023-03-20 14:08:34 +08:00
fisker 0a79535916 Release 2.8.5 2023-03-20 14:01:10 +08:00
fisker Cheung 019ebe5207 Support TypeScript 5 (backport #14391 and #13819) (#14512) 2023-03-20 13:57:48 +08:00
fisker dddacc425f Merge remote-tracking branch 'remotes/upstream/main' into next
# Conflicts:
#	yarn.lock
2023-03-20 10:41:10 +08:00
renovate[bot]andfisker f85e7b07bf Update dependency @babel/parser to v7.21.3 (#14522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2023-03-20 10:29:46 +08:00
fisker Cheung 7c2baf355e Move comment attach into printAstToDoc (#14465) 2023-03-20 09:44:28 +08:00
renovate[bot] 3bf53687d3 Update dependency execa to v7.1.1 (#14536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 09:26:11 +08:00
renovate[bot] 63caf6b425 Update dependency @types/jest to v29.5.0 (#14532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 08:25:54 +08:00
fisker Cheung 5b80d29617 Extract code from postcss printer (#14480) 2023-03-20 08:24:45 +08:00
renovate[bot] 211368ebd0 Update dependency cspell to v6.30.2 (#14534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 08:02:38 +08:00
renovate[bot] eee3c311aa Update dependency eslint-plugin-regexp to v1.13.0 (#14535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 22:10:37 +08:00
renovate[bot] 4bfac89f9e Update dependency typescript to v5.0.2 (#14528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 22:00:18 +08:00
renovate[bot] f36e4bc895 Update dependency angular-estree-parser to v6.1.0 (#14533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 20:54:37 +08:00
renovate[bot] b33c2819e1 Update babel to v7.21.3 (#14531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 20:53:43 +08:00
renovate[bot] cab7770fcb Update Yarn to v3.5.0 (#14529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 19:32:52 +08:00
dependabot[bot] d34f16b8e4 Build(deps): Bump actions/checkout from 3.3.0 to 3.4.0 (#14519)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-19 18:30:09 +08:00
renovate[bot] 37103c7d8e Update dependency @babel/core to v7.21.3 (#14520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 18:29:42 +08:00
renovate[bot] 256c22e891 Update dependency execa to v7.1.1 (#14525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 18:28:55 +08:00
renovate[bot] e7e756e4b4 Update dependency esbuild to v0.17.12 (#14523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 18:27:41 +08:00
renovate[bot] 1802b4af31 Update dependency esm-utils to v4.1.2 (#14524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 18:27:04 +08:00
renovate[bot] 18676dcbb2 Update dependency meriyah to v4.3.5 (#14526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 18:26:38 +08:00
Joseph Frazier e7b383b570 Support max_line_length=off when parsing .editorconfig (#14516)
This fixes https://github.com/prettier/prettier/issues/14514 by
upgrading `editorconfig-to-prettier` with the fix from https://github.com/josephfrazier/editorconfig-to-prettier/pull/10
2023-03-18 12:55:30 -04:00
fisker 883324dbb6 Merge branch 'main' into next
# Conflicts:
#	scripts/tools/bundle-test/package.json
#	scripts/tools/bundle-test/yarn.lock
#	src/language-js/needs-parens.js
#	tests/format/typescript/typeof/jsfmt.spec.js
#	website/package.json
#	website/yarn.lock
2023-03-18 08:57:03 +08:00
fisker CheungandSosuke Suzuki d797f0cff2 Support TypeScript 5 (#13819)
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
2023-03-15 11:06:31 +08:00
dependabot[bot] 5446a8f32a Build(deps-dev): Bump webpack from 5.73.0 to 5.76.0 in /website (#14511)
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 08:07:04 +08:00
dependabot[bot] 03f0b90cb9 Build(deps-dev): Bump webpack from 5.70.0 to 5.76.0 in /scripts/tools/bundle-test (#14510)
Build(deps-dev): Bump webpack in /scripts/tools/bundle-test

Bumps [webpack](https://github.com/webpack/webpack) from 5.70.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.70.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 07:56:06 +08:00
fisker Cheung 3fc6298c0e Stop evaluate graphql visitor keys (#14504) 2023-03-13 18:23:56 +08:00
fisker Cheung 1fb02e85d7 Update dependency hermes-eslint to v0.10.0 (#14503) 2023-03-13 17:36:12 +08:00
renovate[bot] e0df0f37ad Update dependency jest to v29.5.0 (#14498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 14:32:27 +08:00
renovate[bot] 8642b20b58 Update dependency execa to v7 (#14496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 14:32:06 +08:00
renovate[bot] a8a55d4da6 Update dependency espree to v9.5.0 (#14495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 14:30:57 +08:00
renovate[bot] 073b9b0e99 Update dependency eslint to v8.36.0 (#14493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 13:05:49 +08:00
renovate[bot] eb65330f7b Update dependency import-meta-resolve to v2.2.2 (#14490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 12:36:06 +08:00
renovate[bot] 703eafc5b7 Update dependency webpack to v5.76.1 (#14499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 12:35:38 +08:00
fisker Cheung e2c5da38f4 Fix builtin plugins (#14502) 2023-03-13 12:34:56 +08:00
renovate[bot] 3e556c2fd8 Update dependency @angular/compiler to v15.2.2 (#14489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 11:29:30 +08:00
renovate[bot] 733ac90d3c Update typescript-eslint to v5.54.1 (#14491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 11:28:52 +08:00
renovate[bot] a21b85015c Update dependency cspell to v6.29.0 (#14492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 11:28:16 +08:00
renovate[bot] 97d85e1558 Update dependency eslint-config-prettier to v8.7.0 (#14494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 11:27:38 +08:00
renovate[bot] 747be9de8b Update dependency webpack to v5.76.1 (#14500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 11:27:11 +08:00
fisker Cheung 6c9ba400fa Bundle printers in plugins (#14354) 2023-03-13 09:20:12 +08:00
fisker Cheung 18baca62c9 Build: Auto generate types files for plugins (#14462) 2023-03-13 09:17:24 +08:00
fisker Cheung a07927aa11 Refactor estree main print function (#14473) 2023-03-13 09:13:27 +08:00
fisker Cheung 4585fb0512 Add utilities to get descendants (#14470) 2023-03-13 09:12:48 +08:00
fisker Cheung 06aa1a3501 Ignore htmlWhitespaceSensitivity when formatting Vue SFC root blocks (#14401) 2023-03-13 09:12:11 +08:00
921eaf4690 Break on TypeScript parameter properties (#14402)
* add test for parameter properties

* break parameters for TypeScript parameter properties

ISSUE: #5666

* add a test pattern

* add changelog

* use getFunctionParameters

* Fix bad rebase

* Rename variables

* More tests

* Rename variable

* Fix snapshots

* Fix changelog

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
2023-03-12 00:06:39 +09:00
MaximAL 0894348de8 Add note about SmartTabs (#14428)
I think it’s worth noticing for those who search for SmartTab-related tool (as I did, for example).
2023-03-11 23:52:59 +09:00