fisker Cheung
377b231a5d
Bundle package into dist/prettier/ ( #15825 )
2025-04-09 08:38:46 +08:00
fisker Cheung
07b468917e
Remove blank lines between imports ( #16450 )
2024-09-29 17:56:37 +08:00
Alexander Kachkaev
1ea2fd059a
Add eslint-plugin-simple-import-sort ( #15817 )
2023-12-18 03:34:12 +08:00
fisker Cheung
117c04fcc8
Simplify mockable ( #15729 )
2023-12-05 14:39:11 +08:00
Sosuke Suzuki
29f8861154
Bump Prettier dependency to 3.0.3
2023-08-29 21:31:25 +09:00
Sosuke Suzuki
fa48415617
Bump Prettier dependency to 3.0.0
2023-07-05 21:50:05 +09:00
fisker Cheung
d6f30ad3d9
Build: add default exports to ESM bundles ( #14757 )
2023-04-25 15:37:56 +08:00
fisker Cheung
df7771caf5
CLI: Use absolute path internally ( #14632 )
2023-03-31 09:04:33 +08:00
fisker Cheung
d70f7b989b
Fix inconsistent option normalization ( #14622 )
2023-03-29 17:48:29 +08:00
fisker Cheung
6c9ba400fa
Bundle printers in plugins ( #14354 )
2023-03-13 09:20:12 +08:00
Sosuke Suzuki
2ed898dfb7
Import fs/promises directly in test files ( #14235 )
...
Import `fs/promises` directly
2023-01-26 12:15:53 +09:00
fisker Cheung
a3dfbf70f7
Build: more powerful esbuild evaluate plugin ( #13724 )
2022-10-30 11:14:51 +08:00
fisker Cheung
106c009245
Add __debug apis to cjs version ( #13731 )
2022-10-26 10:55:37 +08:00
fisker Cheung and Sosuke Suzuki
31a796d32c
Restructure package files, add exports ( #13530 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2022-10-06 15:20:19 +08:00
fisker Cheung
592f27ce0b
Fix integration test ( #12859 )
2022-07-20 23:18:24 +08:00
fisker Cheung
c1f6d021e5
Use named export instead of default export ( #12740 )
2022-05-05 15:03:08 +08:00
fisker Cheung
c6d6b25833
prettier.{format,formatWithCursor,check}() are now async (#12574 )
2022-04-29 14:22:24 +08:00
fisker Cheung
3a852871a3
Fix createSandBox
2022-04-06 16:05:22 +08:00
fisker Cheung
6016404f59
Merge branch 'main' into next
...
# Conflicts:
# .eslintrc.cjs
# .github/workflows/prod-test.yml
# .github/workflows/validate-vendors.yml
# scripts/build/bundler.mjs
# scripts/vendors/bundle-vendors.mjs
# scripts/vendors/utils.mjs
# scripts/vendors/vendor-meta.json
# scripts/vendors/vendors.mjs
# src/cli/logger.js
# src/cli/options/get-options-for-file.js
# src/cli/options/parse-cli-arguments.js
# src/common/util.js
# src/language-html/utils/html-tag-names.js
# tests/integration/__tests__/bundle.js
# tests/integration/__tests__/loglevel.js
# tests/integration/run-prettier.js
# vendors/string-width.js
2022-04-06 15:41:50 +08:00
fisker Cheung
afd0220dea
Move some bundle test code into tests/ ( #12577 )
2022-04-02 16:14:32 +08:00
fisker Cheung
05aa5e16d6
Migrate src/{main,common,config}/** to ES Modules ( #12344 )
2022-02-23 20:16:30 +08:00
fisker Cheung
12b4283b4d
Fix
2022-02-09 10:11:46 +08:00
fisker Cheung
f0b63f3dff
Merge branch 'main' into next
...
# Conflicts:
# CONTRIBUTING.md
# cspell.json
# docs/options.md
# package.json
# scripts/build/bundler.mjs
# src/language-css/loc.js
# src/language-css/parser-postcss.js
# src/language-css/utils/index.js
# tests/format/js/arrows-bind/jsfmt.spec.js
# tests/format/js/async-do-expressions/jsfmt.spec.js
# tests/format/js/bind-expressions/jsfmt.spec.js
# tests/format/js/classes/top-level-super/jsfmt.spec.js
# tests/format/js/comments-pipeline-own-line/jsfmt.spec.js
# tests/format/js/decorator-comments/jsfmt.spec.js
# tests/format/js/decorators-export/jsfmt.spec.js
# tests/format/js/decorators/jsfmt.spec.js
# tests/format/js/do/jsfmt.spec.js
# tests/format/js/export-default/escaped/jsfmt.spec.js
# tests/format/js/export-extension/jsfmt.spec.js
# tests/format/js/export-star/jsfmt.spec.js
# tests/format/js/exports/jsfmt.spec.js
# tests/format/js/invalid-code/jsfmt.spec.js
# tests/format/js/logical-assignment/jsfmt.spec.js
# tests/format/js/multiparser-invalid/jsfmt.spec.js
# tests/format/js/no-semi-babylon-extensions/jsfmt.spec.js
# tests/format/js/object-property-comment/jsfmt.spec.js
# tests/format/js/partial-application/jsfmt.spec.js
# tests/format/js/pipeline-operator/jsfmt.spec.js
# tests/format/js/private-in/jsfmt.spec.js
# tests/format/js/record/jsfmt.spec.js
# tests/format/js/reserved-word/jsfmt.spec.js
# tests/format/js/strings/jsfmt.spec.js
# tests/format/js/throw_expressions/jsfmt.spec.js
# tests/format/js/trailing-whitespace/jsfmt.spec.js
# tests/format/js/v8_intrinsic/jsfmt.spec.js
# tests/format/misc/errors/js/literal/jsfmt.spec.js
# tests/format/misc/errors/js/object/jsfmt.spec.js
# tests/format/misc/errors/js/variable-declarator/jsfmt.spec.js
# tests/integration/__tests__/bundle.js
# tsconfig.json
# yarn.lock
2022-02-09 09:22:32 +08:00
Bogdan Chadkin
76bb0226d5
Replace globby with fast-glob ( #12223 )
...
There is already fast-glob used in src/cli/expand-patterns.js
Here I migrate everywhere to it from globby which is a thin wrapper with
a couple of unused here features.
```
du -ck dist
```
17280 kB
17260 kB
2022-02-05 10:24:10 -03:00
fisker Cheung
8ffbcbbcae
Refactor integration test files to use ES Module ( #11891 )
2021-12-02 10:19:32 +08:00
fisker Cheung
894f841fbd
Style: Enforce extensions ( #11227 )
2021-07-21 09:10:34 +08:00
Georgii Dolzhykov
3d8dc612b5
Bump Prettier dependency to 2.3.0
2021-05-10 00:07:47 +03:00
fisker Cheung
ece93681f1
Restructure test files ( #10415 )
2021-04-25 20:01:56 +08:00