Commit Graph
735 Commits
Author SHA1 Message Date
renovate[bot] 2f44bcf47e Update dependency webpack to v5.78.0 (#14685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 08:23:56 +08:00
fisker Cheung 1d320ff85b Add a writeFormattedFile to mock (#14657) 2023-04-04 09:08:44 +08:00
SUZUKI Sosukeandfisker 54add8cfe8 Fix previous Prettier path in draft-blog-post script (#14636)
Co-authored-by: fisker <lionkay@gmail.com>
2023-04-01 13:21:24 +09: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 5ffa094a2f lint-changelog should warn for second template comment (#14608)
Co-authored-by: fisker <lionkay@gmail.com>
2023-03-28 16:29:46 +09:00
fisker Cheung b98576332a Fix playground (#14610) 2023-03-28 08:55:54 +08:00
renovate[bot] e10aba90fc Update dependency webpack to v5.76.3 (#14597)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 09:20:35 +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
renovate[bot] 256c22e891 Update dependency execa to v7.1.1 (#14525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 18:28:55 +08:00
fisker 883324dbb6 Merge branch 'main' into next
# Conflicts:
#	scripts/tools/bundle-test/package.json
#	scripts/tools/bundle-test/yarn.lock
#	src/language-js/needs-parens.js
#	tests/format/typescript/typeof/jsfmt.spec.js
#	website/package.json
#	website/yarn.lock
2023-03-18 08:57:03 +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
dependabot[bot] 03f0b90cb9 Build(deps-dev): Bump webpack from 5.70.0 to 5.76.0 in /scripts/tools/bundle-test (#14510)
Build(deps-dev): Bump webpack in /scripts/tools/bundle-test

Bumps [webpack](https://github.com/webpack/webpack) from 5.70.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.70.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 07:56:06 +08:00
renovate[bot] 8642b20b58 Update dependency execa to v7 (#14496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 14:32:06 +08:00
renovate[bot] 703eafc5b7 Update dependency webpack to v5.76.1 (#14499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 12:35:38 +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 b5210fd392 Improve internal eslint rule (#14479) 2023-03-10 15:01:30 +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
fisker Cheung 83124d7fd6 Enable no-duplicate-imports rule (#14331) 2023-02-13 10:14:28 +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
fisker Cheung 310a5b1ba5 Handlebars: Improve HTML void element check (#14110) 2023-01-22 21:50:42 +08:00
fisker Cheung 52140cc6ad Improve internal ESLint rule (#14112) 2023-01-11 11:22:44 +08:00
fisker Cheung f5fc865953 Forbid AstPath.getName() (#14106) 2023-01-10 11:11:39 +08:00
dependabot[bot] 8034bada96 Build(deps): Bump json5 from 2.2.0 to 2.2.3 in /scripts/release (#14104)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 18:46:14 +08:00
fisker Cheung 4176837f75 Add prefer-create-type-check-function rule (#14071) 2022-12-29 17:17:19 +08:00
Sosuke Suzukiandfisker 08a51db63f Update dependencies (#14052)
Co-authored-by: fisker <lionkay@gmail.com>
2022-12-23 21:45:45 +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
renovate[bot] 12953b4a46 Update dependency chalk to v5.2.0 (#13970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:49:34 +08:00
Sosuke Suzuki 26b5273833 Revert removing version validation 2022-12-08 02:31:38 +09:00
Sosuke Suzuki 5541a63d76 Remove version validation 2022-12-08 01:48:48 +09:00
fisker Cheung 3e49250841 Update flow-parser to v0.194.0 (#13928) 2022-12-05 10:11:01 +08:00
Sosuke Suzuki a34272d32f Validate version 2022-11-23 13:54:54 +09:00
Sosuke Suzuki 7f7498109b Remove version validattion temp 2022-11-23 13:20:49 +09:00
renovate[bot]andfisker 6959f30a81 Update dependency eslint-plugin-unicorn to v45 (#13876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2022-11-21 23:41:27 +08:00
fisker Cheung b035922ff4 Fix build script 2022-11-18 14:36:43 +08:00
dependabot[bot] fac87619a4 Build(deps): Bump minimatch from 3.0.4 to 3.1.2 in /scripts/release (#13854)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 12:10:49 +08:00
fisker Cheung fb62a9fc31 Build: improve readability of the transform script (#13815) 2022-11-15 18:26:06 +08:00
renovate[bot] a7b323b88c Update dependency webpack to v5.75.0 (#13845)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-14 20:08:04 +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