Commit Graph
2538 Commits
Author SHA1 Message Date
renovate[bot] bb5bdfbce7 Update dependency flow-parser to v0.181.0 (#12945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-25 16:32:38 +08:00
renovate[bot] b3b09788a2 Update dependency cspell to v6.1.2 (#12974)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 08:54:41 +08:00
renovate[bot] f18dfe9f30 Update dependency @typescript-eslint/typescript-estree to v5.28.0 (#12996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 22:42:40 +08:00
renovate[bot]andfisker Cheung ba2192a134 Update dependency esbuild to v0.14.46 (#12999)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-06-19 19:12:51 +08:00
renovate[bot] ffc806b6aa Update dependency resolve to v1.22.1 (#13024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 15:41:40 +08:00
renovate[bot] f03b4ee2fa Update dependency @babel/parser to v7.18.5 (#13021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 15:33:18 +08:00
renovate[bot] f6ffa6113d Update dependency @typescript-eslint/eslint-plugin to v5.28.0 (#12972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 15:14:02 +08:00
fisker eb73a717fc Remove babel-jest 2022-06-19 12:54:17 +08:00
renovate[bot] 00de5aefc4 Update dependency eslint to v8.18.0 (#13025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 12:43:07 +08:00
renovate[bot] 4edea333c0 Update dependency ci-info to v3.3.2 (#13022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 12:42:42 +08:00
fisker 0e0f879c1a Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	scripts/release/yarn.lock
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/expand-patterns.js
#	src/cli/format.js
#	src/cli/utils.js
#	src/language-js/index.js
#	src/language-js/parse/postprocess/index.js
#	src/language-js/parse/postprocess/typescript.js
#	tests/format/misc/errors/invalid/jsfmt.spec.js
#	tests/integration/__tests__/__snapshots__/support-info.js.snap
#	website/playground/sidebar/SidebarOptions.js
#	yarn.lock
2022-06-19 11:12:22 +08:00
fisker Cheung 1f9baef429 Bump Prettier dependency to 2.7.1 2022-06-16 13:51:10 +08:00
fisker Cheung eeed611c72 Release 2.7.1 2022-06-16 13:36:19 +08:00
renovate[bot]andRenovate Bot 5f8885d5f2 Update dependency rollup-plugin-license to v2.8.1 (#13007)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 13:25:15 +08:00
fisker Cheung 59ec4f2ef4 Bump Prettier dependency to 2.7.0 2022-06-14 14:33:25 +08:00
fisker Cheung 13dcc16330 Release 2.7.0 2022-06-14 13:06:41 +08:00
Sosuke Suzuki 2316e2fecd Update linguist-language (#12994)
* Install new `linguist-language`

* Remove `.mts` and `.cts`

* Update tests
2022-06-12 01:55:11 +09:00
Sosuke SuzukiandSimon Lydell fdccc0f48e Add --cache CLI option (#12800)
* Install `file-entry-cache` and types

* Implement `FormatResultsCache`

* Add `--cache` and `--cache-location` option

* Implement `--cache` and `--cache-location`

* Add tests for `--cache`

* Add tests for `--cache-location`

* Avoid spellcheck error

* Update snapshots for new options

* Add `groupBy` for website

* Use `fs.promises` instead of `fs/promises`

* Use `rimraf` instead of `fs.rm`

* Fix properties order of `options`

* Install `find-cache-dir` and types

* Change default cache file location to `node_modules/.cache/prettier`

* Fix tests following to change default cache file location

* Update snapshots for changing default cache file location

* Set `os.tmpdir()` as a fallback for default cache dir

* Add docs for `--cache` and `--cache-location`

* Use `sdbm` instead of `node:crypto`

* Add changelog

* Fix `getHashOfOptions`

* Remove `cache-location`

* `prettiercache` -> `prettier-cache`

* Remove cache file when run Prettier without `--cache` option

* Implement `--cache-strategy`

* Add tests for invalid cache strategy

* Fix lint problems

* Tweaks tests

* Add tests for timestamp

* Add tests for `--cache-strategy`

* Add docs for cache-strategy

* Address review

* Fix `findCacheFile`

* Use Set.prototype.has

* Throw error with --stdin-filepath

* Update snapshots

* Fix error for cache and stdin

* Use string constructor instead of toString

* Update changelog

* Use flag validation

* Fix `cache-strategy` definition

* Update docs

* Mark highlihgt

* Throw error for `--cache-strategy` without `--cache`

* Update docs

* Fix typo

* Updates snapshots

* Update docs/cli.md

Co-authored-by: Simon Lydell <simon.lydell@gmail.com>

* Fix error message

* Remove `:::` syntax

* Defaults `content`

* Update docs

* Fix by Prettier

Co-authored-by: Simon Lydell <simon.lydell@gmail.com>
2022-06-11 23:32:32 +09:00
Sosuke Suzuki 97bab8f984 Update angular-estree-parser (#12993)
* Update `angular-estree-parser`

* Add tests

* Add changelog
2022-06-11 20:08:46 +09:00
Sosuke Suzuki 7f9a08762d Update dependency flow-parser to v0.180.0 (#12990)
* Update `flow-parser`

* Update snapshots
2022-06-11 00:06:22 +09:00
fisker Cheung c22ea97e00 Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	scripts/build/config.mjs
#	src/language-html/print/tag.js
#	src/main/load-parser.js
#	src/main/parser.js
#	yarn.lock
2022-06-06 22:00:41 +08:00
renovate[bot]andRenovate Bot a55e01ab6f Update dependency eslint-plugin-jest to v26.5.3 (#12976)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-06 21:49:32 +08:00
renovate[bot]andRenovate Bot 9ecf029006 Update dependency @types/jest to v28 (#12980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-06 21:46:34 +08:00
renovate[bot]andRenovate Bot 9d0d4fb35e Update dependency eslint to v8.17.0 (#12975)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-06 20:22:41 +08:00
fisker Cheung 83ec3c36e3 Build: stricter warning check (#12956) 2022-06-01 19:23:13 +08:00
renovate[bot]andRenovate Bot df3ae00ba4 Update dependency eslint-plugin-jest to v26.4.6 (#12952)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-01 08:42:48 +08:00
renovate[bot]andRenovate Bot b30c55367b Update dependency @babel/types to v7.18.4 (#12955)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-01 08:42:31 +08:00
Sosuke Suzuki a808df643d Update @typescript-eslint/typescript-estree to 5.27.0 and move tests (#12959)
* Install latest typescript-estree

* Move tests for type parameter of typeof

* Update changelog
2022-06-01 06:47:51 +09:00
renovate[bot]andRenovate Bot 3a9b4249d7 Update dependency @babel/parser to v7.18.4 (#12954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 13:48:42 +08:00
renovate[bot]andRenovate Bot 23cc22af94 Update dependency @babel/types to v7.18.2 (#12938)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 12:38:51 +08:00
renovate[bot]andRenovate Bot 97054f5a5f Update dependency eslint-plugin-jest to v26.4.2 (#12944)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 11:10:39 +08:00
renovate[bot]andRenovate Bot e5339cbc11 Update dependency rollup-plugin-license to v2.8.0 (#12946)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 11:08:17 +08:00
renovate[bot]andRenovate Bot 142db97c1a Update dependency @typescript-eslint/eslint-plugin to v5.26.0 (#12942)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 11:07:38 +08:00
renovate[bot]andRenovate Bot b3da5ce320 Update dependency diff to v5.1.0 (#12943)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 11:07:03 +08:00
renovate[bot]andRenovate Bot 86e04e26b3 Update dependency esbuild to v0.14.41 (#12940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 10:54:44 +08:00
renovate[bot]andRenovate Bot aded37380e Update dependency @babel/parser to v7.18.3 (#12908)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-29 10:51:53 +08:00
fisker Cheung 9569ab12aa Merge branch 'main' into next
# Conflicts:
#	.github/renovate.json5
#	.github/workflows/lint.yml
#	package.json
#	src/cli/format.js
#	src/language-js/print/type-annotation.js
#	src/language-js/print/typescript.js
#	src/language-js/utils/index.js
#	tests/format/typescript/enum/jsfmt.spec.js
#	tests/format/vue/with-plugins/jsfmt.spec.js
#	website/yarn.lock
#	yarn.lock
2022-05-28 11:19:03 +08:00
renovate[bot]andRenovate Bot f55bbca426 Update dependency cspell to v6 (#12917)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 10:22:03 +08:00
Sosuke Suzuki 3147244f55 Update dependencies to support TypeScript 4.7 (#12921)
* Update `@typescript-eslint/typescript-estree` to 5.26.0

* Update `typescript` to `4.7.1-rc`

* Fix syntax kind

* Add `jsdoc_only_types.ts` to unstable tests

* Make printing jsdoc type stable

* Update typescript
2022-05-27 01:46:31 +09:00
renovate[bot]andRenovate Bot adfaf50f8b Update dependency eslint-plugin-react to v7.30.0 (#12916)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:32:48 +08:00
renovate[bot]andRenovate Bot 99e75dcfdd Update dependency postcss to v8.4.14 (#12905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:01:29 +08:00
renovate[bot]andRenovate Bot ab30d88f50 Update dependency c8 to v7.11.3 (#12902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 16:01:07 +08:00
renovate[bot]andRenovate Bot b760117969 Update dependency @babel/types to v7.18.0 (#12911)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 13:09:42 +08:00
renovate[bot]andRenovate Bot cd041a645f Update dependency @typescript-eslint/eslint-plugin to v5.25.0 (#12912)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 13:08:23 +08:00
renovate[bot]andRenovate Bot 955c1b8eba Update dependency eslint to v8.16.0 (#12915)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 13:07:59 +08:00
renovate[bot]andRenovate Bot e95e1544bb Update dependency flow-parser to v0.178.1 (#12904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 13:07:43 +08:00
Sosuke Suzuki a1efda838a Update @babel/parser (#12896) 2022-05-21 23:00:06 +09:00
renovate[bot]andRenovate Bot 142d5c382e Update dependency flow-parser to v0.178.0 (#12877)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-16 21:32:09 +03:00
renovate[bot]andRenovate Bot 21593d6fee Update dependency @types/jest to v27.5.1 (#12869)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-16 15:54:01 +08:00
24a066399e Update dependency postcss to v8.4.13 (#12815)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-05-16 10:28:29 +08:00