fisker Cheung
|
2052ce5cb8
|
Bundle CLI as ES Module (#13091)
|
2022-08-11 14:08:08 +08:00 |
|
fisker Cheung
|
a6661e850c
|
Use import() in parsers (#13261)
|
2022-08-10 19:32:44 +08:00 |
|
 fisker CheungandGeorgii Dolzhykov
|
0b9cb96f58
|
Remove support for custom parser api (#13250)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
|
2022-08-08 01:09:10 +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 Dolzhykovandfisker
|
2c77149e6a
|
Add benchmark script (#13224)
Co-authored-by: fisker <lionkay@gmail.com>
|
2022-08-06 11:25:34 +08:00 |
|
fisker Cheung
|
33e621133c
|
Remove prettier.doc.builders.concat (#13203)
|
2022-08-06 11:03:47 +08:00 |
|
fisker Cheung
|
f7cdd326f8
|
Minor refactor (#13221)
|
2022-08-05 19:48:42 +08:00 |
|
renovate[bot]
|
0780ba4590
|
Update dependency webpack to v5.74.0 (#13195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2022-08-01 11:07:33 +08:00 |
|
renovate[bot]
|
a4954041af
|
Update dependency node-fetch to v3.2.10 (#13199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2022-08-01 10:59:36 +08:00 |
|
fisker Cheung
|
44d246a2a2
|
Support config file in ESM (#13130)
|
2022-08-01 10:51:31 +08:00 |
|
renovate[bot]
|
581ec3c3f8
|
Update dependency node-fetch to v3.2.9 (#13167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2022-07-25 12:19:34 +08:00 |
|
fisker Cheung
|
1d750585fd
|
Missing lock file
|
2022-07-23 18:24:34 +08:00 |
|
fisker Cheung
|
73b8c86cc4
|
Merge branch 'main' into next
# Conflicts:
# scripts/tools/bundle-test/yarn.lock
|
2022-07-23 18:19:22 +08:00 |
|
dependabot[bot]
|
e46aba0ab2
|
Build(deps): Bump terser from 5.12.1 to 5.14.2 in /scripts/tools/bundle-test (#13144)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-07-21 09:58:40 +08:00 |
|
renovate[bot]
|
c840596d9e
|
Update dependency node-fetch to v3.2.8 (#13122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2022-07-18 10:20:29 +08:00 |
|
Sosuke Suzuki
|
6c722c7990
|
[next]Enforce fs/promises (#13119)
* Add new ESLint rule `prefer-fs-promises`
* Apply rule
* Renaming
|
2022-07-17 16:02:22 +09:00 |
|
renovate[bot]
|
3f9c2fec0b
|
Update dependency jest to v28.1.3 (#13121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2022-07-17 13:50:08 +08:00 |
|
Sosuke Suzuki
|
75c8d46ab4
|
Drop Node.js 12 Support (#13118)
* Drop Node.js 12 Support
* Update CHANGELOG
* Update build target
* Comment out
* Remove node 14 from `exclude`
* Update CI
* Update changelog_unreleased/api/11830.md
|
2022-07-17 04:26:27 +09:00 |
|
Sosuke Suzuki
|
33fcc6c4dd
|
Update requirements (#13117)
|
2022-07-17 00:08:47 +09:00 |
|
fisker Cheung
|
29f6bc2c6d
|
Migrate third-party.js to ES Module (#13092)
|
2022-07-12 10:20:11 +08:00 |
|
renovate[bot]
|
11cf33c0a6
|
Update dependency jest to v28.1.2 (#13069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2022-07-10 19:28:55 +08:00 |
|
renovate[bot]
|
be1d40831b
|
Update dependency node-fetch to v3.2.6 (#13001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2022-06-20 08:55:09 +08:00 |
|
renovate[bot]
|
dcdbcb3720
|
Update dependency jest to v28.1.1 (#13000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2022-06-19 22:41:56 +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 |
|
fisker
|
3cbc068613
|
Fix spell check
|
2022-06-19 12:41:03 +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 |
|
Sosuke Suzuki
|
fde0b49d78
|
Run prettier
|
2022-06-18 21:49:24 +09:00 |
|
fisker Cheung
|
877ae8ec16
|
Add repo to another git push command
|
2022-06-16 13:56:57 +08:00 |
|
fisker Cheung
|
dd2af6f053
|
Fix --skip-dependencies-install
|
2022-06-16 13:21:11 +08:00 |
|
fisker Cheung
|
b21772baaa
|
Allow skip depencies install & set repo
|
2022-06-16 13:17:54 +08:00 |
|
fisker Cheung
|
448786fe35
|
Revert changes in release script
|
2022-06-14 14:40:25 +08:00 |
|
fisker Cheung
|
f64c96c6f3
|
Skip steps
|
2022-06-14 14:23:50 +08:00 |
|
fisker Cheung
|
0fe554c2b0
|
Add one more step
|
2022-06-14 14:23:34 +08:00 |
|
fisker Cheung
|
3771e9c53d
|
Skip steps
|
2022-06-14 14:21:26 +08:00 |
|
fisker Cheung
|
00ee6fb6f8
|
Skip depenedencies install
|
2022-06-14 13:04:05 +08: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 |
|
dependabot[bot]
|
aa1d536e29
|
Build(deps): Bump tmpl from 1.0.4 to 1.0.5 in /scripts/release (#12984)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-08 00:24:11 +08:00 |
|
 renovate[bot]andRenovate Bot
|
b6266a8be3
|
Update dependency node-fetch to v3.2.5 (#12970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-06-07 09:08:35 +08: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
|
971b4036d0
|
Update dependency webpack to v5.73.0 (#12977)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-06-06 20:21:53 +08:00 |
|
fisker Cheung
|
83ec3c36e3
|
Build: stricter warning check (#12956)
|
2022-06-01 19:23:13 +08:00 |
|
fisker Cheung
|
feb6b519ee
|
Update release script (#12591)
|
2022-05-30 13:44:54 +08:00 |
|
 renovate[bot]andRenovate Bot
|
19cad885c3
|
Update dependency webpack to v5.72.1 (#12872)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-05-16 10:27:35 +08:00 |
|
fisker Cheung
|
567e4d9e79
|
Test: Use worker to run CLI test (#12705)
|
2022-05-10 15:42:11 +08:00 |
|
 renovate[bot]andRenovate Bot
|
eb6f9fdfa8
|
Update dependency jest to v28.1.0 (#12826)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-05-08 18:13:17 +08:00 |
|
 renovate[bot]andRenovate Bot
|
ad473af6dc
|
Update dependency webpack to v5.72.0 (#12828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-05-08 17:59:35 +08:00 |
|
fisker Cheung
|
ff98159873
|
Use named export in doc.js (#12789)
|
2022-05-07 01:37:40 +08:00 |
|
fisker Cheung
|
fcc8c484c3
|
Use yarn 3 (#12599)
|
2022-05-06 20:27:33 +08:00 |
|
fisker Cheung
|
cabc9e13b5
|
Fix some esbuild warnings (#12798)
|
2022-05-06 18:52:40 +08:00 |
|
fisker Cheung
|
c1f6d021e5
|
Use named export instead of default export (#12740)
|
2022-05-05 15:03:08 +08:00 |
|