632 Commits
Author SHA1 Message Date
fisker Cheung 12fd8891af Update typescript-eslint to v6 (#14429) 2023-07-22 02:35:30 +08:00
renovate[bot]andfisker e98083c84f chore(deps): update dependency vnopts to v2 (#15114)
* chore(deps): update dependency vnopts to v2

* Update

* Update snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2023-07-22 01:49:00 +09:00
Yue JINandfisker Cheung 7543021ba6 fix estree plugin type declaration (#15018)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-07-07 14:05:25 +08:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
renovate[bot]andfisker Cheung 85568a771c chore(deps): update dependency esbuild to v0.18.4 (#14929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-06-18 11:05:12 +08:00
fisker Cheung 05a32d377f Switch string-width to eastasianwidth (#14793) 2023-05-06 16:56:49 +08:00
fisker Cheung fbd82cf774 Update @angular/compiler to v16 (#14792) 2023-05-05 10:27:46 +08:00
fisker Cheung d6f30ad3d9 Build: add default exports to ESM bundles (#14757) 2023-04-25 15:37:56 +08:00
fisker Cheung 2b12079d57 Enable plugin:regexp/recommended (#14445) 2023-04-23 09:41:05 +08:00
renovate[bot]andfisker Cheung ab9792cc00 Update dependency flow-parser to v0.204.0 (#14710)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-04-22 22:18:48 +08:00
SUZUKI Sosukeandfisker Cheung cfb3b87efb Fix trailing coma print in type prameters, improve jsx parse (#14688)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-04-21 13:18:29 +08:00
fisker Cheung 1d320ff85b Add a writeFormattedFile to mock (#14657) 2023-04-04 09:08:44 +08:00
fisker Cheung ca2c0ccacb Put types first in exports (#14637) 2023-03-31 14:15:09 +08:00
fisker Cheung 186a177017 Rename .mjs files to .js (#14605) 2023-03-28 16:18:53 +08:00
fisker Cheung 47f4e59fc0 Whitelist keys when build package.json file (#14611) 2023-03-28 15:42:40 +08:00
SUZUKI Sosukeandfisker Cheung 00e59ed008 Transform .at to property access to improve performance (#14590)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-03-26 04:14:48 +09:00
fisker Cheung 6d21de11fd Update plugin build system (#14571) 2023-03-24 08:44:25 +08:00
fisker Cheung 413a76d798 Remove plugins from standalone build (#14570) 2023-03-23 15:18:10 +08:00
fisker CheungandSosuke Suzuki d797f0cff2 Support TypeScript 5 (#13819)
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
2023-03-15 11:06:31 +08:00
fisker Cheung e2c5da38f4 Fix builtin plugins (#14502) 2023-03-13 12:34:56 +08:00
fisker Cheung 6c9ba400fa Bundle printers in plugins (#14354) 2023-03-13 09:20:12 +08:00
fisker Cheung 18baca62c9 Build: Auto generate types files for plugins (#14462) 2023-03-13 09:17:24 +08:00
fisker Cheung 134f6078e1 Add document/public.js to export public apis, remove internal utils (#14456) 2023-03-07 08:54:11 +08:00
fisker Cheung 758dfcac67 Build: add utility to get package files (#14430) 2023-03-01 15:34:30 +08:00
SUZUKI Sosukeandfisker Cheung 813df18df6 Moves @types/prettier to this repository (#14212)
* Rename `types` to `thirs-party-types`

* Copy `index.d.ts` from `@types/prettier`

* Make public APIs async

* Add missing `formatAST`

* Fix `CustomParser`

* Fix `Parser.parse` signature

* Add comment

* Add `standalonw.d.ts`

* first implement

* Fix path

* Add missing parser `.d.ts`

* Fix

* Fix path

* Introduce valid tests

* Add unit tests for dts files

* Add unit tests

* Simplify unit testing

* Tweaks structures

* Revert needless change

* Fix types path

* Introduce `ts-expect`

* Fix doc utils api

* Add AstPath API

* Fix API

* Fix tests

* Fix changelog

* Move dts

* Update module specifiers

* Remove generate dts config file

* Update build scripts

* Fix type errors

* Refactor with namespace imports

* Update comments

* Fix build script

* Improve build script

* `typing` -> `types`

* Clean up

* Minor tweak

* Minor tweak

* Modify `exports` field

* Fix paths in builder

* Refactor

* Refactor

* Address review

* Update changelog

* Address reviews

* Remove `since` from tests

* Improve utils type def

* Mark deprecated methods

* Address review

* Move docs types

* Address review

* Update c8 config

* Minor tweak

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-02-23 22:15:18 +09:00
fisker Cheung 0d6c8f681d Update typescript-eslint to v5.52 (#14358) 2023-02-19 11:15:06 +08:00
fisker Cheung 5ea9a8f81f Reduce bundle size (#14370) 2023-02-16 15:02:41 +08:00
fisker Cheung 3102686278 Update build script (#14362) 2023-02-15 12:35:14 +08:00
renovate[bot]andfisker 04ac860123 Update typescript-eslint to v5.51.0 (#14346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2023-02-12 20:09:37 +08:00
fisker Cheung bd402ab67e Reduce size of meriyah parser (#14278) 2023-02-03 11:10:00 +08:00
renovate[bot]andfisker Cheung 256e2c78c1 Update dependency esbuild to v0.16.4 (#13972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-12 12:37:25 +08:00
fisker Cheung 3e49250841 Update flow-parser to v0.194.0 (#13928) 2022-12-05 10:11:01 +08:00
fisker Cheung b035922ff4 Fix build script 2022-11-18 14:36:43 +08:00
fisker Cheung fb62a9fc31 Build: improve readability of the transform script (#13815) 2022-11-15 18:26:06 +08:00
renovate[bot]andfisker 824aff897b Update typescript-eslint to v5.42.0 (#13806)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2022-11-06 21:46:46 +08:00
fisker Cheung 9eafbf6854 Enable unicorn/prefer-string-replace-all rule (#13788) 2022-11-06 19:55:24 +08:00
fisker Cheung 730e5ec2b1 Fix esbuildPluginEvaluate (#13766) 2022-10-30 17:08:19 +08:00
fisker Cheung a3dfbf70f7 Build: more powerful esbuild evaluate plugin (#13724) 2022-10-30 11:14:51 +08:00
fisker Cheung 75785c5acc Minor tweak to bundled dependencies license (#13748) 2022-10-30 11:06:57 +08:00
fisker Cheung 4f13d715c7 Reduce size of postcss plugin (#13745) 2022-10-29 16:28:20 +08:00
fisker Cheung e9fc7f78b4 Build: improve use of define option (#13728) 2022-10-27 09:29:22 +08:00
fisker Cheung 4b3100b43a Reduce size of typescript plugin (#13734) 2022-10-26 20:34:47 +08:00
fisker Cheung 6623d7c736 Reduce size of typescript plugin (#13727) 2022-10-26 10:02:23 +08:00
Sosuke Suzuki d09bc86c9f Enable prettier-internal-rules/prefer-fs-promises-submodule for all files (#13722)
* Enable `prefer-fs-promises-submodule` for all files

* Fix problems
2022-10-23 22:23:44 +09:00
fisker Cheung 76068c4f8c Reduce size of typescript plugin (#13697) 2022-10-23 11:19:57 +08:00
fisker Cheung 36460d5fd6 Reduce size of glimmer plugin (#13698) 2022-10-22 23:35:19 +08:00
fisker Cheung d003c15055 Build: fix outdent entry (#13684) 2022-10-20 08:26:35 +08:00
fisker Cheung e574e6050a Reduce size of typescript plugin (#13673) 2022-10-17 22:47:19 +08:00
renovate[bot]andfisker Cheung 6bcbe5ea2f Update dependency jest-docblock to v29.2.0 (#13665)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-10-16 15:31:36 +08:00
fisker Cheung 791bcb4e72 Update typescript plugin build script (#13637) 2022-10-16 13:36:22 +08:00