Commit Graph
4555 Commits
Author SHA1 Message Date
fisker Cheung 76f8455f05 Prevent jest warning on production tests (#9022) 2020-08-22 01:00:33 +08:00
fisker Cheung 95ba0aeb79 Update javascript tests to avoid syntax errors (#9019) 2020-08-22 01:00:14 +08:00
Sosuke SuzukiandChristopher J. Brody 751f67af1f Upgrade to TypeScript 4.0 (#8982)
* Upgrade to TypeScript 4.0

* Update tests

* Fix changelog

* Revert invalid label tests

* Set loggerFn to false

* Use TS 4.0

* Apply logical assginment test for TypeScript

* Remove hack for NamedTupleMember

* workaround for TypeScript 4.0 in src/language-js/utils.js

Co-authored-by: Christopher J. Brody <chris.brody+brodybits@gmail.com>
2020-08-21 16:09:28 +09:00
dependabot[bot] 367ab3c829 Build(deps-dev): Bump @babel/core from 7.11.1 to 7.11.4 (#9017) 2020-08-21 06:59:40 +00:00
dependabot[bot] c358dd2db3 Build(deps-dev): Bump jest from 26.4.0 to 26.4.1 (#9016) 2020-08-21 05:51:12 +00:00
fisker Cheung 8676daed0a Minor tweak (#9014) 2020-08-21 13:06:56 +08:00
fisker Cheung 1d2ff824cc Improve requirePragma on files with BOM (#9003) 2020-08-21 10:30:42 +08:00
fisker Cheung 86ad299768 Improve internal range calculate (#9012) 2020-08-21 09:44:20 +08:00
fisker Cheung d31ebf4619 Test: Improve coverage (#8811) 2020-08-21 09:43:24 +08:00
fisker Cheung 5a62566cee Build: parser-flow.js use strict mode (#8311) 2020-08-21 09:15:35 +08:00
e3d1f0dee0 CLI: Add --ignore-unknown (#8829)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2020-08-21 09:11:59 +08:00
fisker Cheung 7bf1803a11 JS: DRY hasPragma & insertPragma (#9002) 2020-08-21 09:10:14 +08:00
fisker Cheung dc46155962 Revert #7367 "Fix: remove unnecessary parens when yielding jsx" (#9011) 2020-08-21 09:09:45 +08:00
fisker Cheung 2ff156136f Improve internal cursorOffset calculate (#9013) 2020-08-21 09:09:15 +08:00
Chris Brodyandfisker cdc250c21a typecheck updates & fixes in src/language-js (#8759)
Co-authored-by: fisker <lionkay@gmail.com>
2020-08-21 09:08:14 +08:00
dependabot[bot] 69ce8eab81 Build(deps-dev): Bump rollup from 2.26.3 to 2.26.4 (#9008)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 19:22:42 +08:00
dependabot[bot] f01b338738 Build(deps): Bump @glimmer/syntax from 0.57.2 to 0.58.0 (#9009) 2020-08-20 10:23:39 +00:00
fisker Cheung a8d34a6786 CI: add timeout-minutes: 60 (#9010) 2020-08-20 16:10:37 +08:00
dependabot[bot] a726ab6f27 Build(deps-dev): Bump @glimmer/reference from 0.57.2 to 0.58.0 (#9007) 2020-08-20 07:55:45 +00:00
dependabot[bot] a4a902d40d Build(deps): Bump @angular/compiler from 10.0.10 to 10.0.11 (#9006) 2020-08-20 07:52:32 +00:00
Sosuke Suzuki e3f075b3e7 Revert #7889 (#8861)
* Revert #7889

* Remove changelog

* Run prettier
2020-08-20 00:00:27 +09:00
Sosuke Suzukiandfisker Cheung 6dbef8681e Fix interface extends with long type parameters (#8981)
* Try the same way as #8967

* Update src/language-js/printer-estree.js

Co-authored-by: fisker Cheung <lionkay@gmail.com>

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-08-19 23:51:49 +09:00
fisker Cheung d1a9d7420b Run AST_COMPARE test for verifyParsers too (#8966) 2020-08-19 21:26:33 +08:00
Sosuke Suzuki 36c35be210 Fix class implements with long type parameters (#8967)
* Fix class implements

* Extract extendsParts and indent

* Refactor

* Refactor

* Fix by Prettier

* Refactor

* Refactor getTypeParametersGroupId with WeakMap
2020-08-19 20:21:52 +09:00
Sosuke Suzukiandfisker Cheung 29d6b22eae Add script to replace Prettier stable/Prettier master with the actual versions (#8984)
* Add a script replaces 'Prettier stable' => 'Prettier x.x'

* Fix by prettier

* Implement replaceVersionInBlogPost in release steps

* Update scripts/release/steps/update-changelog.js

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* Fix from review

* Format version

* Update scripts/release/steps/update-changelog.js

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* `ver` -> `version`

* `Version` -> `Versions`

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-08-19 20:18:16 +09:00
dependabot[bot] bc43cf9ee1 Build(deps-dev): Bump @glimmer/reference from 0.56.1 to 0.57.2 (#8997)
Bumps @glimmer/reference from 0.56.1 to 0.57.2.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 17:28:03 +08:00
dependabot[bot] f53d7e7b5d Build(deps): Bump @glimmer/syntax from 0.56.1 to 0.57.2 (#8998)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.56.1 to 0.57.2.
- [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.56.1...v0.57.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 16:35:55 +08:00
fisker Cheung cb231e12bd Build: remove extra global objects exposed by UMD bundles (#8989) 2020-08-18 21:52:56 +08:00
fisker Cheung 038d1642b2 Build: remove --max-old-space-size (#8994) 2020-08-18 21:52:02 +08:00
fisker Cheung f97fdd9ef7 CI tweak (#8993) 2020-08-18 14:59:43 +08:00
dependabot[bot] 58d51db307 Build(deps): Bump @angular/compiler from 10.0.9 to 10.0.10 (#8990) 2020-08-18 05:49:52 +00:00
dependabot[bot] b8b652d0ae Build(deps): Bump @typescript-eslint/typescript-estree (#8991) 2020-08-18 05:46:24 +00:00
dependabot[bot] 79a44c597b Build(deps): Bump codecov/codecov-action from v1.0.12 to v1.0.13 (#8992) 2020-08-18 05:41:43 +00:00
dependabot[bot] ef3016771a Build(deps-dev): Bump rollup from 2.25.0 to 2.26.3 (#8987)
Bumps [rollup](https://github.com/rollup/rollup) from 2.25.0 to 2.26.3.
- [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.25.0...v2.26.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-17 13:56:18 +08:00
dependabot[bot] d0a2b84585 Build(deps-dev): Bump eslint from 7.6.0 to 7.7.0 (#8988)
Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.7.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.6.0...v7.7.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-17 13:56:09 +08:00
fisker Cheung 97b899b7bc Improve multiparser handle finalNewLine and frontMatter (#8595) 2020-08-16 16:12:20 +08:00
fisker Cheung 7c318cc677 Support .prettierrc.json5 config file (#8957) 2020-08-15 21:16:49 +08:00
dependabot[bot] ff8ea78c08 Build(deps-dev): Bump rollup from 2.23.1 to 2.25.0 (#8975) 2020-08-15 13:45:13 +08:00
fisker Cheung ea995a1444 Simplify getPenultimate (#8734) 2020-08-14 18:41:41 +08:00
dependabot[bot] ac7424b2a6 Build(deps): Bump lodash from 4.17.19 to 4.17.20 (#8977)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.20)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 18:40:01 +08:00
dependabot[bot] fce4ece7ca Build(deps-dev): Bump @rollup/plugin-node-resolve from 8.4.0 to 9.0.0 (#8974)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 18:38:06 +08:00
dependabot[bot] a4434bf364 Build(deps-dev): Bump @rollup/plugin-babel from 5.1.0 to 5.2.0 (#8978)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 18:36:05 +08:00
dependabot[bot] 31e3f45023 Build(deps): Bump @angular/compiler from 10.0.8 to 10.0.9 (#8968)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 13:45:44 +08:00
dependabot[bot] 0e5d9ba36b Build(deps): Bump angular-estree-parser from 2.1.0 to 2.2.0 (#8971)
Bumps [angular-estree-parser](https://github.com/ikatyang/angular-estree-parser) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/ikatyang/angular-estree-parser/releases)
- [Changelog](https://github.com/ikatyang/angular-estree-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ikatyang/angular-estree-parser/compare/v2.1.0...v2.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 13:43:57 +08:00
dependabot[bot] 99ab5df513 Build(deps-dev): Bump jest from 26.3.0 to 26.4.0 (#8969)
Bumps [jest](https://github.com/facebook/jest) from 26.3.0 to 26.4.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.3.0...v26.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 13:43:10 +08:00
dependabot[bot] c3c5c95221 Build(deps-dev): Bump eslint-plugin-react from 7.20.5 to 7.20.6 (#8972)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.5 to 7.20.6.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.5...v7.20.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 13:40:18 +08:00
dependabot[bot] 9ba423c66f Build(deps-dev): Bump cspell from 4.0.63 to 4.1.0 (#8970)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 13:40:00 +08:00
Chris Brody 20a83abb89 cleanup param types in src/common/create-ignorer.js (#8961) 2020-08-12 07:06:46 +08:00
dependabot[bot] aa661725ad Build(deps): Bump @typescript-eslint/typescript-estree (#8954)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.9.0/packages/typescript-estree)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 06:05:44 +09:00
fisker Cheung 5e71bb37bc Fix name field in tests_integration/**/package.json (#8958) 2020-08-11 19:18:35 +08:00