Commit Graph
919 Commits
Author SHA1 Message Date
renovate[bot]andRenovate Bot 17ab1a8482 Update dependency codemirror-graphql to v1.3.0 (#12847)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 19:09:00 +08:00
renovate[bot]andRenovate Bot 777d07ad6d Update dependency codemirror to v5.65.3 (#12820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 18:55:27 +08:00
renovate[bot]andRenovate Bot 2105825d5d Update react to v18 (major) (#12849)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 18:43:11 +08:00
renovate[bot]andRenovate Bot 70da35df5b Update dependency clipboard to v2.0.11 (#12812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 18:12:49 +08:00
renovate[bot]andRenovate Bot 727e006dd6 Update dependency clipboard.js to v2.0.11 (#12813)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 18:12:34 +08:00
fisker Cheung 8b00726cd4 Fix v3 website (#12845) 2022-05-08 17:56:50 +08:00
fisker Cheung fcc8c484c3 Use yarn 3 (#12599) 2022-05-06 20:27:33 +08:00
fisker Cheung e14411c278 Support async parser (#12748) 2022-05-04 11:15:48 +08:00
fisker CheungandSosuke Suzuki 799bef037d Simplify eslint config (#12736)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-05-04 10:30:25 +08:00
dependabot[bot]andfisker Cheung 6a1f4f6dd6 Build(deps): Bump react and react-dom in /website (#12722)
* Build(deps): Bump react and react-dom in /website

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 17.0.2 to 18.1.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.1.0/packages/react)

Updates `react-dom` from 17.0.2 to 18.1.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.1.0/packages/react-dom)

---
updated-dependencies:
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .eslintrc.cjs

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-05-03 16:01:31 +03:00
dependabot[bot] c00f8dfd76 Build(deps-dev): Bump @babel/preset-env in /website (#12761)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.11 to 7.17.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.17.10/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 10:06:03 +08:00
dependabot[bot] 28d5ac74d8 Build(deps-dev): Bump @babel/core from 7.17.9 to 7.17.10 in /website (#12765) 2022-05-01 16:14:18 +00:00
fisker Cheung 23f5ca2476 Fix website (#12745) 2022-04-29 15:09:54 +08:00
fisker Cheung c6d6b25833 prettier.{format,formatWithCursor,check}() are now async (#12574) 2022-04-29 14:22:24 +08:00
dependabot[bot] 851eab5349 Build(deps-dev): Bump @babel/preset-env from 7.16.7 to 7.16.11 in /website (#12727)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 18:19:05 +08:00
dependabot[bot] 19face9f8f Build(deps-dev): Bump @babel/core from 7.16.7 to 7.17.9 in /website (#12729)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 14:21:11 +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
dependabot[bot] 5024adb9d7 Build(deps-dev): Bump babel-loader from 8.2.4 to 8.2.5 in /website (#12690)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 18:00:46 +08:00
c50f2bbe30 Please describe what prettier ignores by default (#12626)
Co-authored-by: Szymon Dzialowski <sdzialowski@godaddy.com>
Co-authored-by: Szymon Dzialowski <sdzialowski@gmail.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-12 17:47:07 +08:00
dependabot[bot] ae72b47477 Build(deps-dev): Bump webpack from 5.71.0 to 5.72.0 in /website (#12637)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 19:51:20 +08:00
Ansgar Prause 3390aa12b8 Fix groupBy usage in playground sidebar (#12642)
The groupBy function added in fa3b95c2e1
does not support the property name shorthand from lodash.
2022-04-10 19:20:33 +08: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
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 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
dependabot[bot] 5a6897fe32 Build(deps): Bump codemirror-graphql from 1.2.14 to 1.2.15 in /website (#12589) 2022-04-04 05:02:21 +00:00
dependabot[bot] f62e37ba06 Build(deps-dev): Bump concurrently from 7.0.0 to 7.1.0 in /website (#12588) 2022-04-03 20:20:22 +00:00
dependabot[bot] fdfa56d6af Build(deps-dev): Bump webpack from 5.70.0 to 5.71.0 in /website (#12587) 2022-04-03 19:30:42 +00:00
Sosuke Suzuki d2b63070af Update dependents count 2022-04-03 01:33:18 +09:00
Sosuke Suzuki d6f82a024a Release 2.6.2 2022-04-03 01:31:20 +09:00
fisker CheungandAlexander Kachkaev 1e119adf29 Minor tweak to the website (#12522)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-04-03 00:32:00 +09:00
dependabot[bot] e7486b705a Build(deps-dev): Bump babel-loader from 8.2.3 to 8.2.4 in /website (#12543) 2022-04-03 00:32:00 +09:00
dependabot[bot] 542e092059 Build(deps): Bump codemirror-graphql from 1.2.13 to 1.2.14 in /website (#12544) 2022-04-03 00:32:00 +09: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 CheungandAlexander Kachkaev c9be8d1e0e Minor tweak to the website (#12522)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-03-27 21:52:17 +08:00
dependabot[bot] e4363261b0 Build(deps-dev): Bump babel-loader from 8.2.3 to 8.2.4 in /website (#12543) 2022-03-27 09:58:59 +00:00
dependabot[bot] a5249f7ac4 Build(deps): Bump codemirror-graphql from 1.2.13 to 1.2.14 in /website (#12544) 2022-03-27 09:58:37 +00:00
fisker Cheung 92d1f89c98 Merge branch 'main' into next
# Conflicts:
#	scripts/vendors/bundle-vendors.mjs
2022-03-25 16:45:08 +08:00
Sosuke Suzuki 348ee15661 Update dependents count 2022-03-25 14:00:46 +09:00
Sosuke Suzuki ad505bf771 Release 2.6.1 2022-03-25 13:58:22 +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
Harry Hopkinsonandfisker Cheung 9e7f7b9295 Updated the State of JS Survey Results (#12350)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-03-24 11:08:01 +08:00
fisker CheungandSosuke Suzuki 9e70d6cab6 Minor tweak to the blog post (#12473)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-03-20 14:49:02 +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 361dc14f06 Update Vercel logo & link (#12456) 2022-03-17 20:11:50 +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
Sosuke Suzuki 0d34974a07 Run prettier after release (#12472) 2022-03-16 18:38:31 +08:00
eb671dd983 2.6 blog post (#12412)
* Generate

* Generate

* Add TS4.6 changelog

* Regenerate

* Add changelog to switch to esbuild

* Add category

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Address review

* Regenerate

* Highlight TS 4.6

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Regenerate

* Update changelog_unreleased/typescript/12390.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Add thanks message for sponsors

* Address review!

* Update cspell.json

* Fix link of Ubie

* Generate

* Add `Thanks to our sponsors!`

* Update cspell

* Address review

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>

* Regenerate

* Add `--print-truncate` option

* Address review

* Generate

Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-03-16 13:25:48 +09:00
Sosuke Suzuki 08bcf83a2e Update dependents count 2022-03-16 13:24:52 +09:00
Sosuke Suzuki cba25e6b09 Release 2.6.0 2022-03-16 13:09:58 +09:00
Harry Hopkinsonandfisker Cheung 2ef29b36c7 Add link to community plugins list (#12443)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-03-14 17:02:20 +08:00