Georgii Dolzhykov
5a523239df
playground: auto-fold some AST nodes ( #8225 )
2020-05-06 03:35:12 +03:00
Georgii Dolzhykov
9db1d9fae6
add tests from #6259 and #7883
2020-04-23 19:25:42 +03:00
Georgii Dolzhykov
bba220ec0f
Merge branch 'patch-release'
2020-04-21 20:13:24 +03:00
Georgii Dolzhykov
d33f8a3e2c
Bump Prettier dependency to 2.0.5
2020-04-21 20:09:17 +03:00
Georgii Dolzhykov
6b22977cb5
Release 2.0.5
2020-04-21 20:05:11 +03:00
Georgii Dolzhykov
3ce819d72f
chore: ignore test*.js in eslint and ts configs
2020-04-21 17:00:39 +03:00
Georgii Dolzhykov
299f2cad58
chore: ignore test*.js in eslint and ts configs
2020-04-20 20:06:37 +03:00
Georgii Dolzhykov
b66f4af4d8
playground: fix how ranges are rendered ( #8086 )
2020-04-20 11:52:19 +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
5d438e3f25
chore: check "JS:" in title in lint-changelog.js
2020-04-17 03:38:53 +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
Georgii Dolzhykov
670e069519
clean up website readme, remove old deploy script ( #8040 )
2020-04-14 19:27:25 +03:00
Georgii Dolzhykov
442b33115f
playground: update libs, enable code folding for debug panels ( #8039 )
2020-04-13 14:59:49 +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
Georgii Dolzhykov
1bfef81206
Fix unexpected GitHub Actions failures ( #7980 )
2020-04-12 01:36:20 +03:00
Georgii Dolzhykov
8557ea69af
Enable GitHub Actions for a patch-release branch ( #8009 )
2020-04-11 15:18:21 +03:00
Georgii Dolzhykov
1221598304
copy webstorm.md changes to versioned_docs
2020-04-10 16:12:11 +03: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
Georgii Dolzhykov
aacaf4b2f2
Fix unexpected GitHub Actions failures ( #7980 )
2020-04-08 02:37:57 +03:00
Georgii Dolzhykov
1b56e90170
change playground redirect to use *.netlify.app domains ( #7964 )
2020-04-06 21:15:08 +03:00
Georgii Dolzhykov
f859cafb84
partial revert of #7937
2020-04-06 15:51:21 +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
Georgii Dolzhykov
aaf405e97c
deduplicate yarn.lock
2020-04-04 19:51:59 +03:00
Georgii Dolzhykov
2d1142fc30
Use scss parser for css-in-js ( #7883 )
2020-03-31 17:10:38 +03:00
Georgii Dolzhykov
bd3125623d
2.0 blog post: add a notice about print width
2020-03-30 18:44:50 +03:00
Georgii Dolzhykov
605e57dd3e
fix .prettierignore (jsfmt.spec.js files were ignored)
2020-03-27 23:40:45 +02:00
Georgii Dolzhykov
7e016cba62
readme: remove Azure Pipelines Build Status
2020-03-24 15:40:56 +02:00
Georgii Dolzhykov
b4a5225770
docs: autocrlf option of Travis CI
2020-03-24 04:24:10 +02:00
Georgii Dolzhykov
c1dd17cf38
Bump Prettier dependency to 2.0.2
2020-03-24 00:36:05 +02:00
Georgii Dolzhykov
607afd7b36
Release 2.0.2
2020-03-24 00:32:35 +02:00
Georgii Dolzhykov
cfb6166296
update stable docs wrt npx
2020-03-23 23:25:39 +02:00
Georgii Dolzhykov
58ac3b0c15
Revert "markdown: fix redundant leading spaces in markdown list" ( #7847 )
2020-03-23 22:47:36 +02:00
Georgii Dolzhykov
8ec7bc229a
fix formatting of pseudo-elements and pseudo-classes in styled-components ( #7842 )
2020-03-23 16:59:49 +02:00
Georgii Dolzhykov
fac9ce07fe
mention npx in install docs
2020-03-23 14:40:41 +02:00
Georgii Dolzhykov
ba500e22f9
Refactor inferParser to extract interpreter only once ( #7835 )
2020-03-23 03:33:53 +02:00
Georgii Dolzhykov
996d1cbb4f
Add please-upgrade-node ( #7837 )
2020-03-23 03:32:05 +02:00
Georgii Dolzhykov
0d813b7d4a
update 2.0 blog post wrt #7660
2020-03-23 03:10:44 +02:00
Georgii Dolzhykov
6835aa8dda
fix prettier-ignore in union types ( #7798 )
2020-03-23 00:51:40 +02:00
Georgii Dolzhykov
55fdc499e6
update 2.0 blog post wrt #6993
2020-03-23 00:25:46 +02:00
Georgii Dolzhykov
445e08fc0f
remove codemirror from website/package.json as Playground loads it from CDN ( #7823 )
2020-03-22 19:27:31 +02:00
Georgii Dolzhykov
d244c6fe8f
remove 2.0 notice from readme
2020-03-22 14:09:19 +02:00
Georgii Dolzhykov
e23e5ccbb6
website: spell check js code, add twitterImage
2020-03-22 03:48:31 +02:00
Georgii Dolzhykov
ed54300087
fix message in release script
2020-03-22 01:10:11 +02:00
Georgii Dolzhykov
f56d620be5
Bump Prettier dependency to 2.0.1
2020-03-22 01:08:06 +02:00
Georgii Dolzhykov
c5c9332d77
Release 2.0.1
2020-03-22 01:05:58 +02:00
Georgii Dolzhykov
c9225caac2
Tweak build script to not corrupt import-fresh
2020-03-22 00:46:01 +02:00
Georgii Dolzhykov
6953471d22
revert whitespace changes from the previous commit
2020-03-22 00:32:38 +02:00
Georgii Dolzhykov
4314e9cacc
update blog post
2020-03-22 00:11:07 +02:00
Georgii Dolzhykov
8f7164fdf4
clean changelog_unreleased
2020-03-21 22:41:36 +02:00
Georgii Dolzhykov and Jed Fox
8334610aa2
Blog post for 2.0 ( #7417 )
...
* add a script that concatenates changelog_unreleased into a blog post draft
* syntax highlighting issues
* generate post draft
* Copy edit, remove error stacks
* Update 2020-00-00-2.0.0.md
* Update changelog source files
* edit entries, regenerate the post
* add lost file in versioned_docs
Co-authored-by: Jed Fox <git@twopointzero.us >
2020-03-21 22:24:23 +02:00
Georgii Dolzhykov
9dad95b35f
Bump Prettier dependency to 2.0.0
2020-03-21 22:09:54 +02:00
Georgii Dolzhykov
5b3028e220
Release 2.0.0
2020-03-21 21:59:05 +02:00
Georgii Dolzhykov
262423a0f9
run yarn-deduplicate
2020-03-21 21:02:46 +02:00
Georgii Dolzhykov
6d0607cebf
Update release script
2020-03-21 21:02:18 +02:00
Georgii Dolzhykov
b3008f2caf
Merge remote-tracking branch 'remotes/upstream/master' into next
2020-03-21 00:56:36 +02:00
Georgii Dolzhykov
1ad13d7420
Ultimate fix for Closure-style type casts ( #7791 )
2020-03-19 18:26:22 +02:00
Georgii Dolzhykov
3f1c46373a
Expand directories in CLI (2020) ( #7660 )
2020-03-17 01:34:32 +02:00
Georgii Dolzhykov
318bf2cb33
Partial support for TypeScript 3.8 (private fields, import/export type modifier) ( #7631 )
...
* support TypeScript 3.8
* Update standard_private_fields.ts
* improve tests for import/export type modifier
* temporary hacks for private fields
* comment out some tests, update snapshots
* add changelog entry
2020-03-11 17:40:57 +03:00
Georgii Dolzhykov
a7e92624b3
add changelog entry for #6981 ( #7747 )
...
fixes #7741
2020-03-10 12:38:04 +02:00
Georgii Dolzhykov
76c5ea47a2
azure pipelines: switch to macOS 10.14 ( #7739 )
...
see https://devblogs.microsoft.com/devops/removing-older-images-in-azure-pipelines-hosted-pools/
2020-03-10 10:27:28 +02:00
Georgii Dolzhykov
8b85bdc21e
fix commands in CONTRIBUTING.md
2020-02-27 13:58:25 +02:00
Georgii Dolzhykov
6748840174
Merge remote-tracking branch 'remotes/upstream/master' into next
2020-02-27 02:49:35 +02:00
Georgii Dolzhykov
1f64401915
remove --stdin ( #7668 )
2020-02-27 02:19:52 +02:00
Georgii Dolzhykov
d469140322
exclude another debug path from coverage
2020-02-26 21:08:27 +02:00
Georgii Dolzhykov
78784871e8
exclude a debug path from coverage
2020-02-25 02:09:47 +02:00
Georgii Dolzhykov
a6563fa584
edit changelog entries
2020-02-24 23:03:55 +02:00
Georgii Dolzhykov
0bca7a0a4f
merge changelog entries for removed deprecated API
2020-02-24 22:58:29 +02:00
Georgii Dolzhykov
cf3d9f0b80
api: remove the version parameter of getSupportInfo ( #7620 )
...
* api: remove the version parameter of getSupportInfo
* add changelog entry
* remove mapDeprecated
* Update pr-7620.md
* remove the first parameter completely
* Update api.md
* add default value for opts just to be on the safe side
2020-02-23 02:47:17 +02:00
Georgii Dolzhykov
473bf9f50d
Merge remote-tracking branch 'remotes/upstream/master' into next
2020-02-18 17:29:57 +02:00
Georgii Dolzhykov
16c0a7a10f
Rudimentary support for the most used directives of AngularJS 1.x ( #6869 )
...
* Rudimentary support for the most used directives of AngularJS 1.x
* add ng-class and ng-style
* add changelog entry in the new format
* Update pr-6869.md
* update snapshots
2020-02-18 00:38:23 +02:00
Georgii Dolzhykov
5dab172700
Merge remote-tracking branch 'remotes/upstream/master' into next
2020-02-14 14:08:20 +02:00
Georgii Dolzhykov
850e705d10
Fix edge cases with parentheses around optional chaining ( #7500 )
...
* fix disappearing parens in (foo?.bar)()
* fix `new (foo?.bar)();`
2020-01-31 12:50:08 +02:00
Georgii Dolzhykov
6f1ed54206
fix tests on Windows: drive letter case returned by process.cwd() depends on environment ( #7409 )
2020-01-23 10:34:53 +02:00
Georgii Dolzhykov
37a7e9cd42
Merge branch 'master' into next
2020-01-22 14:55:22 +02:00
Georgii Dolzhykov
8efa29ca0c
fix object literal checks in isSimpleCallArgument ( #7403 )
2020-01-21 17:55:43 +02:00
Georgii Dolzhykov
3fd0d56a95
angular: fix i18n attr with @@ ( #7371 )
...
* angular: fix i18n attr with @@
* changelog
2020-01-16 15:57:33 +02:00
Georgii Dolzhykov
7e3c0c73b3
Merge branch 'master' into next
2020-01-14 20:36:21 +02:00
Georgii Dolzhykov
67a99ef2a8
start using object spread syntax ( #7242 )
2020-01-14 14:00:46 +02:00
Georgii Dolzhykov
26272bfc32
Bump @babel/core from 7.7.2 to 7.7.7
2020-01-10 14:38:40 +02:00
Georgii Dolzhykov
7d88fb81c6
fix snapshots after merge
2020-01-10 02:38:28 +02:00
Georgii Dolzhykov
29e8496384
fix yarn.lock, add version resolutions for glimmer
...
See https://github.com/prettier/prettier/pull/6570 re glimmer
2020-01-10 02:35:42 +02:00
Georgii Dolzhykov
d83277bdf2
remove code for old Node from jest config
2020-01-10 00:45:51 +02:00
Georgii Dolzhykov
9868017749
change version to 2.0.0-dev in package.json
2020-01-10 00:39:06 +02:00
Georgii Dolzhykov
5f2384e497
use lodash/* instead of lodash.* ( #7235 )
2020-01-09 17:48:02 +02:00
Georgii Dolzhykov
19499ec723
add netlify.toml to override the node version on netlify
2020-01-09 17:01:29 +02:00
Georgii Dolzhykov
773ebd85e8
fix snapshots
2020-01-09 17:01:05 +02:00
Georgii Dolzhykov
42e7f7f1a5
Merge remote-tracking branch 'remotes/upstream/master' into next
2020-01-09 16:55:41 +02:00
Georgii Dolzhykov
ff566879d8
fix build: remove reference to replace-array-includes-with-indexof
2020-01-09 16:45:17 +02:00
Georgii Dolzhykov
9b7f097368
fix snapshots
2020-01-09 16:38:22 +02:00
Georgii Dolzhykov
1f5e8488fd
tests: "Expected" and "Received" are mixed up in parser verification tests ( #7125 )
2019-12-10 18:37:50 +02:00