fisker Cheung
|
c1f6d021e5
|
Use named export instead of default export (#12740)
|
2022-05-05 15:03:08 +08:00 |
|
fisker Cheung
|
e14411c278
|
Support async parser (#12748)
|
2022-05-04 11:15:48 +08:00 |
|
fisker Cheung
|
eb7b504c06
|
Use import.meta.jest (#12776)
|
2022-05-04 11:08:51 +08:00 |
|
fisker
|
b4c74de822
|
Merge branch 'main' into next
# Conflicts:
# src/cli/format.js
# src/language-css/utils/has-string-or-function.js
# src/language-css/utils/is-scss-variable.js
|
2022-05-01 21:41:20 +08:00 |
|
Sosuke Suzuki
|
fe6820e815
|
Try to fix pnpm error on Dev Package Tests (#12774)
* Remove `-y` from `pnpm init`
* Change
|
2022-05-01 11:49:15 +09:00 |
|
Sosuke Suzuki
|
504d751036
|
Preserve blank line between export specifiers (#12746)
* Preserve blank line between export specifiers
* Add changelog
* rename
|
2022-04-29 17:42:42 +09:00 |
|
fisker Cheung
|
c6d6b25833
|
prettier.{format,formatWithCursor,check}() are now async (#12574)
|
2022-04-29 14:22:24 +08:00 |
|
fisker Cheung
|
fc74af1d94
|
Set loglevel to debug automatically when performance flags found (#12698)
|
2022-04-28 11:24:59 +08:00 |
|
fisker Cheung
|
2eb296adf9
|
Merge branch 'main' into next
|
2022-04-27 18:00:07 +08:00 |
|
 HosokawaRandfisker Cheung
|
9fbdcda5b1
|
Print as instead of : for babel-ts parser (#12706)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-04-27 17:56:38 +08:00 |
|
fisker Cheung
|
d1332b4c63
|
Set printBasicPrototype: false in snapshots (#12702)
|
2022-04-27 17:56:05 +08:00 |
|
fisker Cheung
|
c0bbc1bd34
|
Bump jest-light-runner to v0.2.0
|
2022-04-26 22:06:36 +08:00 |
|
fisker Cheung
|
76d0002265
|
Fix by ESLint
|
2022-04-25 14:48:07 +08:00 |
|
fisker Cheung
|
a85f38f096
|
Merge branch 'main' into next
# Conflicts:
# .github/workflows/dev-test.yml
# jest.config.mjs
# package.json
# scripts/vendors/vendor-meta.json
# scripts/vendors/vendors.mjs
# src/cli/format.js
# src/cli/options/create-minimist-options.js
# src/cli/options/parse-cli-arguments.js
# src/cli/usage.js
# src/cli/utils.js
# src/common/create-ignorer.js
# src/common/load-plugins.js
# src/config/resolve-config.js
# src/index.js
# src/language-css/utils/css-units.evaluate.js
# src/language-html/ast.js
# src/language-html/print-preprocess.js
# src/language-html/utils/index.js
# src/main/multiparser.js
# tests/format/markdown/auto-link/jsfmt.spec.js
# tests/integration/__tests__/__snapshots__/config-resolution.js.snap
# tests/integration/__tests__/__snapshots__/with-config-precedence.js.snap
# tests/integration/__tests__/file-info.js
# yarn.lock
|
2022-04-25 14:28:27 +08:00 |
|
fisker Cheung
|
85e6e4f73f
|
CLI: Skip print code or write file when performance flags found (#12682)
|
2022-04-25 08:44:22 +08:00 |
|
 
|
29c4a3e559
|
bugfix(graphql): Fix single line and empty description formatting (#12608)
Co-authored-by: Harry Hopkinson <63599884+Harry-Hopkinson@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-04-22 20:38:44 +08:00 |
|
Sosuke Suzuki
|
a4cba80dc0
|
Allow formatting for Vue template expression written in TypeScript (#12584)
* Support TS expression in vue SFC
* Add changelog
* Add `__ts_expression`
* Add `__vue_ts_expression`
* Add tests
* Do not use `ast.walk`
* Address review
* Add `__vue_ts_event_binding`
* Fix
|
2022-04-17 13:12:19 +09:00 |
|
 Sosuke Suzukiandfisker Cheung
|
fa3b95c2e1
|
Remove lodash (#12628)
* Replace `groupBy`
* Replace `partition`
* Replace `pick`
* Move `partition`
* Replace `uniqBy`
* Replace `fromPairs`
* Remove usage from website
* Reuse `partition`
* Remove from package.json
* Fix
* Use `ignore.default`
* Add `resolveConfig` to `FileInfoOptions`
* Explicit tuple types
* Make `cache` optional
* Fix cosmiconfig type
* Use `@ts-expect-error` for private property access
* Add type annotation for validate
* Fix type errors for `OptionInfo`
* Add `@ts-expect-error`
* Fix type of `normalizeOptions`
* Fix `OptionInfo` type
* Add `@ts-expect-error` for `option-normalizer`
* Avoid type error
* Fix typo
* Add types for lodash fns
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-04-10 15:26:07 +09:00 |
|
Simen Bekkhus
|
033ac94f25
|
chore: disable string escaping in snapshots (#12612)
|
2022-04-08 09:59:17 +09:00 |
|
 Harry Hopkinsonandfisker Cheung
|
f98c197b66
|
Print the number of files that need formatting. (#12561)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-04-07 09:47:13 +08:00 |
|
fisker Cheung
|
3fd64b4f30
|
Format .importmap file with json-stringify parser (#12603)
|
2022-04-07 09:37:30 +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
|
637c00618c
|
Use published jest-light-runner (#12592)
|
2022-04-05 10:42:21 +08:00 |
|
dependabot[bot]
|
f4d4dc1177
|
Build(deps): Bump strip-ansi from 6.0.0 to 7.0.0 (#10731)
|
2022-04-02 11:24:18 +00:00 |
|
 dependabot[bot]andfisker Cheung
|
b1e96cde95
|
Build(deps): Bump meriyah from 4.2.0 to 4.2.1 (#12567)
* Build(deps): Bump meriyah from 4.2.0 to 4.2.1
Bumps [meriyah](https://github.com/meriyah/meriyah) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/meriyah/meriyah/releases)
- [Changelog](https://github.com/meriyah/meriyah/blob/master/CHANGELOG.md)
- [Commits](https://github.com/meriyah/meriyah/compare/v4.2.0...v4.2.1)
---
updated-dependencies:
- dependency-name: meriyah
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add test for https://github.com/meriyah/meriyah/commit/6de707a0efb3053767deaa36b1ed6979b0d3f873
* Test https://github.com/meriyah/meriyah/commit/37c63613771e5bc6e23b7da2d92e992c60dafc5a
* Test https://github.com/meriyah/meriyah/commit/d757c6b20ae4f6f4e55a77179726db36cf2bd50b
* Add changelog
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-04-02 20:13:21 +09:00 |
|
fisker Cheung
|
afd0220dea
|
Move some bundle test code into tests/ (#12577)
|
2022-04-02 16:14:32 +08:00 |
|
fisker Cheung
|
65ce63b4dc
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/vendors/bundle-vendors.mjs
# scripts/vendors/vendor-meta.json
# scripts/vendors/vendors.mjs
# src/language-handlebars/utils.js
# src/language-html/utils/html-elements-attributes.js
# vendors/tempy.js
|
2022-04-01 10:37:35 +08:00 |
|
fisker Cheung
|
4b73b7e8ab
|
Refactor format test to async (#12559)
|
2022-04-01 10:21:44 +08:00 |
|
fisker Cheung
|
b429cee273
|
Fix less/scss format error (#12536)
|
2022-03-29 20:44:28 +08:00 |
|
 Trevor Scheerandfisker Cheung
|
570c3180b9
|
[graphql] Add support for printing SchemaExtension nodes (#12519)
* Add support for printing SchemaExtension nodes
* Add changelog entry
* Lint
* Update 12519.md
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-03-27 00:59:04 +09:00 |
|
fisker Cheung
|
a21dfbfa21
|
Merge branch 'main' into next-rebase
# Conflicts:
# .eslintrc.cjs
# package.json
# scripts/build/bundler.mjs
# scripts/build/config.mjs
# scripts/build/esbuild-plugins/replace-module.mjs
# src/cli/file-info.js
# src/cli/find-config-path.js
# src/cli/index.js
|
2022-03-24 15:02:29 +08:00 |
|
Sosuke Suzuki
|
becb6c9b74
|
Fix non-idempotent formatting of function calls with complex type arguments (#12508)
* Fix
* Add TS tests
* Add Flow tests
* Add changelog
|
2022-03-23 23:09:58 +09:00 |
|
fisker Cheung
|
5ef82125a9
|
CLI: Don't use logger to print information (#12477)
|
2022-03-21 10:38:48 +08:00 |
|
fisker Cheung
|
ef3fe51380
|
Fix pluginSearchDirs schema (#12474)
* Fix `pluginSearchDirs` schema
* `anyOf` -> `oneOf`
* Fix test
|
2022-03-20 14:50:27 +09:00 |
|
dependabot[bot]
|
425255cc5b
|
Build(deps): Bump @babel/parser from 7.17.3 to 7.17.7 (#12460)
|
2022-03-20 04:46:45 +00:00 |
|
fisker Cheung
|
e4973c1db2
|
Linting
|
2022-03-17 21:34:49 +08:00 |
|
fisker Cheung
|
c96f148ccf
|
Merge branch 'main' into next
# Conflicts:
# tests/config/install-prettier.js
# tests/format/js/cursor/jsfmt.spec.js
# tests/integration/__tests__/doc-trim.js
# tests/integration/__tests__/format.js
# tests/integration/__tests__/line-suffix-boundary.js
# tests/integration/__tests__/load-toml.js
# tests/integration/__tests__/stdin-filepath.js
# tests/integration/__tests__/with-parser-inference.js
|
2022-03-17 21:32:14 +08:00 |
|
fisker Cheung
|
ae080df3e7
|
Enable unicorn/template-indent rule (#12469)
|
2022-03-17 20:13:28 +08:00 |
|
fisker Cheung
|
c95c899b6f
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# scripts/build/config.mjs
# scripts/vendors/vendor-meta.json
# scripts/vendors/vendors.mjs
# src/cli/format.js
# src/cli/logger.js
# src/cli/options/get-options-for-file.js
# src/cli/options/parse-cli-arguments.js
# src/main/core.js
# tests/config/install-prettier.js
# vendors/execa.js
# vendors/mem.js
# vendors/string-width.js
# vendors/tempy.js
# yarn.lock
|
2022-03-17 09:44:08 +08:00 |
|
fisker Cheung
|
935d76780a
|
Prevent plugin search on format test (#12322)
|
2022-03-15 09:44:37 +08:00 |
|
fisker Cheung
|
4b7a39c936
|
Update chalk to v5 (#12446)
|
2022-03-15 09:40:25 +08:00 |
|
fisker Cheung
|
bf98018486
|
Merge branch 'main' into next
# Conflicts:
# .eslintrc.cjs
# .github/workflows/validate-vendors.yml
# bin/prettier.js
# package.json
# scripts/build/bundler.mjs
# scripts/build/config.mjs
# scripts/build/esbuild-plugins/replace-module.mjs
# scripts/build/esbuild-plugins/umd.mjs
# scripts/bundle-eslint-config.cjs
# scripts/vendors/README.md
# scripts/vendors/bundle-vendors.mjs
# scripts/vendors/utils.mjs
# scripts/vendors/vendor-meta.json
# src/cli/index.js
# tests/integration/__tests__/early-exit.js
# yarn.lock
|
2022-03-14 10:31:40 +08:00 |
|
fisker Cheung
|
5a50a0d909
|
Bundle bin and cli separately (#12306)
|
2022-03-13 22:47:02 +08:00 |
|
fisker Cheung
|
fced1ce167
|
Fix
|
2022-03-10 11:34:15 +08:00 |
|
fisker Cheung
|
8118299c67
|
Merge branch 'main' into next
# Conflicts:
# .github/workflows/validate-vendor-versions.yml
# package.json
# src/language-css/printer-postcss.js
# src/language-js/print/assignment.js
|
2022-03-10 11:30:31 +08:00 |
|
 
|
02c17f131b
|
Allow lang attribute of <template> to be empty (#12394)
Co-authored-by: niklasvatn <niklas@vatn.se>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-03-09 06:37:16 +08:00 |
|
 
|
737dd536c7
|
Fix lowercasing postcss values (#12393)
Co-authored-by: HallvardMM no-reply
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-03-09 06:36:14 +08:00 |
|
Georgii Dolzhykov
|
20cc23ba35
|
Fix idempotence issues caused by eol comments after = in assignments (#12349)
|
2022-03-08 01:08:35 +08:00 |
|
fisker Cheung
|
b11044e58c
|
Merge branch 'main' into next
# Conflicts:
# scripts/vendors/vendor-meta.json
# src/cli/options/get-options-for-file.js
# src/cli/options/parse-cli-arguments.js
# src/language-js/print/class.js
# src/language-js/print/type-annotation.js
# src/language-js/printer-estree.js
# src/main/options-normalizer.js
# vendors/tempy.js
|
2022-03-07 11:18:46 +08:00 |
|