Commit Graph
4099 Commits
Author SHA1 Message Date
fisker Cheung 9686475c80 Test: Remove graceful-fs hack (#8245) 2020-05-11 09:05:48 +08:00
fisker Cheung c768be4dd3 Switch dedent to outdent (#8240) 2020-05-11 09:05:06 +08:00
fisker Cheung bfe5787726 Remove less/scss syntax in css tests (#8267) 2020-05-11 09:04:03 +08:00
fisker Cheung e1611e855a Update @angular/compiler and angular-estree-parse (#7942) 2020-05-11 09:03:39 +08:00
Christian Oliff 19545e049e docs: HTTPS link (#8273) 2020-05-10 14:00:02 +03:00
fisker Cheung 85a2db5a0c Fix css tests (#8264)
* fix `stylefmt-repo` parser

* Fix tests

* Fix snapshots

* fix parsers
2020-05-09 07:50:34 +08:00
Georgii Dolzhykov ce2114533a Fix extra space after minus in CSS-in-JS (#8255)
* Fix extra space after minus in CSS-in-JS

* add changelog entry
2020-05-08 16:53:36 +03:00
fisker Cheung da44da64bb Test bundled cosmiconfig (#8262) 2020-05-08 21:41:46 +08:00
Evilebot Tnawiandfisker 3f4da31c62 fix: comment at end of at-rule with selector (#7009)
* fix: comment at end of at-rule with selector

* Improve a little bit

* Fix test

* sass directives

Co-authored-by: fisker <lionkay@gmail.com>
2020-05-08 21:39:41 +08:00
fisker Cheung aa2c003aa2 Support HTML-like Comments(only in html) (#8173) 2020-05-08 21:37:59 +08:00
Nik Donovic 65b1914f67 Update users.yml (#8247)
* Update users.yml

The new logo can be found in this article: https://www.toptal.com/designers/logo/toptal-new-brand-and-logo

* Added toptal.png

Per https://github.com/prettier/prettier/pull/8247#issuecomment-625456927
2020-05-08 13:58:21 +03:00
Georgii Dolzhykov 018a5b0803 Workaround optional chaining parser bug in Angular expressions (#8253)
* Workaround optional chaining parser bug in Angular expressions

* add changelog entry

* fix changelog entry
2020-05-08 13:40:16 +03:00
Georgii Dolzhykov 1a3fc0082b Preserve parens around pipes in objects in Angular expressions (#8254) 2020-05-08 13:39:51 +03:00
dependabot-preview[bot] beca0b2ab8 Bump synchronous-promise from 2.0.10 to 2.0.11 (#8260)
Bumps [synchronous-promise](https://github.com/fluffynuts/synchronous-promise) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/fluffynuts/synchronous-promise/releases)
- [Commits](https://github.com/fluffynuts/synchronous-promise/commits/v2.0.11)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 13:34:37 +03:00
fisker Cheung 75a3d9074b Remove extra parser option in lwc tests (#8257) 2020-05-08 18:27:55 +08:00
dependabot-preview[bot] e4c8ee187b Bump cspell from 4.0.60 to 4.0.61 (#8259) 2020-05-08 18:27:40 +08:00
fisker Cheung ed3eeb82f8 Test: add parser check (#8256) 2020-05-08 10:56:09 +08:00
fisker Cheung 7ad515111e Categorize tests part 4(CSS, flow, misc) (#8251) 2020-05-08 01:29:34 +08:00
fisker Cheung b622578896 Categorize tests part 3 (js) (#8249)
* Categorize tests(js)
2020-05-08 00:55:46 +08:00
fisker Cheung f8c5b1fd1d Categorize tests part 2 (#8248)
* Categorize tests (yaml, markdown)

* Categorize tests (handlebars)

* Categorize tests (graphql)

* Categorize tests (typescript)

* Categorize tests (json)

* Categorize tests (jsx)
2020-05-07 23:54:44 +08:00
fisker Cheung b585bd6fa4 Categorize tests (html) (#8239) 2020-05-07 23:05:21 +08:00
Abdullah AttaandGeorgii Dolzhykov 8acc9e2a48 fix inconsistent parsing of injected expressions in styled-components' css (#8097)
* fix inconsistent parsing of styled-components' css

* fix for multiple placeholders in one line

* add test for multiple placeholders in one line

* add changelog for the pr

* fix multi part placeholders

* make placeholderMatch regex stricter

* add tests for all fixed cases

* update changelog

* fix changelog link

* do not edit the original doc.parts

* fix changelog output

* simplify logic

* remove unnecessary `tokens` array

* simplify logic even more

* changes according to review

* finalize

* update snapshots after merge

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-05-07 16:06:13 +03:00
Masashi HiranoandGeorgii Dolzhykov 3b78c021d1 JS: Keep the position of end-of-line comments in binary expressions (#7787)
* JS: block comments with LogicalExpression

* Add changelog_unreleased for #7787

* Add handleBinaryExpression in comments.js

* Refactor comments.js to use isBlockComment

* Update pr-7787.md

* Update pr-7787.md

* test: regenerate snapshot for comments/logical-expression

* test: logical-expression.js as unstable tests

* test: add comments/binary-expressions-trailing-space.js

* fix: make two functions one 'handleEndOfLineBlockComments'

* Rename handleEndOfLineBlockComments to handleBinaryExpression

* Refactor handleBinaryExpression to remove unneed condition & params

* Divide and rename test files for handleBinaryExpression()

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-05-07 16:05:27 +03:00
dependabot-preview[bot] fcc528c01a Bump snapshot-diff from 0.7.0 to 0.8.0 (#8241)
Bumps [snapshot-diff](https://github.com/thymikee/snapshot-diff) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/thymikee/snapshot-diff/releases)
- [Commits](https://github.com/thymikee/snapshot-diff/compare/v0.7.0...v0.8.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-05-07 13:42:41 +03:00
dependabot-preview[bot] 9b9c4633dc Bump rollup from 2.8.0 to 2.8.2 (#8242)
Bumps [rollup](https://github.com/rollup/rollup) from 2.8.0 to 2.8.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.8.0...v2.8.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-05-07 13:41:40 +03:00
dependabot-preview[bot] 59036b3c06 Bump terser-webpack-plugin from 3.0.0 to 3.0.1 (#8244)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.0...v3.0.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-05-07 13:40:06 +03:00
dependabot-preview[bot] 8fdf88edfc Bump cspell from 4.0.58 to 4.0.60 (#8243)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.58 to 4.0.60.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.58...cspell@4.0.60)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 13:34:34 +03:00
fisker Cheung 01c2015f72 Update CI cache key (#8236)
* Update CI  cache  key

* Update build script, expect missing cache
2020-05-07 03:51:25 +08:00
JounQin 736db9b0db docs: add two plugins pkg and sh (#8138) 2020-05-06 17:17:28 +03:00
fsterneder 24fc5f6bb5 Update vim.md (#8232)
According to [coc.nvim](https://github.com/neoclide/coc.nvim/blob/4b7375d16cfc182abce5e9039f5c77bb4f5fe67b/autoload/coc/util.vim#L885) coc#util#install() support will be removed.
2020-05-06 15:36:01 +03:00
fisker Cheung 207d5245c5 Build: exclude index.js from bin-prettier (#8119) 2020-05-06 18:43:04 +08:00
dependabot-preview[bot] a0e42d9842 Bump jest-watch-typeahead from 0.5.0 to 0.6.0 (#8227)
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 0.5.0 to 0.6.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.5.0...v0.6.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-05-06 13:19:00 +03:00
dependabot-preview[bot] 57a61bd8e8 Bump tslib from 1.11.1 to 1.11.2 (#8231)
Bumps [tslib](https://github.com/Microsoft/tslib) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/1.11.1...1.11.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-05-06 13:10:11 +03:00
dependabot-preview[bot] 7958111c68 Bump rollup from 2.7.6 to 2.8.0 (#8229)
Bumps [rollup](https://github.com/rollup/rollup) from 2.7.6 to 2.8.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.7.6...v2.8.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-05-06 13:09:47 +03:00
dependabot-preview[bot] 6812562b21 Bump cspell from 4.0.57 to 4.0.58 (#8228)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.57 to 4.0.58.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.57...cspell@4.0.58)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-06 13:09:17 +03:00
004cacda97 Improve wrapping of GraphQL fragment directives (#7721)
* fix GraphQL line wrapping for fragment directives is ugly

* update test of graphql for fixing directives

* add changelog_unreleased for pr-7721

* fix graphql directive

* update test of graphql

* update changelog_unreleased

* Update changelog_unreleased/graphql/pr-7721.md

Co-authored-by: Jed Fox <git@twopointzero.us>

* Fix comment in changelog

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: Jed Fox <git@twopointzero.us>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-05-06 11:27:49 +03:00
dependabot-preview[bot] f2ebbcc738 Bump jest-docblock from 25.3.0 to 26.0.0 (#8222)
Bumps [jest-docblock](https://github.com/facebook/jest/tree/HEAD/packages/jest-docblock) from 25.3.0 to 26.0.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/commits/v26.0.0/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-05-06 08:35:17 +08:00
Georgii Dolzhykov 5a523239df playground: auto-fold some AST nodes (#8225) 2020-05-06 03:35:12 +03:00
dependabot-preview[bot] 8c850a0329 Bump @typescript-eslint/typescript-estree from 2.30.0 to 2.31.0 (#8220) 2020-05-05 21:12:19 +03:00
dependabot-preview[bot] 4f8be6937d Bump jest from 25.4.0 to 26.0.1 (#8223) 2020-05-05 21:11:31 +03:00
dependabot-preview[bot] 23681ec0a9 Bump angular-html-parser from 1.5.0 to 1.6.0 (#8215)
Bumps [angular-html-parser](https://github.com/ikatyang/angular-html-parser) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/ikatyang/angular-html-parser/releases)
- [Changelog](https://github.com/ikatyang/angular-html-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ikatyang/angular-html-parser/compare/v1.5.0...v1.6.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-05-04 14:40:01 +03:00
dependabot-preview[bot] 686c9e5ea3 Bump @glimmer/syntax from 0.51.1 to 0.52.0 (#8217)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.51.1 to 0.52.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.51.1...v0.52.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-05-04 14:39:45 +03:00
dependabot-preview[bot] 6fcf448ac4 Bump terser-webpack-plugin from 2.3.6 to 3.0.0 (#8216)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.6 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.6...v3.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-05-04 14:39:31 +03:00
fisker Cheung 208eaad44e Test empty files with snippets (#8116)
* Test empty files with `snippets`
* Assert output
2020-05-04 18:27:15 +08:00
dependabot-preview[bot] 69d5c55da9 Bump rollup from 2.7.5 to 2.7.6 (#8199)
Bumps [rollup](https://github.com/rollup/rollup) from 2.7.5 to 2.7.6.
- [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.7.5...v2.7.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-02 12:51:18 +08:00
dependabot-preview[bot] 88104372d3 Bump @babel/preset-env from 7.9.5 to 7.9.6 (#8187)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.5 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.5...v7.9.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-01 14:09:04 +03:00
dependabot-preview[bot] 31a7672bd7 Bump @babel/parser from 7.9.4 to 7.9.6 (#8186)
Bumps [@babel/parser](https://github.com/babel/babel) from 7.9.4 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.4...v7.9.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-01 14:08:41 +03:00
dependabot-preview[bot] b1664af318 Bump @babel/preset-env from 7.9.5 to 7.9.6 in /website (#8197)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.5 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.5...v7.9.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-01 14:07:55 +03:00
fisker Cheung 0dee55c534 Add missing peer dependency tslib (#8161) 2020-04-30 23:47:13 +08:00
dependabot-preview[bot] a34a95d051 Bump @babel/core from 7.9.0 to 7.9.6 (#8188)
Bumps [@babel/core](https://github.com/babel/babel) from 7.9.0 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.6)

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-30 13:11:24 +03:00