Commit Graph
3926 Commits
Author SHA1 Message Date
Georgii Dolzhykov 6b22977cb5 Release 2.0.5 2020-04-21 20:05:11 +03:00
dependabot-preview[bot] c65606f0a3 Bump resolve from 1.16.0 to 1.16.1 (#8099)
Bumps [resolve](https://github.com/browserify/resolve) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.16.0...v1.16.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
# Conflicts:
#	package.json
2020-04-21 17:03:18 +03:00
fisker Cheung 6ad8a7fef3 Use resolve if require.resolve is overridden (#8072)
# Conflicts:
#	package.json
2020-04-21 17:02:48 +03:00
Georgii Dolzhykov 3ce819d72f chore: ignore test*.js in eslint and ts configs 2020-04-21 17:00:39 +03:00
fisker Cheung eaca5dbe26 Correct standalone test environment variable (#8080) 2020-04-20 00:58:04 +03:00
fisker Cheung fc5f5462ea Simplify production tests (#8075) 2020-04-20 00:57:53 +03:00
fisker Cheung 71fbd6149a Refactor production tests (#8073)
# Conflicts:
#	scripts/test-dist.js
2020-04-20 00:57:31 +03:00
Georgii Dolzhykov 58905cdf57 chore: update .gitignore and tsconfig.json
- I often find myself testing formatting on more than one test file, so now files like `test2.js` in the root are ignored.
- Coverage reports contain JS files. `tsc` should ignore them.
2020-04-20 00:45:06 +03:00
Georgii Dolzhykov 1bfef81206 Fix unexpected GitHub Actions failures (#7980) 2020-04-12 01:36:20 +03:00
fisker CheungandGeorgii Dolzhykov 2a9f65104d Enable GitHub Actions for a patch-release branch (#8024)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-04-12 00:39:54 +03:00
fisker Cheung e1a6a7a6a1 Fix less :extend format (#7984) 2020-04-11 22:08:56 +03:00
Georgii Dolzhykov 592149791e Bump Prettier dependency to 2.0.4 2020-04-06 14:58:31 +03:00
Georgii Dolzhykov 61ca50df67 Release 2.0.4 2020-04-06 14:54:54 +03:00
Georgii Dolzhykov 50335bf5b9 Revert "[TypeScript] format TSAsExpression with same logic as BinaryExpression" (#7958)
* Revert "[TypeScript] format TSAsExpression with same logic as BinaryExpression (#7869)"

This reverts commit 8a48ca2e3d.

* add tests from #7956 and #7957

* more tests
2020-04-06 13:52:42 +03:00
Georgii Dolzhykov dd017539ca tweak the release script to show what it's doing after ENTER is pressed
Otherwise, it's not clear that the key press has been accepted.
2020-04-06 00:14:52 +03:00
Georgii Dolzhykov 64b3ac9e8e Bump Prettier dependency to 2.0.3 2020-04-05 23:57:07 +03:00
Georgii Dolzhykov ea5f3b043f Release 2.0.3 2020-04-05 23:47:18 +03:00
Georgii Dolzhykov ea833bff5b add generated files in website/static to .prettierignore 2020-04-05 22:48:11 +03:00
Georgii Dolzhykov 6a9c9951f2 workaround for require.resolve in prettier-vscode (#7951) 2020-04-05 21:53:15 +03:00
Sidharth Vinod 04e4ef3758 Uniform line endings for multi line strings/comments (#7891) 2020-04-05 13:51:29 +03:00
dependabot-preview[bot]andSosuke Suzuki 46fc3def7b Bump flow-parser from 0.121.0 to 0.122.0 (#7935)
* Bump flow-parser from 0.121.0 to 0.122.0

Bumps [flow-parser](https://github.com/facebook/flow) from 0.121.0 to 0.122.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.121.0...v0.122.0)

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

* Remove ForAwaitStatement

* Remove RestProperty

* Add tests for for-await

* Fix snapshots

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2020-04-04 22:14:44 +03:00
dependabot-preview[bot] 877874efc5 Bump jest-docblock from 25.2.3 to 25.2.6 (#7944)
Bumps [jest-docblock](https://github.com/facebook/jest/tree/HEAD/packages/jest-docblock) from 25.2.3 to 25.2.6.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v25.2.6/packages/jest-docblock)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-04 21:34:32 +03:00
dependabot[bot] 76f6c6c831 Bump minimist from 1.2.2 to 1.2.3 in /scripts/release (#7952)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.2...1.2.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-04 20:04:04 +03:00
Georgii Dolzhykov aaf405e97c deduplicate yarn.lock 2020-04-04 19:51:59 +03:00
dependabot-preview[bot] 3e7d904618 Bump jest from 25.2.4 to 25.2.7 (#7945)
Bumps [jest](https://github.com/facebook/jest) from 25.2.4 to 25.2.7.
- [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/v25.2.4...v25.2.7)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-04 19:47:38 +03:00
dependabot-preview[bot] 4ac088c139 Bump @glimmer/syntax from 0.48.0 to 0.50.0 (#7880)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.48.0 to 0.50.0.
- [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.48.0...v0.50.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 17:51:35 +03:00
dependabot-preview[bot] 4aef30e919 Bump graphql from 14.6.0 to 15.0.0 (#7946)
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.6.0 to 15.0.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.6.0...v15.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 16:55:57 +03:00
fisker Cheung 096c28f080 Fix docs code style (#7937) 2020-04-03 18:44:03 +08:00
dependabot-preview[bot] 54766f11a2 Bump chalk from 3.0.0 to 4.0.0 (#7936)
Bumps [chalk](https://github.com/chalk/chalk) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 19:39:07 +09:00
fisker Cheung 17377f3082 Split css parsers (#7932)
* Split css parsers

* pass function to parseWithParser

* Fix plugins parser

* Fix coverage fails

* coverage ignore

* Update project coverage target to 95%
2020-04-03 12:41:48 +08:00
fisker Cheung bcf99ade8d Fix angular unstable expression binding (#7924) 2020-04-02 20:20:28 +03:00
fisker Cheung 93aa37867e Update isSCSS test regex (#7922) 2020-04-02 15:51:48 +03:00
fisker Cheung 22e3004719 Fix empty file format (#7921) 2020-04-02 00:43:52 +03:00
fisker Cheung e199e68bff Format script content inside HTML tag with colon (#7916)
* Format script content inside HTML tag with colon

* Fix mistake
2020-04-01 20:35:58 +03:00
fisker Cheung 257c9da18a Try upload coverage with token (#7930) 2020-04-01 18:32:39 +03:00
dependabot-preview[bot] ce399f2d50 Bump jest-watch-typeahead from 0.4.2 to 0.5.0 (#7926)
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases)
- [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v0.4.2...v0.5.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-01 17:58:53 +03:00
Dmitry Gonchar 964230dce2 Fix #7920 - do not add comma for explicit inexact object with indexer property (#7923)
* 7920 run tests for trailingComma:es5 option as well

* 7920 example of wrong behavior - comma is always added at the end of the inexact object type

* 7920 add test cases for trailingComma: 'all'

* 7920 fix - do not force trailing comma on explicit inexact type if it has indexer or no properties

* 7920 add changelog
2020-04-01 15:24:45 +03:00
dependabot-preview[bot] 7047fadaa3 Bump rollup from 2.3.1 to 2.3.2 (#7925)
Bumps [rollup](https://github.com/rollup/rollup) from 2.3.1 to 2.3.2.
- [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.3.1...v2.3.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-01 14:08:16 +03:00
Brad Adams 70da4fa630 docs: fix broken links (#7919) 2020-04-01 03:25:17 +03:00
dependabot-preview[bot] 481bfb5798 Bump rollup from 2.3.0 to 2.3.1 (#7913)
Bumps [rollup](https://github.com/rollup/rollup) from 2.3.0 to 2.3.1.
- [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.3.0...v2.3.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-31 17:22:40 +03:00
dependabot-preview[bot] e1263d4640 Bump @typescript-eslint/typescript-estree from 2.25.0 to 2.26.0 (#7914)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.25.0 to 2.26.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/v2.26.0/packages/typescript-estree)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-31 17:22:12 +03:00
dependabot-preview[bot] 7eb385501a Bump unified from 8.4.2 to 9.0.0 (#7904)
Bumps [unified](https://github.com/unifiedjs/unified) from 8.4.2 to 9.0.0.
- [Release notes](https://github.com/unifiedjs/unified/releases)
- [Changelog](https://github.com/unifiedjs/unified/blob/master/changelog.md)
- [Commits](https://github.com/unifiedjs/unified/compare/8.4.2...9.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-31 17:21:42 +03:00
Georgii Dolzhykov 2d1142fc30 Use scss parser for css-in-js (#7883) 2020-03-31 17:10:38 +03:00
Sosuke Suzuki 0f56b4aa62 Flow: Print dangling comments for empty inexact object type (#7892)
* Remove unnecessary group

* Print dangling comment for inexact type

* Add changelog

* Fix changelog
2020-03-31 20:26:16 +09:00
Sosuke SuzukiandGeorgii Dolzhykov 8a48ca2e3d [TypeScript] format TSAsExpression with same logic as BinaryExpression (#7869)
* Treat TSAsExpression as like BinaryishNode

* Change test file extension, as.js => as.ts

* Add tests

* Remove old case for TSAsExpression

* Remove unnecesary condition

* Fix by lint

* Update snapshots

* Add changelog

* Remove convetToBinaryishNode

* Fix comment

* Use getBinaryishNodeNames

* Modify to wrap TSAsExpression with parens

* Fix by lint

* Do not pass operator when node is TSAsExpression

* Refactor shouldNotIndent

* Update util.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-03-31 20:25:47 +09:00
Kevin Gibbons 18bf01e8f8 Fix bug with holes in array literals (#7911) 2020-03-31 12:43:19 +03:00
Georgii Dolzhykov bd3125623d 2.0 blog post: add a notice about print width 2020-03-30 18:44:50 +03:00
dependabot-preview[bot] 763a1e2f24 Bump rollup from 2.2.0 to 2.3.0 (#7905)
Bumps [rollup](https://github.com/rollup/rollup) from 2.2.0 to 2.3.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.2.0...v2.3.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 12:58:54 +03:00
dependabot-preview[bot] 4e133e1b41 Bump eslint-plugin-import from 2.20.1 to 2.20.2 (#7902)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.1 to 2.20.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.20.1...v2.20.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:00:09 +03:00
dependabot-preview[bot] bcc7573e39 Bump jest from 25.2.3 to 25.2.4 (#7901)
Bumps [jest](https://github.com/facebook/jest) from 25.2.3 to 25.2.4.
- [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/v25.2.3...v25.2.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-29 23:57:24 +03:00