Commit Graph
123 Commits
Author SHA1 Message Date
fisker Cheung beecab8e2e Support graphql v16.12 "executable descriptions" (#18214) 2025-11-04 20:14:15 +08:00
fisker Cheungandautofix-ci[bot] b87311a7cd Move cursor tracking out of the doc print buffer (#18202)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-04 03:54:35 +08:00
fisker Cheung bf95d3cdbe Add assertion to align (#18201) 2025-11-03 23:36:45 +08:00
fisker Cheung cf73b6f6c7 Build: Minor tweak to doc module import transform (#18194) 2025-11-03 05:31:36 +08:00
fisker Cheungandautofix-ci[bot] 0f05bc5871 Build: Reuse doc.mjs in index.mjs (#18193)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-03 04:54:10 +08:00
fisker Cheung 01ce265822 Refactor doc modules (#18191) 2025-11-03 01:52:26 +08:00
fisker Cheung a313ca0b8a Improve readability of the doc printer (#18188) 2025-11-02 21:18:15 +08:00
Seiya 00e6baa6b5 Remove flaky test (#18154) 2025-10-30 22:39:44 +08:00
fisker CheungandAlexander Kachkaev 03e6828bfa Improve front matter support (#18153)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2025-10-30 22:16:54 +08:00
Eandfisker Cheung e51ff9ad41 Add Front Matter support to Handlebars (#17781)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-10-29 23:56:19 +08:00
renovate[bot]andfisker 17cf07e68a chore(deps): update dependency @prettier/html-tags to v2 (#18141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-10-29 23:53:34 +08:00
fisker Cheungandautofix-ci[bot] 011791fd6c Improve method transform (#18135)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-28 02:51:50 +08:00
fisker Cheung b99012b48c Build: transform String.raw (#18134) 2025-10-27 23:24:02 +08:00
fisker Cheung eca05c1750 Fix visitor keys for TypePredicate (#18090) 2025-10-17 04:10:37 +08:00
fisker Cheung 9871b4931c Fix vistor keys for FunctionExpression (#18084) 2025-10-16 07:18:38 +08:00
fisker Cheungandautofix-ci[bot] 858ace6ffa Forbid rename path in callbacks (#18038)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-11 01:46:03 +08:00
fisker Cheung 65d1dfb422 Cleanup {JSXOpeningElement,TSClassImplements,TSInterfaceHeritage}.typeParameters (#18028) 2025-10-10 16:41:24 +08:00
Nicolò Ribaudoandfisker 6437b6dadf Update Babel to v8 (#15157)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-24 10:31:22 +08:00
fisker Cheung 857b380010 Improve editorConfigToPrettier (#17512) 2025-09-24 06:02:25 +08:00
Sam Zhou e30c8e6184 Support new Flow feature: opaque type with lower and upper bounds (#17792) 2025-08-13 09:53:29 +08:00
fisker Cheungandautofix-ci[bot] 95ef24d1f0 Support "Discard Bindings" proposal (#17708)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-04 15:41:42 +08:00
fisker Cheung acd25a9aa6 Support flow "match" syntax (#17681) 2025-08-04 15:27:10 +08:00
renovate[bot]andfisker b864637ebd chore(deps): update dependency @prettier/html-tags to v1.1.0 (#17756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-07-26 12:27:05 +08:00
fisker Cheungandautofix-ci[bot] 7fb9875413 Allow plugin override builtin parsers when inferring parser (#17549)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 17:23:49 +08:00
fisker Cheung 3c1475b1e7 Refactor Enum print (#17497) 2025-05-27 11:24:41 +08:00
fisker Cheung a358006a92 Rewrite TSMappedType print (#17498) 2025-05-27 09:11:00 +08:00
fisker Cheung d4fd92e266 Bundle "Experimental CLI" (#17396) 2025-05-06 10:34:05 +08:00
fisker Cheung 45d3498377 Switch html-tag-names to @prettier/html-tags (#17408) 2025-04-27 03:06:22 +08:00
fisker Cheung b289ecbb19 Remove support for tupleAndRecord (#17363) 2025-04-17 04:53:05 +08:00
fisker Cheung b3d1f8cdc2 Add mjml parser (#17339) 2025-04-14 08:12:53 +08:00
Seiyaandfisker Cheung 97d8115d18 Resolve rule of fill violation in JSX and add assertion. (#16700)
* add stricter assertion into fill()

* resolve rule of fill issue. some comments and naming can be problematic.

* cleanup

* update comments

* rename printWhitespace -> printStringOrLine

* refine isValidSeparator() a bit

* remove FIXME comment for fixed issue

* fix idempotency problem in MDX

* add changelog

* rename assertDocFill() -> assertDocFillParts()

* add test for assertDocFillParts()

* replace cleanDoc(doc) === "" by isEmptyDoc(doc)

* Update src/document/utils/assert-doc.js

Co-authored-by: fisker Cheung <lionkay@gmail.com>

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-01-21 13:09:32 +09:00
renovate[bot]andfisker 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]andfisker 2c8440ebee chore(deps): update typescript-eslint to v8.13.0 (#16825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-11-09 17:28:41 +08:00
fisker Cheung 51d943abcf Remove outdated node type "Import" (#16831) 2024-11-09 12:00:34 +08:00
renovate[bot]andfisker 3e4b452b4a chore(deps): update babel to v7.26.2 (#16811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-10-31 18:24:42 +08:00
fisker Cheung 1abee7352f Build: Add experimental_preserveFormat to @babel/generator (#16804) 2024-10-31 00:05:28 +08:00
renovate[bot]andfisker 9066ba83a2 chore(deps): update babel to v7.26.0 (#16795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-10-29 17:39:52 +08:00
Seiya 94fa86e164 loosen computational complexty check for printing fill (#16708) 2024-09-30 15:37:36 +08:00
fisker Cheung 07b468917e Remove blank lines between imports (#16450) 2024-09-29 17:56:37 +08:00
fisker Cheung 4b9c16703c Remove support for DecimalLiteral (#16643) 2024-09-29 17:13:12 +08:00
Mark Ameryandfisker Cheung d28d40ac0c Reduce how much text needs to be diffed when computing cursor positions (#15709)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-27 21:35:32 +08:00
fisker Cheung d2c415deae Update meriyah to v6 (#16667) 2024-09-18 19:48:57 +08:00
renovate[bot]andfisker Cheung c067d27673 chore(deps): update babel to v7.25.6 (#16627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-01 02:24:50 +08:00
renovate[bot]andfisker Cheung 0a85cb07eb chore(deps): update dependency file-entry-cache to v9.1.0 (#16623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-08-31 05:22:14 +08:00
Seiya c921abee76 Improve computational time complexity for printing fill() (#16595) 2024-08-24 08:23:59 +09:00
fisker Cheung fb4fa9b532 Sort visitorKeys in test (#16606) 2024-08-24 01:21:13 +08:00
fisker CheungandAlexander Kachkaev c60eb83d59 Stop mutate doc.parts when printing fill (#13315)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2024-07-26 19:51:00 +08:00
renovate[bot]andfisker 06ece395be chore(deps): update dependency html-ua-styles to v0.0.8 (#16481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-07-16 19:40:47 +08:00
SUZUKI Sosuke 5ca2fc9be8 Support Angular @let declaration syntax (#16474)
gmail.com>
2024-07-13 18:24:57 +09:00
renovate[bot]andfisker bfcfdccdf8 chore(deps): update babel to v7.24.8 (#16472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-07-12 16:15:45 +08:00