Ika
0534735c2f
fix(vue): tweak semicolon for single expression in event bindings ( #5519 )
2018-11-29 09:28:35 +08:00
Ika
fa40f2ddd3
docs(blog): 1.15 release ( #5296 )
2018-11-07 09:09:04 +08:00
Ika
e022abc9b8
chore(playground): add a temporary workaround for parser-vue ( #5347 )
...
Temporary workaround
2018-11-05 22:11:59 +08:00
Ika
5e8a4a115a
feat: support HTML/Vue/Angular ( #5259 )
2018-11-04 23:03:07 +08:00
Raphael Boidol
59c075b311
[ImgBot] optimizes images ( #5261 )
...
*Total -- 1,155.42kb -> 742.94kb (35.7%)
/website/static/images/users/iress-200x100.png -- 78.46kb -> 4.68kb (94.03%)
/website/static/images/users/assertible-200x100.png -- 31.41kb -> 2.68kb (91.47%)
/website/static/images/users/sevenspan-200x100.png -- 19.97kb -> 5.77kb (71.09%)
/website/static/icon.png -- 4.47kb -> 1.72kb (61.45%)
/website/static/images/users/zipch-200x100.png -- 3.91kb -> 1.64kb (58.04%)
/website/static/images/users/discord-200x100.png -- 3.18kb -> 1.42kb (55.5%)
/website/static/images/users/nrwl-200x100.png -- 25.42kb -> 11.47kb (54.89%)
/website/static/images/users/loyaltylion-200x100.png -- 5.14kb -> 2.49kb (51.58%)
/website/static/images/users/drizly-200x100.png -- 7.02kb -> 3.44kb (50.94%)
/website/static/images/users/mathrioshka-200x100.png -- 37.09kb -> 19.25kb (48.1%)
/website/static/images/users/troops-200x100.png -- 6.75kb -> 3.54kb (47.61%)
/website/static/images/languages/markdown-128px.png -- 3.66kb -> 1.93kb (47.29%)
/website/static/images/users/eyesquare-200x100.png -- 10.26kb -> 5.49kb (46.53%)
/website/static/images/editors/webstorm-128px.png -- 6.64kb -> 3.77kb (43.18%)
/website/static/images/editors/atom-128px.png -- 8.66kb -> 5.07kb (41.45%)
/website/static/images/users/lifesum-200x100.png -- 12.70kb -> 7.45kb (41.33%)
/website/static/images/users/brigad-200x100.png -- 13.67kb -> 8.06kb (41.02%)
/website/static/images/users/holidaycheck-200x100.png -- 13.79kb -> 8.30kb (39.81%)
/website/static/images/users/outreach-200x100.png -- 8.52kb -> 5.36kb (37.13%)
/website/static/images/users/hudl-200x100.png -- 8.77kb -> 5.56kb (36.66%)
/website/static/images/editors/visualstudio-128px.png -- 3.13kb -> 1.98kb (36.62%)
/website/static/images/languages/js-128px.png -- 3.34kb -> 2.12kb (36.62%)
/website/blog/assets/github-diff-ternary-in-jsx.png -- 67.71kb -> 44.43kb (34.37%)
/website/static/images/users/getonboard-200x100.png -- 5.53kb -> 3.74kb (32.43%)
/website/static/images/users/hackclub-200x100.png -- 7.90kb -> 5.44kb (31.13%)
/website/static/prettier.png -- 16.74kb -> 11.61kb (30.62%)
/docs/assets/youtube-cover/a-prettier-printer-by-james-long-on-react-conf-2017.png -- 328.21kb -> 230.23kb (29.85%)
/website/static/images/users/transloadit-200x100.png -- 10.47kb -> 7.47kb (28.66%)
/website/static/images/users/paypal-200x100.png -- 12.50kb -> 8.94kb (28.5%)
/website/static/images/users/mongodb-200x100.png -- 9.72kb -> 6.99kb (28.08%)
/website/static/images/languages/graphql-128px.png -- 8.10kb -> 5.85kb (27.71%)
/docs/assets/youtube-cover/javascript-code-formatting-by-christopher-chedeau-on-react-london-2017.png -- 137.75kb -> 100.08kb (27.34%)
/website/static/images/users/codemix-200x100.png -- 3.82kb -> 2.87kb (24.92%)
/website/static/images/users/m6web-200x100.png -- 21.61kb -> 16.69kb (22.78%)
/website/static/images/users/yelp-200x100.png -- 10.59kb -> 8.23kb (22.35%)
/website/static/images/users/react-200x100.png -- 6.72kb -> 5.23kb (22.13%)
/website/static/images/users/babel-200x100.png -- 15.44kb -> 12.08kb (21.76%)
/website/static/images/users/freelancer-200x100.png -- 5.86kb -> 4.74kb (19.08%)
/website/static/images/users/ideati-200x100.png -- 4.05kb -> 3.29kb (18.62%)
/website/static/images/users/yarn-200x100.png -- 5.75kb -> 4.71kb (18.07%)
/website/static/images/users/talkable-200x100.png -- 3.07kb -> 2.56kb (16.63%)
/website/static/images/users/webpack-200x100.png -- 5.13kb -> 4.44kb (13.49%)
/website/static/images/users/escrow-200x100.png -- 7.47kb -> 6.48kb (13.25%)
/website/static/images/users/moonmail-200x100.png -- 5.69kb -> 4.96kb (12.87%)
/website/static/images/users/jest-200x100.png -- 3.26kb -> 2.84kb (12.86%)
/website/static/images/editors/vim-128px.png -- 13.85kb -> 12.16kb (12.19%)
/website/static/images/users/nhl-200x100.png -- 11.18kb -> 9.85kb (11.92%)
/website/static/images/editors/emacs-128px.png -- 21.24kb -> 18.90kb (11.03%)
/website/static/images/users/jane-200x100.png -- 4.14kb -> 3.70kb (10.71%)
/website/static/images/users/webflow-200x100.png -- 4.51kb -> 4.08kb (9.49%)
/website/static/images/users/storybook-200x100.png -- 6.04kb -> 5.49kb (9.11%)
/website/static/images/editors/vscode-128px.png -- 14.85kb -> 13.53kb (8.9%)
/website/static/images/editors/sublimetext-128px.png -- 6.83kb -> 6.39kb (6.55%)
/website/static/images/users/zeit-200x100.png -- 0.94kb -> 0.88kb (6.45%)
/website/static/images/users/smooth-code-200x100.png -- 9.16kb -> 8.66kb (5.49%)
/website/static/images/languages/css-128px.png -- 7.21kb -> 6.87kb (4.79%)
/website/static/images/users/rnfirebase-200x100.png -- 8.63kb -> 8.26kb (4.28%)
/website/static/images/editors/espresso-128px.png -- 22.42kb -> 21.78kb (2.84%)
/website/static/images/users/monei-200x100.png -- 5.35kb -> 5.31kb (0.75%)
2018-10-16 15:07:33 -03:00
Marek Bodinger
095bfb8404
Add Exponea to users.yml ( #5133 )
...
* Add Exponea to users.yml
* Update exponea.svg
2018-09-22 18:05:13 -04:00
Ika
13147facc5
feat(html): switch to htmlparser2 ( #5127 )
...
- switch to [`htmlparser2`](https://github.com/fb55/htmlparser2 )
- no need to fork
- won't generate pseudo nodes ([`parse5` will](https://github.com/prettier/prettier/issues/5098#issuecomment-423055181 ))
- should be [faster](https://github.com/fb55/htmlparser2#performance )
- support custom self-closing tags
- support HTML entities
- remove extra trailing newline for `<template>`
- distinguish empty/empty-string attributes (`<tag x>`/`<tag x="">`)
- rename `--parser parse5` with `--parser html`
- enable `html` since 1.15, which means it's enabled by default if you install the dev version from GitHub after this PR merged.
2018-09-22 21:53:38 +08:00
Ika
79f4251e26
chore: enable html on preview playground ( #5105 )
2018-09-19 09:19:18 +08:00
Cody Reichert
ead9127d70
Add Assertible to users.yml ( #5099 )
2018-09-15 15:10:12 -04:00
Ernesto García
8283320648
Add Get on Board to list of users ( #5072 )
2018-09-08 19:55:32 -04:00
Yashu Mittal
3c77c5dcfb
Adding CodeCarrot to OCF list ( #5069 )
2018-09-08 07:38:03 +08:00
Ika
1790211f76
feat: support MDX ( #4975 )
...
* feat: support MDX
* refactor: flip condition
2018-08-13 22:23:09 +08:00
Ika
1915cc3c46
chore: enable glimmer parser on preview playground ( #4915 )
2018-08-01 15:44:37 +08:00
Yangshun Tay
94d928b9eb
Upgrade Docusaurus to 1.3.1 ( #4738 )
2018-07-01 10:59:20 -03:00
Ika
b4a92c6ee5
feat(playground): use real code sample ( #4770 )
...
* feat(playground): double click to insert example
* fix: correct condition
* feat: real code sample
* fix: remove unnecessary updateValue
* feat: auto-select on focus
2018-07-01 16:17:25 +08:00
Ika
dcf44ffbdc
feat: support YAML ( #4563 )
...
* feat: support YAML
* fix: do not indent sequence in mappingValue
* docs: add yaml to index.md
* fix: reduce `SyntaxError: Node#parse consumed no characters`
* chore: remove old-build and new-worker.js
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* fix: no space after `<<`
* fix: add yaml to standalone test
* test: add tests
* fix: next empty line in flow collection
* fix: tabs are not allowed
http://yaml.org/spec/1.2/spec.html#space/indentation/
* fix: update parser
* feat: rewrite the mappingItem logic
* feat: indent sequence in mapping
* feat(doc): add ifBreak#groupId and group#id
* chore: fix node 4
* chore: add tools_yaml.svg
* chore: remove resolved TODO
* refactor: remove unnecessary workaround
* chore(worker): importScriptOnce
* chore(build): rename with babelPlugins
* make it rollup compatible
* feat: support singleQuote
* refactor
2018-06-21 10:29:42 +08:00
Ika
c5bbee67d3
fix(playground): no unnecessary import ( #4653 )
2018-06-09 00:01:14 +08:00
Jed Fox
1669a7b38b
Redirect the broken 1.13 blog link to the correct one ( #4570 )
...
* Redirect the broken 1.13 blog link to the correct one
https://twitter.com/prettiercode/status/1000819715374272515
* Redirect the broken 1.13 blog link to the correct one
https://twitter.com/prettiercode/status/1000819715374272515
* Revert "Rename 2018-05-27-1.13.0.md to 2018-05-23-1.13.0.md"
This reverts commit bce668af05
.
* Fix redirect target
2018-05-28 07:24:09 -04:00
Suchipi
2303d6801f
website: Change pre overflow-x to auto ( #4573 )
...
`overflow-x: scroll` shows scrollbars under every code block even if they aren't scrollable:
![scrollbar](https://user-images.githubusercontent.com/1341513/40591633-f0e85540-61d1-11e8-9906-c0c67d432d26.png )
2018-05-28 11:00:43 +10:00
Lucas Duailibe
0d57f22098
Use new worker on playground
2018-05-27 15:24:50 -03:00
Lucas Duailibe
f40b82d183
Fix playground ( #4541 )
2018-05-24 21:11:12 -03:00
Lucas Duailibe
52a2a46b3c
New build system ( #4449 )
2018-05-24 15:30:45 -03:00
Ika
1062f2a889
feat: support JSON.stringify formatting ( #4450 )
...
* test: move tests
* feat: support legacy JSON formatting
* fix: add missing assertion
* test: fix coverage
* fix: same output as JSON.stringify
* refactor: fix linting
* refactor: rename to json-stringify
* refactor: fix linting
* fix: should fix the production build
* docs: remove outdated name
* fix(playgound): add lib/parser-json-stringify.js
* feat(playgound): add example for json-stringify
* fix: no error on singleQuote string
* fix(playground): correctly load json-stringify
* fix: identifier is only allowed in ObjectProperty.key
* refactor: clearer
2018-05-14 09:12:25 +08:00
Christian Gill
18eebc89fc
Add HousingAnywhere to users ( #4476 )
2018-05-13 16:53:21 -04:00
Ika
92485601eb
refactor: fix linting
2018-05-10 02:27:56 +08:00
Lucas Duailibe
f48dd0ea3b
Simplify `build-docs.js` ( #4453 )
2018-05-09 14:41:51 -03:00
Lucas Duailibe
edcebb0d54
Fix playground ( #4454 )
2018-05-09 14:27:25 -03:00
Johann Hubert Sonntagbauer
1a6cf3d071
revert changes to code mirror gutter styles ( #4419 )
2018-05-04 13:31:53 -03:00
Lucas Duailibe
c77f1e5987
[playground] Fix doc debug
2018-05-03 10:12:06 -03:00
Johann Hubert Sonntagbauer
3a99fe5d65
[playground] fix overflow in safari ( #4406 )
...
* [playground] fix overflow in safari
* options panel will not outgrow editors panel
* fix overflow in safari 10.1
* fix odd code mirror gutter placement during overflow
2018-05-01 09:41:25 -03:00
Johann Hubert Sonntagbauer
1e69119354
[playground Prevent overflow in Firefox ( #4394 )
2018-04-28 17:38:22 -03:00
Jed Fox
c37861d08b
Add a redirects file ( #4321 )
...
* Add a redirects file
* Remove non-working redirects
2018-04-26 11:41:52 -04:00
Ika
643e2a83d6
feat(typescript): support TaggedTemplateExpression typeParameters ( #4353 )
...
* test: add tests
* feat(typescript): support TaggedTemplateExpression typeParameters
* fix(playground): `buffer is not defined` in `--parser typescript`
* chore(deps): update typescript-eslint-parser
2018-04-24 08:45:06 -05:00
Vlad Korobov
80196b6553
Metric.ai users ( #4358 )
...
* Metric.ai logo added
* Metric.ai users data added
* style: remove extra trailing newline
2018-04-23 22:59:30 +08:00
Lucas Duailibe
3bc9b68cf6
Remove old playground files
2018-04-20 12:10:32 -03:00
Lucas Duailibe
9ca95011c0
refactor panels.js
2018-04-19 16:30:35 -03:00
Lucas Duailibe
1ed3865cb6
lint fixes
2018-04-17 18:09:36 -03:00
Lucas Duailibe
fcb9cb0f69
revert a css change
2018-04-17 17:02:26 -03:00
Lucas Duailibe
0ca6ff691e
simplify some stuff
2018-04-17 16:42:03 -03:00
Lucas Duailibe
a398ec31b8
cached dependencies
2018-04-17 14:13:23 -03:00
Lucas Duailibe
f90560e6e9
second format
2018-04-17 13:40:55 -03:00
Lucas Duailibe
1c8dd0c1e7
more stuff
2018-04-12 13:28:28 -03:00
Lucas Duailibe
871ae13bb6
included doc debug
2018-04-12 11:54:30 -03:00
Lucas Duailibe
7b3fecf976
show ast
2018-04-11 22:28:50 -03:00
Lucas Duailibe
47430d0c19
some huge changes
2018-04-11 18:22:03 -03:00
Lucas Duailibe
4cee59a9cf
update
2018-04-11 14:29:07 -03:00
Lucas Duailibe
243c99b821
Merge branch 'master' into new-playground
2018-04-11 14:28:19 -03:00
Lucas Duailibe
4edfb67f55
Include webpack to bundle the playground
2018-04-11 14:16:00 -03:00
Lucas Duailibe
4cedfee962
update
2018-04-10 22:31:03 -03:00
Lucas Duailibe
d474d5c550
Merge branch 'master' into new-playground
2018-04-10 21:49:46 -03:00