Commit Graph
448 Commits
Author SHA1 Message Date
fisker Cheung ebbd3ece8b Update @angular/compiler to v17 (#15607) 2023-11-09 13:24:49 +08:00
renovate[bot]andfisker 25b0569f34 chore(deps): update dependency esm-utils to v4.2.0 (#15595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2023-11-06 20:32:43 +08:00
fisker Cheung a97e0b9483 Update glimmer to v0.85.8 (#15577) 2023-11-03 19:37:52 +08:00
fisker Cheung d3fbb24fb5 Switch eastasianwidth to get-east-asian-width (#15566) 2023-10-30 02:57:04 +08:00
renovate[bot]andSosuke Suzuki e574ec812a chore(deps): update dependency flow-parser to v0.217.0 (#15455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
2023-09-25 11:25:12 +08:00
fisker Cheung 37139afeaa Meta tweak (#15331) 2023-09-04 19:54:16 +08:00
fisker Cheung 0d04d78367 Replace cosmiconfig with lilconfig (#15232) 2023-09-02 01:02:22 +08:00
fisker Cheung 6184a1ed42 Get ride of require() in acorn and espree parser (#15335) 2023-08-31 09:41:15 +08:00
SUZUKI Sosukeandfisker Cheung a73cfa0ec4 Fix build script --report option (#15323)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-08-29 14:50:01 +08:00
fisker Cheung 7d56bc8752 Add preferUnplugged: true to package.json (#15169) 2023-08-28 10:25:36 +08:00
Michaël De Boeyandfisker Cheung 089736a410 refactor: use esbuild-plugins-node-modules-polyfill (#15290)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-08-28 10:05:28 +08:00
fisker Cheung 999c2c2750 Build: Use node:util to parse arguments (#15253)
* Build: Use `node:util` to parse arguments

* Fix

* Update parse-arguments.js
2023-08-23 16:15:25 +09:00
renovate[bot]andfisker b4082cb647 chore(deps): update babel to v7.22.10 (#15236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2023-08-15 18:01:24 +08:00
renovate[bot]andfisker 91e850b2bd chore(deps): update dependency camelcase to v8 (#15245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2023-08-15 09:20:40 +08:00
fisker Cheung f24132eda3 Make chalk/assert shim a Proxy (#15234) 2023-08-15 09:11:53 +08:00
renovate[bot]andfisker Cheung 93681565bf chore(deps): update typescript-eslint to v6.2.0 (#15110)
* chore(deps): update typescript-eslint to v6.2.0

* Fix bundle

* remove another entry instead

* Fix

* Reduce size

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-07-29 15:32:17 +09:00
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