Commit Graph
100 Commits
Author SHA1 Message Date
fisker Cheungandautofix-ci[bot] f41214b2f1 Add changelog for hermes and oxc plugin (#17629)
* Add changelog for `hermes` and `oxc` plugin

* Apply automated changes

* Move to `flow/`

* Spellcheck

* Reword

* Reword

* Apply automated changes

* Fix

* Reword

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-22 00:49:06 +09:00
fisker 94d6bbae8e Add publishConfig to @prettier/plugin-* 2025-06-20 04:49:55 +08:00
fisker Cheung 8d53e726a1 Remove since from SupportLanguage and ChoiceSupportOption.options types (#17578) 2025-06-20 04:12:51 +08:00
fisker Cheung f88d7ec17b Rename test:dist* scripts to test:production* (#17579) 2025-06-20 04:12:18 +08:00
fisker Cheung dd8d59b983 Fix isTypeModuleObjectExpression (#17599) 2025-06-20 04:11:49 +08:00
fisker Cheung 7a91dc4a59 Revert "Support type cast comments for espree parser (#17587)" (#17614) 2025-06-19 15:49:38 +08:00
fisker Cheung e4aba51f9c Decrease CI timeout-minutes to 15mins (#17603)
Decrease CI `timeout-minutes` to 15m
2025-06-14 05:30:28 +08:00
fisker Cheung 17cdff607a Support type cast comments for meriyah parser (#17600) 2025-06-13 17:27:07 +08:00
fisker Cheung 3b0f33539f Support type cast comments for espree parser (#17587) 2025-06-13 16:56:42 +08:00
fisker Cheung 1bcdc07ace Forbid parenthesized expressions in JSON (#17598) 2025-06-12 20:03:29 +08:00
fisker Cheung 98b7dd03ab Add checkPrivateFields: false to acorn parser (#17594) 2025-06-12 04:52:36 +08:00
fisker Cheung 079aebf8b1 Remove supportTypeCastComments passed to postprocess (#17588) 2025-06-11 01:50:56 +08:00
fisker Cheung 948a54bdbf Refine prepare-test-for-legacy-nodejs script (#17591) 2025-06-10 20:30:26 +08:00
fisker Cheung 2c7f02a7ab Enable decorators tests on flow and typescript parser (#17484) 2025-06-09 16:28:45 +08:00
fisker Cheung 9aa661ac50 Remove esm-utils from "generate-changelog" script (#17559) 2025-06-08 16:53:59 +08:00
fisker Cheung 4973687969 Update website build script (#17577) 2025-06-08 16:52:42 +08:00
fisker Cheung 64552a44e3 Include printer in @prettier/plugin-oxc and @prettier/plugin-hermes (#17567) 2025-06-07 18:21:31 +08:00
fisker Cheung 80a3b919ea Update linguist-languages to v8 (#17569) 2025-06-07 17:35:33 +08:00
fisker Cheung 0f5fee8fac Switch test runner to childProcess (#17571) 2025-06-07 17:25:46 +08:00
fisker Cheung f03061ae8d Fix experimental-cli test (#17570) 2025-06-06 03:06:03 +08:00
fisker Cheung b95cb103d5 Improve isIndentableBlockComment (#17568) 2025-06-05 18:40:50 +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 Cheungandautofix-ci[bot] d49444352a Fix plugin loading in prettier.getFileInfo() (#17548)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 17:10:39 +08:00
fisker Cheung ee4db119a5 Update yarn to v4.9.2 (#17556) 2025-06-04 13:30:52 +08:00
fisker Cheung bbc79e670e Add firendly heading id to changelog entry (#13549) 2025-06-02 23:00:59 +08:00
fisker Cheung 2763319027 Fix HTML format that tag name is an object prototype property (#17501) 2025-06-02 22:56:07 +08:00
fisker Cheung d9b33d2990 Fix function argument incorrectly lowercased (#17502) 2025-06-02 22:55:08 +08:00
fisker Cheung c69b1d7d38 Add test for editorconfig bug (#17503) 2025-06-02 22:54:21 +08:00
fisker Cheung d8ab2b1f66 Fix exit code and result message when parser can not infer (#17505) 2025-06-02 22:53:37 +08:00
fisker Cheung 6fffbdf7c4 Add test for #15463 (#17508) 2025-06-02 22:51:53 +08:00
fisker Cheung 4df0a871ca Add hermes parser (#17520) 2025-05-29 15:30:45 +08:00
fisker Cheung f037a2674c Support Angular 20 (JS part) (#17534) 2025-05-29 15:03:17 +08:00
fisker Cheung 8e75fde187 Simplify oxc parser parsing (#17531) 2025-05-28 21:15:20 +08:00
fisker a2dbbc8cbf Group docusaurus dependencies in renovate config 2025-05-28 03:38:01 +08:00
fisker Cheung 242b524eb1 Fix optional chaining as computed key (#17486) 2025-05-28 03:26:56 +08:00
fisker Cheung 9e814108ca Add oxc-ts parser (#17483) 2025-05-27 13:32:23 +08:00
fisker Cheung 3c1475b1e7 Refactor Enum print (#17497) 2025-05-27 11:24:41 +08:00
fisker Cheung 230bba53a9 Forbid new line before arrow (#17516) 2025-05-27 10:46:57 +08:00
fisker Cheung a930383437 Support type cast comments for oxc parser (#17518) 2025-05-27 10:46:20 +08:00
fisker Cheung 40d9a7e2b0 Update oxc-parser to v0.72.0 (#17517) 2025-05-27 09:56:21 +08:00
fisker Cheungandautofix-ci[bot] c26d23c955 Add oxc parser (#17472)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-27 09:35:31 +08:00
fisker Cheung a358006a92 Rewrite TSMappedType print (#17498) 2025-05-27 09:11:00 +08:00
fisker Cheung 441cb1e132 Fix comments in tagged template literal (#17510) 2025-05-27 09:08:27 +08:00
fisker Cheung 7ef4deece5 Enable preview on main branch (#17507) 2025-05-23 14:44:20 +08:00
fisker b6aedcc374 Update VisitorKeys 2025-05-22 14:05:57 +08:00
fisker a962dfefa5 Update VisitorKeys 2025-05-22 13:57:27 +08:00
fisker Cheung d667dd5b52 Fix production test warning on Node.js 24 (#17456) 2025-05-21 11:58:26 +08:00
fisker Cheung c2ad588ec3 Remove unused tokens from js parsers (#17493) 2025-05-20 14:51:42 +08:00
fisker Cheung 275fc2eb69 Improve isSupported() (#17490) 2025-05-20 13:19:15 +08:00
fisker Cheung 4cd55a287d Add a test for angular interpolation (#17433) 2025-05-15 11:35:10 +08:00
fisker Cheung 2349a6ee6f Fix inconsistent assignment format (#17469) 2025-05-15 11:27:32 +08:00
fisker Cheungandautofix-ci[bot] b5378edeeb Fix inconsistent member chain format (#17470)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-15 11:27:22 +08:00
fisker Cheung 953a8cc6dd Fix colors detect for logger (#17455) 2025-05-15 11:26:24 +08:00
fisker Cheung d932cf70df Internally use named export in babel parser (#17482) 2025-05-14 12:45:30 +08:00
fisker Cheung a45ef64573 Regenerate yarn.lock (#17476) 2025-05-13 14:31:28 +08:00
fisker Cheung 0c5b05f2d1 Run tests on Node.js v24 (#17442) 2025-05-09 10:57:26 +08:00
fisker Cheung 74726b4838 Fix filenames (#17453) 2025-05-09 02:18:38 +08:00
fisker Cheung 4665f2cbb2 Update badges (#17447) 2025-05-08 19:26:30 +08:00
fisker 60fcf1ae31 Fix CLI test flags 2025-05-06 11:57:42 +08:00
fisker Cheung d4fd92e266 Bundle "Experimental CLI" (#17396) 2025-05-06 10:34:05 +08:00
fisker Cheung 59c635b939 Correctly parse <mj-style> and <mj-raw> (#17400) 2025-05-06 10:31:59 +08:00
fisker Cheungandautofix-ci[bot] 38dc5dee18 Parse Prettier config with yaml (#17410)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-06 08:18:50 +08:00
fisker Cheung eaeb1e7c04 Use search-closest to search Prettier config and Project root (#17412) 2025-04-29 02:39:18 +08:00
fisker Cheung 45d3498377 Switch html-tag-names to @prettier/html-tags (#17408) 2025-04-27 03:06:22 +08:00
fisker Cheung 5dc1a34039 Website: generate llms-full.txt and llms.txt files (#17388) 2025-04-24 17:04:42 +08:00
fisker Cheung c84b1a1190 Minor improvement to doctype print (#17395) 2025-04-24 17:04:12 +08:00
fisker Cheung e7202d63e7 Refactor mockable functionalities (#17392) 2025-04-23 23:42:19 +08:00
fisker Cheung 369817b61f Measure time with performance.now() instead of Date.now() (#17390) 2025-04-23 02:51:20 +08:00
fisker Cheung a8557aa6df Remove stdin mock (#17389) 2025-04-23 02:30:55 +08:00
fisker Cheung 8c7aa6957b Remove outdated mock (#17391) 2025-04-23 02:25:01 +08:00
fisker Cheung 05a5ff54d0 Add failed test back (#17384) 2025-04-22 17:17:47 +08:00
fisker Cheung 6f4c89f8f9 Update snapshot format for CLI test (#17386) 2025-04-21 23:34:55 +08:00
fisker Cheung 42346f2ef7 Run CLI test in child_process (#17382) 2025-04-21 18:58:44 +08:00
fisker Cheung 17a551dea7 Test: Remove --runInBand (#17378) 2025-04-20 22:23:37 +08:00
fisker Cheung b289ecbb19 Remove support for tupleAndRecord (#17363) 2025-04-17 04:53:05 +08:00
fisker Cheung 4b2db262b7 Migrated version.evaluate.cjs to ES Module (#17347) 2025-04-16 13:39:48 +08:00
fisker Cheung c992b0bc1b Update VSCode settings (#17360) 2025-04-16 13:20:54 +08:00
fisker Cheung aa1462e421 Regenerate lock file (#17358) 2025-04-15 14:25:58 +08:00
fisker Cheung 0f3d230689 Update yarn to v4.9.1 (#17357) 2025-04-15 14:05:20 +08:00
fisker 0549e3c562 Add changelog 2025-04-14 23:40:54 +08:00
fisker 0c136da77d Move to peerDependencies 2025-04-14 23:33:03 +08:00
fisker 7f0a17692b Remove @prettier/is-es5-identifier-name 2025-04-14 23:29:41 +08:00
fisker f1abd1cffc Bundle legacy CLI to internal/legacy-cli.mjs 2025-04-14 23:15:10 +08:00
fisker 0a0a16cb97 Merge branch 'next' into cli-next
# Conflicts:
#	package.json
#	yarn.lock
2025-04-14 23:08:42 +08:00
fisker ea9677a08f Fix lock file 2025-04-14 22:48:59 +08:00
fisker 9697144462 Merge branch 'main' into next
# Conflicts:
#	package.json
#	yarn.lock
2025-04-14 22:47:14 +08:00
fisker Cheung 7e892c4613 Minor improvement to expandPatterns (#17345) 2025-04-14 08:15:15 +08:00
fisker Cheung d94700c704 Minor improvement to inferParser (#17328) 2025-04-14 08:13:32 +08:00
fisker Cheung b3d1f8cdc2 Add mjml parser (#17339) 2025-04-14 08:12:53 +08:00
fisker Cheung db1a46aac5 Minor improvement to config loader (#17343) 2025-04-14 08:11:11 +08:00
fisker Cheung 9282520e0e Put pragma related code together (#17346) 2025-04-13 02:44:25 +08:00
fisker Cheung 763e4aac94 Update yarn to v4.9 (#17337) 2025-04-10 11:48:10 +08:00
fisker Cheung fe536ff6b1 Remove extra lines in --file-info and --support-info (#17332) 2025-04-09 15:23:50 +08:00
fisker Cheung 1b4a63c114 Consistent print* function parameters order (#10402) 2025-04-09 11:07:46 +08:00
fisker Cheung 377b231a5d Bundle package into dist/prettier/ (#15825) 2025-04-09 08:38:46 +08:00
fisker Cheung 004e1e0028 Replace lines-and-columns with index-to-position (#17325) 2025-04-09 08:12:22 +08:00
fisker Cheung f406c9cab9 Update find-cache-directory to v6 (#17327) 2025-04-09 07:41:12 +08:00
fisker Cheung 1ec1e58b06 Use util.parseArgs in changelog-for-patch.js script (#17324) 2025-04-08 10:11:38 +08:00
fisker Cheung f86012fa23 Minor tweak to ESBuild addDefaultExport plugin (#17322) 2025-04-08 09:10:10 +08:00
fisker Cheung 3fbc5bfef5 Update yarn to v4.8.1 (#17317) 2025-04-07 15:23:01 +08:00