Commit Graph
5739 Commits
Author SHA1 Message Date
fisker Cheung 90ea7e4a4f Use fsPromise in getFileContentOrNull (#10859) 2021-05-16 12:42:15 +08:00
fisker Cheung 213a825131 Use join in replaceNewlinesWithLiterallines (#10860) 2021-05-16 12:40:00 +08:00
fisker Cheung a9c3960f2f Remove dead code (#10869) 2021-05-16 12:35:55 +08:00
dependabot[bot] 0b3fabd5b9 Build(deps): Bump flow-parser from 0.150.1 to 0.151.0 (#10899)
Bumps [flow-parser](https://github.com/facebook/flow) from 0.150.1 to 0.151.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.150.1...v0.151.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-16 12:29:32 +08:00
dependabot[bot] 223eef6503 Build(deps): Bump @glimmer/syntax from 0.79.0 to 0.79.1 (#10894)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.79.0 to 0.79.1.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.79.0...v0.79.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-16 12:24:28 +08:00
dependabot[bot] 8868f0757f Build(deps-dev): Bump esm-utils from 1.0.1 to 1.1.0 (#10883)
Bumps [esm-utils](https://github.com/fisker/esm-utils) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/fisker/esm-utils/releases)
- [Commits](https://github.com/fisker/esm-utils/compare/v1.0.1...v1.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-16 12:15:57 +08:00
dependabot[bot] c829143882 Build(deps-dev): Bump webpack from 5.36.2 to 5.37.0 (#10891)
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.2 to 5.37.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.2...v5.37.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-16 12:14:49 +08:00
dependabot[bot] b53840dabb Build(deps-dev): Bump eslint-plugin-import from 2.22.1 to 2.23.2 (#10893)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-16 12:13:04 +08:00
dependabot[bot] c91a8cbdef Build(deps-dev): Bump @babel/preset-env from 7.14.1 to 7.14.2 (#10897)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.1 to 7.14.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.2/packages/babel-preset-env)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-16 12:12:15 +08:00
fisker Cheung f4a6232848 Switch some scripts to ESM (#10867) 2021-05-15 20:09:52 +08:00
fisker Cheung 383f622942 Style: Remove useless flags (#10861) 2021-05-15 14:37:17 +03:00
Philip Davies bcd62546c2 Fix #5599, long yaml keys trigger explicit mapping (#10874)
Fix #5599, long yaml keys trigger explicit mapping
2021-05-15 14:03:06 +03:00
Georgii Dolzhykov 1005b4bca3 Update commands.md 2021-05-13 18:00:32 +03:00
fisker Cheung 572e0ed90d Fix .eslintignore (#10875) 2021-05-13 17:28:39 +08:00
fisker Cheung 2eb2df6ed2 Update babel config (#10855) 2021-05-12 08:11:43 +08:00
fisker Cheung e161350309 Use fsPromises in CLI (#10852) 2021-05-12 01:05:54 +08:00
fisker Cheung 98abb990cc Use Object.fromEntries(), Array#flat() and Array#flatMap() (#10853) 2021-05-12 01:05:29 +08:00
fisker Cheung b7983971ce Drop Node.js 10 support for development "build" (#10842) 2021-05-11 08:52:38 +08:00
fisker Cheung 6e71422548 Use async APIs in CLI (#10841)
* Use async API in CLI

* Remove `synchronous-promise`
2021-05-11 01:50:50 +03:00
fisker Cheung 8c93ef5755 Remove .prettierrc parser override (#10845) 2021-05-10 19:42:47 +03:00
Georgii Dolzhykov 4a8f5b81c1 Fix a link in the blog post 2021-05-10 19:08:49 +03:00
Georgii Dolzhykov 171b1ee2bf Clean changelog_unlreleased 2021-05-10 00:17:59 +03:00
ba1a833378 Add 2.3 blog post (#10659)
* Start 2.3 blog post

* Apply suggestions from code review

Co-authored-by: Alex Rattray <rattray.alex@gmail.com>

* Regenerate the post

* Regenerate blog post

* Regenerate post

* Edit changelog entries

* Regenerate blog post

Co-authored-by: Alex Rattray <rattray.alex@gmail.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-05-10 00:15:27 +03:00
Georgii Dolzhykov 06409b8bbf Fix release script 2021-05-10 00:14:45 +03:00
Georgii Dolzhykov e0610b0124 Update dependents count 2021-05-10 00:12:26 +03:00
Georgii Dolzhykov f7de2925b1 Git blame ignore 2.3.0 2021-05-10 00:10:45 +03:00
Georgii Dolzhykov 3d8dc612b5 Bump Prettier dependency to 2.3.0 2021-05-10 00:07:47 +03:00
Georgii Dolzhykov 2afc3b9ae6 Release 2.3.0 2021-05-10 00:00:41 +03:00
Boris K 7cfa9aa89b Fix pre-commit hook setup command (#10710) 2021-05-09 15:44:34 +03:00
dependabot[bot] c8c02b4753 Build(deps-dev): Bump concurrently from 6.0.2 to 6.1.0 in /website (#10834) 2021-05-09 12:44:02 +00:00
dependabot[bot] 6506e0f50e Build(deps-dev): Bump webpack-cli from 4.6.0 to 4.7.0 in /website (#10836) 2021-05-09 12:43:49 +00:00
dependabot[bot] 69fae9c291 Build(deps): Bump flow-parser from 0.150.0 to 0.150.1 (#10839)
Bumps [flow-parser](https://github.com/facebook/flow) from 0.150.0 to 0.150.1.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.150.0...v0.150.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 15:43:23 +03:00
164a6e2351 Switch CLI to async (#10804)
* Switch CLI to async

* Rewrite test

* Fix tests

* Comment out failed test

* Comment out failed test

* Fix test

Co-authored-by: Connor Peet <connor@peet.io>

* Update patterns-dirs.js

* Fix `hasRunningCli` flag

* Fix grammar

* Update tests/integration/runPrettier.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Co-authored-by: Connor Peet <connor@peet.io>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-05-09 15:43:10 +03:00
dependabot[bot] d3e7e2f634 Build(deps): Bump codecov/codecov-action from v1.4.1 to v1.5.0 (#10833)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.4.1 to v1.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.4.1...a1ed4b322b4b38cb846afb5a0ebfa17086917d27)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 13:24:15 +08:00
dependabot[bot] 9e09845da0 Build(deps): Bump @angular/compiler from 11.2.12 to 11.2.13 (#10838)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 11.2.12 to 11.2.13.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/11.2.13/packages/compiler)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 13:22:36 +08:00
dependabot[bot] 1bfab3d045 Build(deps-dev): Bump eslint from 7.25.0 to 7.26.0 (#10840)
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.26.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 13:20:32 +08:00
Zearin 387fce4ed8 Minor formatting tweaks (#10807) 2021-05-06 16:55:23 +03:00
fisker Cheung 8beca471dd Skip test on Node.js v15 (#10829) 2021-05-06 16:55:00 +03:00
fisker Cheung 877e64c046 Fix missing parentheses on async inside for..of (#10781) 2021-05-06 16:53:48 +03:00
dependabot[bot] 7a6af717de Build(deps-dev): Bump webpack from 5.35.1 to 5.36.2 in /website (#10809)
Bumps [webpack](https://github.com/webpack/webpack) from 5.35.1 to 5.36.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.35.1...v5.36.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 09:18:43 +08:00
dependabot[bot] 4eade2775b Build(deps-dev): Bump webpack from 5.36.1 to 5.36.2 (#10810)
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.1 to 5.36.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.1...v5.36.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 09:17:57 +08:00
dependabot[bot] 958c53c9be Build(deps-dev): Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.0 (#10817)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 11.2.1 to 13.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v13.0.0/packages/node-resolve)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 09:14:29 +08:00
dependabot[bot] 8ef5054757 Build(deps-dev): Bump rollup from 2.46.0 to 2.47.0 (#10815)
Bumps [rollup](https://github.com/rollup/rollup) from 2.46.0 to 2.47.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.46.0...v2.47.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 09:13:00 +08:00
dependabot[bot] e9aca5c9e2 Build(deps-dev): Bump @babel/types from 7.14.0 to 7.14.1 (#10820) 2021-05-05 21:16:01 +00:00
Sosuke Suzuki 711c6d0d27 Support typescript 4.3 via babel (#10811)
* Suppor type members get/set

* Add tests for static index signature in class

* Support override modifier in class

* Add changelog
2021-05-05 22:32:51 +03:00
Sosuke Suzuki edc7a30f26 Support async do expressions proposal (#10813)
* Support async-do-expression proposal

* Add more tests

* Add changelog
2021-05-05 22:32:26 +03:00
dependabot[bot] 68b158b811 Build(deps-dev): Bump @babel/preset-env from 7.14.0 to 7.14.1 (#10818) 2021-05-05 19:31:07 +00:00
Sosuke Suzuki 3a1512f043 Add tests for indexed access via Babel (#10812)
* Add tests for optional indexed access via Babel

* Add tests for indexed access via Babel
2021-05-05 20:49:24 +03:00
dependabot[bot]andsosukesuzuki e29457c952 Build(deps): Bump @babel/parser from 7.14.0 to 7.14.1 (#10819)
* Build(deps): Bump @babel/parser from 7.14.0 to 7.14.1

Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.14.0 to 7.14.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.1/packages/babel-parser)

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

* Update tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2021-05-05 20:48:00 +03:00
dependabot[bot] faa2412c5f Build(deps-dev): Bump @rollup/plugin-commonjs from 18.0.0 to 18.1.0 (#10821) 2021-05-04 17:50:43 +00:00