Commit Graph
100 Commits
Author SHA1 Message Date
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
fisker Cheung 5dc7e8e54a Accept URL as custom config file in resolveConfig (#17167) 2025-02-25 08:46:15 +08:00
fisker Cheung e830ad36a7 Support URL in plugins options (#17166) 2025-02-25 08:45:25 +08:00
fisker Cheung 14fd0f6caf Use ESM version in playground (#17125) 2025-02-25 08:29:09 +08:00
fisker Cheung a94d2e7873 Replace execa with nano-spawn (#17128) 2025-02-25 08:07:03 +08:00
fisker Cheung 451bacb545 Improve installDependencies step in release script (#17130) 2025-02-25 06:37:28 +08:00
fisker Cheung d1b11f1239 Lazy load plugins in playground (#17119) 2025-02-25 06:27:02 +08:00
fisker 67a6e4cd93 Release v4.0.0-alpha.11 2025-02-25 06:09:45 +08:00
fisker d8ecd284d7 Update @prettier/cli to v0.7.0 2025-02-25 06:09:22 +08:00
fisker 9cbc88f7a6 Merge branch 'main' into next
# Conflicts:
#	package.json
#	src/index.js
#	yarn.lock
2025-02-25 05:51:03 +08:00
fisker de30788d30 Minor fix in release script 2025-02-22 12:18:52 +08:00
fisker ecee6a0e52 Clean changelog_unreleased 2025-02-22 12:15:17 +08:00
fisker fd06512614 Bump Prettier dependency to 3.5.2 2025-02-22 12:15:13 +08:00
fisker 1f74dd55ac Update dependents count 2025-02-22 12:14:37 +08:00
fisker 399f427f88 Release 3.5.2 2025-02-22 12:10:38 +08:00
fisker CheungandTatsunori Uchino bf5aab8f2d Revert "Use ESM entrypoint for require(ESM)" (#17156)
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
2025-02-22 12:07:28 +08:00
fisker Cheung c98acabc34 Replace execa with nano-spawn in release script (#17129) 2025-02-22 11:58:23 +08:00
fisker Cheung e2624b6404 Enforce dependency version be pinned in all packages (#17161) 2025-02-20 23:24:36 +08:00
fisker b9e25ea8aa Fix Knip config 2025-02-19 00:46:13 +08:00
fisker 9e2c61817a Change default CLI to legacy 2025-02-19 00:21:29 +08:00