Commit Graph
665 Commits
Author SHA1 Message Date
fisker Cheung e412b27db9 Fix package.json exports field (#13639) 2022-10-16 12:47:33 +08:00
fisker Cheung 2d0041cad5 Reduce size of index.mjs (#13636) 2022-10-16 12:13:19 +08:00
fisker Cheung 81ad8e9a50 Update yaml-unist-parser to v2 (#13638) 2022-10-16 11:53:24 +08:00
Sosuke Suzuki 93553e95d2 Add meta.schema to internal ESLint rules for removing warnings (#13649)
* `jsx-identifier-case`

* `no-node-comments`

* Fix
2022-10-16 10:14:38 +09:00
fisker Cheung 76d0890142 Refactor/Fix release script (#13619) 2022-10-14 17:17:47 +08:00
fisker Cheung df28f23429 Fix bundled index.cjs (#13627) 2022-10-13 17:05:20 +08:00
renovate[bot] 42ea7db105 Update dependency chalk to v5 (#13598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 15:12:15 +08:00
fisker Cheung a79b774ec6 Refactor release script (#13611) 2022-10-12 12:45:37 +08:00
fisker Cheung 3ca842d81c Update @angular/compiler to v14 (#13609) 2022-10-11 11:26:30 +08:00
fisker Cheung 885c3c89ca Reduce size of typescript plugin (#13604) 2022-10-10 20:28:54 +08:00
renovate[bot]andfisker Cheung f4f36b94ec Update dependency angular-estree-parser to v3 (#13603)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-10-10 10:01:13 +08:00
renovate[bot] 352da671fc Update dependency semver to v7.3.8 (#13596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 23:23:31 +08:00
fisker Cheung ea825c9040 Fix "Bundler Friendly" test (#13584) 2022-10-06 21:22:41 +08:00
fisker CheungandSosuke Suzuki 31a796d32c Restructure package files, add exports (#13530)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-10-06 15:20:19 +08:00
fisker Cheung 572452acf8 Reduce size of standalone.js (#13543) 2022-10-04 18:09:24 +08:00
renovate[bot] ec02598625 Update dependency jest to v29.1.2 (#13568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 14:11:01 +01:00
fisker Cheung 3f21a973e1 Fix CJS proxy (#13535) 2022-09-27 11:13:44 +08:00
fisker Cheung bb2104dd7c Support optional chaining in .at() transform (#13528) 2022-09-26 22:54:17 +08:00
Georgii Dolzhykov 6d4d011252 Fix unstable embedded template literals (#13532) 2022-09-26 16:24:41 +03:00
fisker Cheung 81a4d455f3 Build: Refactor build script (#13513) 2022-09-25 11:50:59 +08:00
fisker Cheung 08620b41eb Use ESM version of parsers in bundles (#13505) 2022-09-23 19:26:13 +08:00
fisker Cheung 1569db783b Rename bin-prettier.js bundle to bin-prettier.cjs (#13511) 2022-09-23 19:25:16 +08:00
fisker Cheung 5465517f4b Bundle third-party.js in ESM (#13509) 2022-09-23 19:24:54 +08:00
fisker Cheung 16c9d8bafe Bundle files in ESM (#13266) 2022-09-23 09:46:18 +08:00
fisker Cheung 77ac062120 Fix 2022-09-22 20:20:16 +08: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 8764a3d378 Improve typescript bundle speed (#13433) 2022-09-22 19:11:19 +08:00
fisker Cheung 824690fcc7 Allow parsers initialize asynchronously (#13449) 2022-09-22 15:13:37 +08:00
fisker Cheung 9bacc75772 Use .at() and Object.hasOwn() (#13482) 2022-09-18 17:50:14 +08:00
Sosuke Suzuki 8cfdcaa6b2 Use Object.hasOwn instead of Reflect.has in build script (#13495)
Use `Object.hasOwn` instead of `Reflect.has`
2022-09-18 18:32:17 +09:00
fisker Cheung b0d9387b95 Fix unpkg link (#13484) 2022-09-17 20:32:03 +08:00
fisker Cheung be5f457498 Use AstPath getters in needs-parens.js (#13476) 2022-09-14 14:09:10 +08:00
renovate[bot] 2dc687c613 Update dependency jest to v29.0.3 (#13459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 14:08:37 +08:00
Sosuke Suzuki e92dcbd1a5 Add new ESLint prefer-ast-path-node (#13470)
* Add new lint rule `prefer-path-get-value`

* Add new rule

* Apply fix

* Ingore projects in benchmark

* Add comment
2022-09-11 18:39:06 +09:00
fisker Cheung 6082e3ec9e Remove outdated hack for flow parser (#13442) 2022-09-08 09:43:47 +08:00
Sosuke Suzuki e3ef1e4566 Drop Node.js 14 for development build (#13439)
* Drop Node.js 16 for development

* Fix engine

* Address review
2022-09-08 01:03:45 +09:00
renovate[bot]andfisker Cheung bd5f91545f Update dependency typescript to v4.8.2 (#13381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-07 21:02:51 +08:00
Sosuke Suzuki 1142cf0cb7 Fix generate truncate comment (#13437)
Fix condition
2022-09-07 18:11:10 +09:00
fisker Cheung a6d6c9c3a2 Merge remote-tracking branch 'remotes/upstream/main' into next
# Conflicts:
#	scripts/build/config.mjs
2022-09-06 20:43:52 +08:00
fisker Cheung cd3e530c2e Reduce size of parser-typescript.js (#13431) 2022-09-06 20:38:50 +08: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
renovate[bot] 6de25047f6 Update dependency jest to v29.0.2 (#13418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 09:46:57 +08:00
dependabot[bot] c51d509560 Build(deps): Bump node-fetch from 3.2.3 to 3.2.10 in /scripts/release (#13411)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.3 to 3.2.10.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.10)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 17:18:01 +08:00
Sosuke Suzuki 68bd87b24b Fix generated changelog comment for css like syntax (#13403)
Fix generated comment for css like syntax
2022-08-31 00:59:20 +09:00
renovate[bot] b7cfea5d5f Update dependency jest to v29 (#13389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-28 23:09:40 +08:00
Sosuke Suzuki 503045c050 Use import() for postcss parsers (#13277)
* Import core parsers

* Import media parser

* Import selector parser

* Import value parser

* Remove require

* Improve imports

* Fix bundle config
2022-08-15 22:30:46 +09:00
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