Georgii Dolzhykov
effe30a3b8
Playground: show preprocessed AST ( #13606 )
2022-10-10 14:26:55 +03: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
renovate[bot]
9700a0f1de
Update babel to v7.19.3 ( #13557 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 15:02:49 +01:00
Georgii Dolzhykov
b893eeefb2
Update angular-html-parser ( #13578 )
2022-10-03 16:38:22 +03:00
fisker Cheung
7ccc4f55f2
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/modify-typescript-module.mjs
# yarn.lock
2022-09-22 19:17:55 +08:00
fisker Cheung
9bacc75772
Use .at() and Object.hasOwn() ( #13482 )
2022-09-18 17:50:14 +08:00
renovate[bot]
3211122de7
Update babel to v7.19.1 ( #13488 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-18 12:21:47 +08:00
fisker Cheung
b0d9387b95
Fix unpkg link ( #13484 )
2022-09-17 20:32:03 +08:00
renovate[bot]
0a917b8b1a
Update dependency concurrently to v7.4.0 ( #13465 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 10:55:44 +08:00
renovate[bot]
9f3a1ac4a0
Update babel to v7.19.0 (website) ( #13461 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-11 21:58:47 +03:00
fisker Cheung
151ab582b5
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/release/yarn.lock
# yarn.lock
2022-09-06 19:22:51 +08:00
Georgii Dolzhykov
a82a7e0233
Playground: press ctrl-q to generate a dummy id ( #13405 )
2022-09-01 23:20:56 +03:00
Simon Legner and fisker Cheung
9850bc6af3
docs(configuration): linkfix ( #12005 )
...
* docs(configuration): linkfix
* Link to the `overrides` section in new ESLint website
* Update stable version docs too
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-08-29 16:24:02 +03:00
renovate[bot]
73551b0355
Update dependency codemirror-graphql to v2 ( #13382 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 20:25:16 +08:00
renovate[bot]
4b44fbde59
Update dependency @babel/core to v7.18.13 ( #13366 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 20:05:23 +08:00
Georgii Dolzhykov
05c873f09d
Playground: fix 'show doc', add folding for doc-explorer ( #13336 )
2022-08-22 09:25:18 +03:00
fisker Cheung
5fa0802315
Add getVisitorKeys ( #13255 )
2022-08-17 09:47:08 +08:00
fisker Cheung
18a31ebc7e
Merge branch 'main' into next
2022-08-08 01:11:08 +08:00
Georgii Dolzhykov
67efa96da6
Custom parser API: deprecation notice ( #13252 )
2022-08-07 14:12:17 +03:00
renovate[bot]
3341cc4e77
Update babel to v7.18.10 ( #13238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-07 11:46:57 +08:00
Georgii Dolzhykov
21b4045dfa
Link option philosophy from the main page ( #13231 )
...
website: link Option Philosophy from the main page
2022-08-06 19:48:37 +03:00
fisker
07ac240dfb
Fix
2022-08-06 11:47:29 +08:00
fisker
5daa8eba6c
Merge remote-tracking branch 'remotes/upstream/main' into next
...
# Conflicts:
# .gitignore
# website/playground/PrettierFormat.js
# website/static/worker.js
2022-08-06 11:42:33 +08:00
Georgii Dolzhykov
bbbeeb07f6
Playground: "Rethrow embed errors" checkbox ( #13227 )
2022-08-05 17:05:50 +03:00
fisker Cheung
14968e4c59
Enable eslint rule to forbid cli/ import code from other directories ( #13209 )
2022-08-03 18:30:45 +08:00
fisker Cheung
298347c9fb
Merge branch 'main' into next
...
# Conflicts:
# netlify.toml
# src/cli/find-cache-file.js
# src/cli/utils.js
# src/main/parser.js
# website/playground/PrettierFormat.js
# website/static/worker.js
2022-08-01 11:27:34 +08:00
renovate[bot]
eba02d42ab
Update dependency webpack to v5.74.0 ( #13196 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-01 11:07:21 +08:00
jinxdash
80ec70f81f
Add rust to community plugins ( #13180 )
...
Add prettier-plugin-rust
2022-07-28 13:06:11 +03:00
renovate[bot]
5cce128ec1
Update dependency concurrently to v7.3.0 ( #13169 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 11:31:59 +08:00
renovate[bot]
b95ecc8a6d
Update babel to v7.18.9 ( #13163 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 11:31:26 +08:00
Georgii Dolzhykov
b65cb6c1f6
Playground: doc explorer ( #10183 )
2022-07-23 22:46:16 +03:00
fisker Cheung
4d4947c284
Merge branch 'main' into next
...
# Conflicts:
# src/cli/logger.js
# src/language-js/print/binaryish.js
# website/package.json
# website/yarn.lock
2022-07-19 14:13:01 +08:00
fisker Cheung
8880afe9d1
Update dependencies in /website ( #13112 )
2022-07-15 22:55:29 +08:00
renovate[bot]
2b9a2d3973
Update babel to v7.18.6 ( #13064 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 19:30:48 +08:00
renovate[bot]
349fc53d19
Update dependency codemirror to v5.65.6 ( #13043 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 11:26:26 +08:00
renovate[bot]
37074482c8
Update react to v18.2.0 ( #13028 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 21:54:40 +08:00
renovate[bot]
3ad967cca9
Update dependency concurrently to v7.2.2 ( #13023 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 15:32:23 +08:00
renovate[bot]
8bb15ea099
Update dependency @babel/core to v7.18.5 ( #13020 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 13:49:45 +08:00
renovate[bot]
53d10e1c14
Update dependency webpack-cli to v4.10.0 ( #13027 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-19 13:49:25 +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
eeed611c72
Release 2.7.1
2022-06-16 13:36:19 +08:00
renovate[bot] and Renovate Bot
d6cb8bce78
Update dependency codemirror-graphql to v1.3.2 ( #12998 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-06-16 13:24:53 +08:00
Sosuke Suzuki
6b388faa50
Add truncate
2022-06-14 15:36:02 +09:00
fisker Cheung
59ec4f2ef4
Bump Prettier dependency to 2.7.0
2022-06-14 14:33:25 +08:00
fisker Cheung
00a6a9d021
Update dependents count
2022-06-14 14:27:11 +08:00
Sosuke Suzuki and fisker Cheung
934068ac6a
Add 2.7 blog post ( #12966 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-06-14 14:25:40 +08:00
fisker Cheung
13dcc16330
Release 2.7.0
2022-06-14 13:06:41 +08:00
Sosuke Suzuki and Simon 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
renovate[bot] and Renovate Bot
f8ce3b3d96
Update dependency codemirror to v5.65.5 ( #12969 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-06-07 09:08:06 +08:00
renovate[bot] and Renovate Bot
c6c18be3c9
Update dependency webpack to v5.73.0 ( #12978 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-06-06 21:46:58 +08:00