Commit Graph

298 Commits (1965b74e61a4df147a463eace42cf235abd24467)

Author SHA1 Message Date
Lipis 2e8366a84e
Update tools and dependent project numbers (#5033) 2018-08-31 10:52:37 +03: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
Ika 514fcb835a chore: bump Prettier dependency to 1.14.0 2018-07-29 15:44:21 +08:00
Ika c2d90f14d8
docs(blog): 1.14 release (#4857) 2018-07-29 15:25:22 +08:00
Ika 02f64af6e3
fix(vue): no error on range format (#4868) 2018-07-22 15:58:29 +08:00
Marvin Heilemann 85eb3b63ad Added Unibeautify (#4834)
Added `unibeautify-vscode` plugin for VSCode as an alternative prettier for VSCode
2018-07-11 09:45:19 -07:00
Ika c4be0a57c3
feat(playground): add description for options (#4785)
* feat(playground): add description for options

* fix: support opposite description

* refactor
2018-07-02 08:23:21 +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
Rhys Bower 2c2283ea7d Update Jest URL to jestjs.io (#4756) 2018-06-26 22:05:45 -03: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
Lipis bce668af05
Rename 2018-05-27-1.13.0.md to 2018-05-23-1.13.0.md
To fix the broken link on Twitter.. https://twitter.com/PrettierCode/status/1000819715374272515
2018-05-27 23:47:32 +03:00
Lucas Duailibe 7b723d345d Fix unpkg URL 2018-05-27 17:18:54 -03:00
dnalborczyk a227df916a fix spelling (#4568)
* fix spelling

* fix more things
2018-05-27 16:58:54 -03:00
Suchipi f5f84977a5
Rename 2018-05-23-1.13.0.md to 2018-05-27-1.13.0.md
Context: https://github.com/prettier/prettier/pull/4530#issuecomment-392359122
2018-05-27 13:36:48 -06:00
Suchipi e0b6a328aa
Fix typo in 1.13 blog post 2018-05-27 12:44:20 -06:00
Lucas Duailibe 412b064df8 Format docs with Prettier 1.13 2018-05-27 15:38:31 -03:00
Lucas Duailibe 0d57f22098 Use new worker on playground 2018-05-27 15:24:50 -03:00
Lucas Duailibe 9ee6d0bf55
1.13 release notes (#4530) 2018-05-27 15:18:07 -03:00
Lucas Duailibe 1c66625f37
Add standalone docs (#4550) 2018-05-27 15:17:38 -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
Lucas Azzola 938d2f06be
Update dependent count in website (#4515)
[155,216](https://github.com/prettier/prettier/network/dependents) now!
2018-05-20 12:58:37 +10:00
Suchipi ec45dc9a4c
(refactor): Move common options out of JS plugin (#4445)
* (refactor): Move common options out of JS plugin

* Add Common category to playground
2018-05-15 14:14:50 -06: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
Lucas Duailibe ef932741ad
Add concurrently to website `yarn start` (#4441) 2018-05-08 16:53:49 -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
Lucas Duailibe 6ceba37f9f
Add miniprettier to website and docs (#4411) 2018-05-02 12:51:28 -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 b46a46b112 fix(playground): add missing `input` code sample for `copy markdown` (#4382) 2018-04-26 00:37:29 -03:00
Kostas Bariotis 9d5a7c7c66 Edit metrics as seen at NPM/GitHub network (#4379) 2018-04-26 10:54:45 +08:00
Ika 317f3a3c56
feat: split out JSON5 (#4367)
* feat: split out JSON5

* test: update snapshots

* test: update debug-check tests

* feat(playground): use JSON's code sample for JSON5

* fix: add missing trailing newline
2018-04-25 22:10:22 +08: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 b611c62dea last minute fixes 2018-04-20 11:50:36 -03:00
Lucas Duailibe 1f320a6031 range support 2018-04-20 11:30:47 -03:00
Lucas Duailibe 57cdf314d5 rename 2018-04-20 09:54:15 -03:00
Lucas Duailibe c794de0e9f start overlay support 2018-04-19 19:23:38 -03:00