Commit Graph
3990 Commits
Author SHA1 Message Date
Georgii Dolzhykov b66f4af4d8 playground: fix how ranges are rendered (#8086) 2020-04-20 11:52:19 +03:00
fisker Cheung 0f3967b5ab Correct standalone test environment variable (#8080) 2020-04-19 02:29:12 +08:00
fisker Cheung be56c725c0 Show options in test title (#7785)
* Show options in test title

* Update snapshots
2020-04-18 16:09:07 +03:00
dependabot-preview[bot] 34f77e5649 Bump @glimmer/syntax from 0.50.3 to 0.50.4 (#8070)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.50.3 to 0.50.4.
- [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.50.3...v0.50.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-04-18 16:08:37 +03:00
fisker Cheung be094b8886 Simplify production tests (#8075) 2020-04-18 02:17:04 +08:00
fisker Cheung 118b79f0c9 Refactor production tests (#8073) 2020-04-18 01:24:22 +08:00
Georgii Dolzhykov 5d438e3f25 chore: check "JS:" in title in lint-changelog.js 2020-04-17 03:38:53 +03:00
Sosuke Suzukiandfisker Cheung 915327d61d Vue: Support custom blocks (#8023)
* Support Vue Custom Block

* Add changelog

* Udpate snapshots

* Support "type" for json

* Remove guessing languages

* Modify to reuse inferScriptParser logic

* Implement withInnerParts arg for stripTrailingHardline

* Rename isVueCustomBlock

* Set `verbose: true`

* Use getParserName

* Ignore vueIndentScriptAndStyle

* tmp

* Fix formatting

* Add tests

* Fix by lint

* Revert "Set `verbose: true`"

This reverts commit f65c7cd7d814d3149aadbeb3cfd00c5372887c33.

* loop with i--

* Modify to preserve unknown langauge

* Support embeddedLanguageFormatting

* Fix by lint

* Fix mistake

* Modify to preserve unknown lang

* Remove unnecesary condition

* Add error tests

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-04-17 07:54:24 +09:00
dependabot-preview[bot] 7b7ca476d2 Bump @glimmer/syntax from 0.50.2 to 0.50.3 (#8064)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.50.2 to 0.50.3.
- [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.50.2...v0.50.3)

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-16 13:46:14 +03:00
Georgii Dolzhykov 673f4b02e5 add --embedded-language-formatting to playground 2020-04-16 01:57:15 +03:00
Georgii Dolzhykov f67f65055b Further improve method chain breaking heuristic (#7889) 2020-04-16 00:07:44 +03:00
Georgii Dolzhykov 20f02b06f3 Refactor printer-estree.js: extract printing of member chains and call args to separate files (#8061) 2020-04-15 22:31:08 +03:00
fisker Cheung e0669a075e Fix master ref (#8062) 2020-04-15 22:41:01 +08:00
fisker Cheung bc1d79ca66 Cache CI build result (#8027) 2020-04-15 22:03:22 +08:00
dependabot-preview[bot] 232661c136 Bump semver from 7.3.0 to 7.3.2 (#8060)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.0 to 7.3.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.0...v7.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-15 19:13:13 +08:00
Georgii Dolzhykov 670e069519 clean up website readme, remove old deploy script (#8040) 2020-04-14 19:27:25 +03:00
dependabot-preview[bot] c9335644d7 Bump @glimmer/syntax from 0.50.1 to 0.50.2 (#8049)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.50.1 to 0.50.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.50.1...v0.50.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-14 13:20:24 +03:00
dependabot-preview[bot] ad2145ab2c Bump semver from 7.2.2 to 7.3.0 (#8050)
Bumps [semver](https://github.com/npm/node-semver) from 7.2.2 to 7.3.0.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.2.2...v7.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-04-14 13:20:12 +03:00
fisker Cheung a522b1e556 Add ability to test errors (#8025) 2020-04-14 18:19:13 +08:00
dependabot-preview[bot] e6f6cf262d Bump @rollup/plugin-alias from 3.0.1 to 3.1.0 (#8034)
Bumps [@rollup/plugin-alias](https://github.com/rollup/plugins) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/alias-v3.0.1...alias-v3.1.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-13 16:59:42 +03:00
dependabot-preview[bot] 743ff8ab25 Bump @rollup/plugin-node-resolve from 7.1.1 to 7.1.3 (#8035)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 7.1.1 to 7.1.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.1.1...node-resolve-v7.1.3)

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-13 16:19:07 +03:00
Georgii Dolzhykov 442b33115f playground: update libs, enable code folding for debug panels (#8039) 2020-04-13 14:59:49 +03:00
dependabot-preview[bot] e9b3c7e47a Bump mem from 6.0.1 to 6.1.0 (#8038)
Bumps [mem](https://github.com/sindresorhus/mem) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/mem/releases)
- [Commits](https://github.com/sindresorhus/mem/compare/v6.0.1...v6.1.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-13 14:58:50 +03:00
dependabot-preview[bot] 00165fdbcd Bump @rollup/plugin-commonjs from 11.0.2 to 11.1.0 (#8036)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.2 to 11.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.2...commonjs-v11.1.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-13 13:37:46 +03:00
dependabot-preview[bot] df63712703 Bump rollup from 2.6.0 to 2.6.1 (#8033)
Bumps [rollup](https://github.com/rollup/rollup) from 2.6.0 to 2.6.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.6.0...v2.6.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-04-13 13:37:04 +03:00
Eemeli Aroandfisker Cheung 1e44901326 docs: add prettier-plugin-properties to community plugins (#7994)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-04-13 12:42:43 +03:00
Bilawal Hameed e651404d36 added spotify to users (#8029) 2020-04-13 12:41:22 +03:00
dependabot-preview[bot] 4c2167d9aa Bump eslint-plugin-prettier from 3.1.2 to 3.1.3 (#8037)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits)

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-13 12:39:46 +03:00
Georgii Dolzhykov 048726b4be 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-12 17:49:50 +03:00
fisker Cheung f4bdd83733 Use jest@24 to collect coverage (#8026) 2020-04-12 10:29:27 +08:00
dependabot-preview[bot] 73e0351fdd Bump semver from 7.2.1 to 7.2.2 (#8019)
Bumps [semver](https://github.com/npm/node-semver) from 7.2.1 to 7.2.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.2.1...v7.2.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-12 01:38:38 +03:00
dependabot-preview[bot] 44489cdaed Bump rollup from 2.4.0 to 2.6.0 (#8021)
Bumps [rollup](https://github.com/rollup/rollup) from 2.4.0 to 2.6.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.4.0...v2.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-04-12 01:38:26 +03:00
dependabot-preview[bot] 9133ad92f1 Bump cspell from 4.0.55 to 4.0.56 (#8020)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.55 to 4.0.56.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.55...cspell@4.0.56)

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-12 01:38:16 +03:00
fisker CheungandGeorgii Dolzhykov 5d9963431f Enable GitHub Actions for a patch-release branch (#8024)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-04-12 02:58:39 +08:00
Kevin Gibbons 22d149b9f6 Add --embedded-language-formatting={auto,off} option (#7875) 2020-04-11 20:22:44 +03:00
fisker CheungandGeorgii Dolzhykov f475a5bd43 Update spellcheck config and scripts (#8012)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-04-12 01:19:00 +08:00
Robson Roberto Souza Peixoto 5569e3306e Use yaml formatter to format ansible files (#7992)
The Ansible[1] extension define a new language for yaml files that describe
ansible playbooks and because of that is not possible use the prettier
extension with ansible files.

1 - https://marketplace.visualstudio.com/items?itemName=vscoss.vscode-ansible
2020-04-11 18:12:21 +03:00
fisker b77e73a3c5 Revert workflow changes 2020-04-11 21:14:46 +08:00
fisker 6daa7e199e Quote branch names 2020-04-11 21:02:27 +08:00
Georgii Dolzhykov 8557ea69af Enable GitHub Actions for a patch-release branch (#8009) 2020-04-11 15:18:21 +03:00
fisker Cheung aeeb2ff7a8 Throw original error when loading external config (#7973) 2020-04-10 21:27:50 +08:00
fisker Cheung f0207e6850 Enable unicorn/better-regex (#7991)
* Enable `unicorn/better-regex`

* Spellcheck ignore regex
2020-04-10 21:20:40 +08:00
Georgii Dolzhykov 1221598304 copy webstorm.md changes to versioned_docs 2020-04-10 16:12:11 +03:00
fisker Cheung eca28c70c6 Fix graphql comments between interfaces (#8006) 2020-04-10 21:09:54 +08:00
fisker Cheung cf6f251b3c graphql: Allow interfaces to implement other interfaces (#8007)
* `graphql`: Allow interfaces to implement other interfaces

* Add changelog
2020-04-10 20:27:25 +08:00
fisker Cheung 7e8b6b7617 Skip DEEP_COMPARE test if code didn't change (#7982)
* Skip `DEEP_COMPARE` if code didn't change

* Check stable
2020-04-10 20:07:07 +08:00
Georgii Dolzhykov 68e60843a6 spellcheck 2020-04-10 14:24:15 +03:00
Georgii Dolzhykov 28b2c65097 deduplicate yarn.lock 2020-04-10 14:18:40 +03:00
fisker CheungandGeorgii Dolzhykov aa3141c24e Wrap tests in describe (#7934)
* Run `format()` in test function

* Wrap `test`s in `describe`

* Update tests_config/run_spec.js

Co-Authored-By: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-04-10 19:12:01 +08:00
dependabot-preview[bot] dc9e7e0b45 Bump @babel/code-frame from 7.5.5 to 7.8.3 (#7316)
Bumps [@babel/code-frame](https://github.com/babel/babel) from 7.5.5 to 7.8.3.
- [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.5.5...v7.8.3)

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-10 13:45:03 +03:00