Commit Graph
100 Commits
Author SHA1 Message Date
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
fisker Cheung ed94c1e808 Update yarn to v4.8 (#17292) 2025-03-28 20:20:59 +08:00
fisker Cheung 6aa8f9725a Move lines-and-columns to devDependencies (#17271) 2025-03-21 03:18:17 +08:00
fisker Cheung e51310d793 Remove special logic in comment attach (#17270) 2025-03-20 23:07:45 +08:00
fisker Cheung 5d8337e8e0 Allow comment only JSONC files (#17269) 2025-03-20 23:01:10 +08:00
fisker Cheung 959ec00486 Simplify glimmer parse (#17265) 2025-03-20 23:00:52 +08:00
fisker Cheung 13fbc5bff8 Assert TemplateElement location (#17266) 2025-03-20 23:00:28 +08:00
fisker Cheung 110cbfa21c Enable Docusaurus Faster (#17262) 2025-03-19 19:56:33 +08:00
fisker Cheung c58cf7ab5f Update cjk-regex to v3.3 (#17263) 2025-03-18 15:46:27 +08:00
fisker Cheung 2b3710d805 Fix embedded format with cursorOffset (#17254) 2025-03-17 11:23:17 +08:00
fisker Cheung 44d7298f2d Support TemplateLiteral introduced in Angular 19.2 (#17238) 2025-03-17 11:20:49 +08:00
fisker Cheung 6968a93b26 Fix ReDoS vulnerability (#17246) 2025-03-17 11:18:33 +08:00
fisker Cheung 39e9cabdf5 Support cursorOffset in prettier.__debug.printToDoc() (#17256) 2025-03-17 11:16:46 +08:00
fisker Cheung 8708cc0249 Improve playground when using doc-explorer parser (#17252) 2025-03-15 13:47:43 +08:00
fisker Cheung ac434f9ead Support cursor in printDocToDebug() (#17253) 2025-03-15 12:52:15 +08:00
fisker ce7e969860 Fix CI 2025-03-13 11:58:33 +08:00
fisker Cheung b54f53b9de Add dependency-review-action (#17074) 2025-03-12 18:58:13 +08:00
fisker Cheung 568593a799 Update is-es5-identifier-name (#17247) 2025-03-12 18:57:46 +08:00
fisker Cheung d580d39671 Fix CodeQL Analysis (#17245) 2025-03-12 18:27:29 +08:00
fisker Cheung 95f7367191 Update website dependencies (#17244) 2025-03-12 17:12:55 +08:00
fisker Cheung 0acd1cdff8 Share picocolors and leven with CLI (#17230) 2025-03-11 13:48:56 +08:00
fisker Cheungandautofix-ci[bot] db0afb4472 Docs: document how to use autofix.ci (#17215)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 12:27:27 +08:00
fisker Cheung c118e9db8e Replace chalk with picocolors (#17226) 2025-03-10 11:48:01 +08:00
fisker Cheung 959fc2a46b Group regexp related dependencies in renovate.json5 (#17223) 2025-03-08 15:03:54 +08:00
fisker Cheung e963cb9bae Add "Autofix" action (#15749) 2025-03-07 19:24:30 +08:00
fisker Cheung 40a04dd216 Remove special logic for SequenceExpression as arrow function body (#17187) 2025-03-06 21:18:28 +08:00
fisker aa9a605183 Release v4.0.0-alpha.12 2025-03-06 17:56:22 +08:00
fisker b718f58d45 Update @prettier/cli to v0.7.1 2025-03-06 17:55:54 +08:00
fisker Cheung edbc835c9f Fix multiple comments in LogicalExpression and IntersectionType (#17193) 2025-03-05 02:48:25 +08:00
fisker Cheung 6a3c132be4 Add parentheses to numbers in optional member expression (#17190) 2025-03-05 02:47:46 +08:00
fisker Cheung 7af49a1ab3 Fix build script for Node.js v23 (#17208) 2025-03-04 22:11:19 +08:00
fisker b385bf08fa Add missing --repo to git push 2025-03-03 09:29:13 +08:00
fisker b3b17ff5d0 Merge branch 'patch' 2025-03-03 09:22:42 +08:00
fisker 2816921576 Bump Prettier dependency to 3.5.3 2025-03-03 09:21:21 +08:00
fisker cfe721e7ce Clean changelog_unreleased 2025-03-03 09:20:50 +08:00
fisker 4fc98dcba4 Update dependents count 2025-03-03 09:20:49 +08:00
fisker 4ff5dc540f Release 3.5.3 2025-03-03 09:17:10 +08:00
fisker Cheung a2e560e951 Fix missing parentheses in ConditionalTypeAnnotation (#17196) 2025-03-03 09:12:44 +08:00
fisker Cheung fa95c97eb3 Add mergeBlogPost step to release script (#17199) 2025-03-03 09:12:36 +08:00
fisker Cheung b47cd502ad Add title to patch release changelog (#17197) 2025-03-03 09:12:28 +08:00
fisker Cheung 43d4f962f0 Fix missing parentheses in ConditionalTypeAnnotation (#17196) 2025-03-03 09:09:29 +08:00
fisker Cheung 5cdf54dc5f Add mergeBlogPost step to release script (#17199) 2025-03-03 09:08:06 +08:00
fisker Cheung 4e64d7fd82 Add title to patch release changelog (#17197) 2025-03-03 09:07:40 +08:00
fisker Cheung db4b0f96e2 Update yarn to v4.7 (#17204) 2025-03-03 03:59:56 +08:00
fisker af6e7215ce Add playground-redirect.html back to avoid HTTP 404 2025-02-27 01:36:39 +08:00
fisker Cheung 9dac37c608 Replace benchmark with tinybench (#17132) 2025-02-26 16:06:02 +08:00
fisker Cheung 1c616b292e Don't interpret *.frag files as JavaScript files (#17178) 2025-02-26 15:53:21 +08:00
fisker Cheung 00645bcee2 Refactor assignment related part in needs-parens.js (#17146) 2025-02-26 15:53:02 +08:00
fisker Cheung 9eb1b341cd Add assertions to location sensitive nodes (#17141) 2025-02-26 15:52:31 +08:00
fisker Cheung 2485171a5a Build playground with Vite (#17184) 2025-02-26 15:47:40 +08:00
fisker Cheung 9bff2daa5c Fix line compare (#17133) 2025-02-26 15:43:40 +08:00
fisker Cheung ff3b785214 Support import type attribute in TSImportType (#16881) 2025-02-26 15:29:05 +08:00
fisker Cheung 73d26d777d Add parentheses to AssignmentExpression in class property keys (#17145) 2025-02-26 14:07:05 +08:00
fisker Cheung f66d8ec2e0 Exclude generated files in vscode (#17183) 2025-02-25 09:49:01 +08:00
fisker Cheung e20d1fe82c Remove playground redirect link (#17181) 2025-02-25 09:31:29 +08:00
fisker Cheung ca4ab12695 Replace eslint-plugin-react with @eslint-react/eslint-plugin (#17152) 2025-02-25 09:05:54 +08:00
fisker Cheung f818a362d6 Split huge SCSS test files (#17164) 2025-02-25 08:47:34 +08:00
fisker Cheung ff75442274 Prevent reading .editorconfig in getParser (#17169) 2025-02-25 08:47:04 +08:00