Commit Graph

189 Commits (b878a54e6addbc6ea745ea089549d241edb048e7)

Author SHA1 Message Date
Lucas Duailibe d474d5c550 Merge branch 'master' into new-playground 2018-04-10 21:49:46 -03:00
Ika 7029346887
fix(playground): correct rangeStart/rangeEnd value (#4273) 2018-04-06 22:06:33 +08:00
James Henry 74ad0014aa Playground: Add support for rangeStart and rangeEnd (#4216)
This allows users to more easily reproduce and report issues such as:

- https://github.com/prettier/prettier/issues/3789
- https://github.com/prettier/prettier/issues/4206
...etc...
2018-04-04 15:54:05 -04:00
Zac Anger 8fe88007db Add Jane.com to users (#4189) 2018-03-21 16:08:23 -06:00
Lipis feb41a5516
Richer markdown example in the playground (#4176)
* Richer markdown example in the playground

* Link is back
2018-03-19 16:32:06 +02:00
Ika 23cd5d44f7 fix(playground): no undefined parsers (#4159) 2018-03-16 11:37:08 -03:00
Simon Lydell 8ab09cc753 Add playground examples for all languages (#4107)
* playground: Add GraphQL example

* playground: Add markdown example

* playground: Add Flow example

* playground: Add Less example

* playground: Add Vue example
2018-03-06 20:09:16 +11:00
Wesley Abbey f224087cef Add Drizly to users (#4105) 2018-03-05 11:12:45 -03:00
Lipis 0b4d731fe5 Upgrade SVGO and more settings (#4018)
* Upgrade SVGO and more settings

* Update
2018-02-22 12:24:04 -05:00
Steffen Weber 9643d33702 Add ComputerBase to list of users (#4027) 2018-02-22 14:17:35 +02:00
Skubie Doo 4347f481bb Add JSON example (#3995)
* Add JSON example

Not sure if this is a good or useful example case.

* Add license link

* Add link to source example

* Remove extra license link

As requested, only one link is necessary
2018-02-20 00:07:19 +08:00
Jack Morgan 160d0e63aa Adding Leesa to users.yml (#3955) 2018-02-13 16:36:08 -05:00
Lipis 8acc969b35
SVGO single files and some instructions (#3915)
* SVGO single files and some instructions

* yarn

* Words

* *italics*

* Evidently my style isn’t pretty enough
2018-02-11 14:46:26 +02:00
Lucas Azzola 7b2349dcd2
Set os.EOL in worker.js (#3935) 2018-02-09 21:31:48 +11:00
Lipis 465abe8360 Add Facebook to users (#3867)
* Add Facebook to users

* Size

* :)

* FB

* Revert
2018-02-07 22:02:51 +11:00
Sandhose 6b5765da36 Use the animated logo on the website's landing page (#3910)
* Use the animated logo on the landing page

* docs: Add build step to copy logo css

* docs: Shrink the logo when the screen is small
2018-02-07 09:47:14 +11:00
Lipis b67f2563d9 Normalize SVGs using svgo (#3907) 2018-02-06 09:25:05 -07:00
Lucas Azzola 047363a1f4
Revamp landing page (#3718)
* Begin landing page revamp

* Break the editor integrations onto their own lines

* Add template string

* Add editor line breaks

* Make logo clickable

* Add more docs links

* Don’t split the editor list items into paragraphs

* Break plugin onto its own line

* Move the “Why” button to the bottom of the block

* Use suggested font

* Change font

* Change footer color

* Add assets from @orta

* Fix fonts

* Use new editor assets

* Add npm/yarn button

* Switch to npx

* Minor mobile tweaks

* Add dependants

* Lots of zeros are cooler to look at than a “k”

* Improve button sizes, respect prefers-reduced-motion

* Fixup media breakpoints for Get Started section

* Increase padding of editors

* CSS fixes from code review

* Prevent repeatedly clicking on the logo from selecting nearby text

* dependant -> dependent

* Various CSS tightening

* Set flex-basis on editors

* Add new languages panel

* Improve layout of languages

* Cleanup grouping code

* Fix users layout

* Fix language image widths

* space-evenly -> space-between

* Fix typo

* Remove unused var

* Various CSS fixes

* Set overflow-x: auto on code

* Improve languages layout

* Add silly cursor

* Make logo 'draggable'

* [Site] Margins and paddings (#2)

* [Site] Margins and paddings

* [Site] Bring back the link to why, that's a good guide worth linking to

* Improve logo mobile usage

* Improve responsive layout of editors

* Use static SVG for the moment (#3)

* Use the static logo for the moment

* Fix the broken JS, from going static, and make overscroll the right color

* Fix padding
2018-02-06 20:52:39 +11:00
Kevin Peters d8ecf26ef6 Add 3YOURMIND to users.yml (#3881) 2018-02-03 09:35:14 -05:00
tobenna 13112d6784 Adding LoyaltyLion to users (#3869) 2018-02-01 19:48:16 +01:00
Florent Dubost 93fb2de30d Add M6Web user (#3863) 2018-02-01 15:20:01 +01:00
Adrien HARNAY ff32edc4ad Add Brigad to list of users (#3862)
* Add image

* fix

* Fixed format
2018-02-01 13:34:40 +01:00
chrisbianca 3f2714c17f Add React Native Firebase to the list of users (#3859) 2018-02-01 12:17:06 +01:00
Martin Brännstrand f23546800b Added Lifesum to list of users (#3858)
* Added LIfesum logo

* Added LIfesum to list of users
2018-02-01 01:41:30 -07:00
Adishwar Rishi cba0a4778e Add Escrow to the list of users (#3857) 2018-02-01 01:40:23 -07:00
Lachlan Campbell 8d5863f408 Add Hack Club to user showcase (#3856)
* Add logo

* Add Hack Club to user showcase
2018-02-01 14:03:38 +08:00
Andrew Boyton d51b76855d Add Freelancer to the list of users (#3854)
We love Prettier and have been using it for a while now.
2018-01-31 16:58:28 -05:00
Vlad Holubiev a3b973c245 Add Shelf to Users Page (#3851) 2018-01-31 15:47:21 +01:00
Amadeus Demarzi 443e8fa3f3 Add Discord to users.yml (#3736) 2018-01-12 17:14:04 -07:00
Harry Wolff d0044074b1 Add MongoDB (#3733) 2018-01-12 14:10:58 -08:00
Michael Sharer 0e0fa5cc23 Add NHL to users list (#3703)
* Update users.yml

* Add NHL to users list
2018-01-11 00:23:15 +08:00
Haroen Viaene 408f3d3657 playground: add (s)css examples (#3696)
* playground: add (s)css examples

see #3667

* escape quotes

* add license notice

* lol fix prettier on prettier codebase
2018-01-10 07:57:04 -05:00
Marcel Jackwerth a27d19b2c1 Allow Plugins to preprocess text (#3664)
* Allow Plugins to preprocess text

* Actually pull up text

* Always expect the preprocessor to set the text

* Add tests for preprocessing

* Remove unused variable
2018-01-10 00:27:26 +11:00
Ika 5e2e7a2881 feat(playground): add example placeholder (#3657)
* feat(playground): add example placeholder

* Add TypeScript example

* fix: mock process.binding

* fix: add missing comma

* refactor: use legacy function

* fix: mock return `{}`

* Return the error stack when there’s a non-SyntaxError thrown

* Code style

* fix: mock path.resolve

* chore: cache placeholder.js

* fix mock path.resolve attempt 2

* fix: mock path.{parse,join,dirname}

* fix: mock process.cwd

* fix: mock path.parse root
2018-01-07 06:59:14 -05:00
michele e4e3c757fb Added GumGum to list of users (#3660) 2018-01-05 22:40:00 -02:00
Tejas Kumar 053202cc16 Added Contiamo to list of users (#3655) 2018-01-06 02:05:02 +11:00
Christopher Chedeau dcf04187db
Tweak CSS of the blog section (#3625)
* Tweak CSS of the blog section

* light codeblocks

![image](https://user-images.githubusercontent.com/197597/34471012-52212fba-eef2-11e7-8f75-404a3693c87d.png)
2018-01-01 17:08:47 -08:00
Lucas Duailibe 0f548ebe47 Merge branch 'master' into new-playground 2017-12-31 09:41:18 -03:00
Lucas Azzola 800a1cf9d4
Add Blog, Populate with Release Notes (#3604)
* Add blog

* Rename files, add extra #

* Improve formatting

* Convert pull-request links

* Fix typo

* Update links in CHANGELOG.md, lint docs

* Add missing parens

* Remove banner images

* Add 1.0 release blog post

* Fix encoding bug

* Add truncate to 1.0 blog post

* TS syntax highlighting looks better than JS highlighting on Flow

* Add introductory sentences to older posts

* More highlighting fixes

* Fix mistake

* Fix more highlighting errors

* More highlighting fixes

* Add CSS fix

* fix truncate on 1.9.0 post

* fix truncate on 1.0.0 post

* Fix additional # and my name in 1.0.0

* Restore js -> ts on codeblocks
2017-12-31 15:23:17 +11:00
Ika 8a86c0cc9f fix(playground): fix report version (#3614) 2017-12-31 12:12:56 +11:00
Ika 0af436cd47 fix(playground): use `prVersion` (#3613) 2017-12-31 00:54:36 +11:00
Lucas Duailibe 624b876b35 update style 2017-12-29 20:08:59 -03:00
Lucas Duailibe c34db47c0c fix prettier loading 2017-12-29 14:17:26 -03:00
Robert Webb 833666a394 Support handlebars (#3534)
* feat(glimmer): initial HTML/Handlebars/Glimmer support

* feat(glimmer): support un-escaped mustache expressions

* fix(glimmer): add 'as |foo|' syntax

* fix(glimmer): support {{foo bar}} syntax

* feat(glimmer): implement all AST types

* feat(glimmer): implement if/else if/else

* test(glimmer): ignore leading/trailing whitespace from AST_COMPARE

* fix(glimmer): do not use trailing slash for void self-closing elements

* chore(build): disable html tests until we can sort out the glimmer dependency

* feat(html): complete rebase on parse5 addition

* Prettier Support For Glimmer VM/Handlebars

Polished Support for Sub Expressions
Added test cases for glimmer primitives
Added support for concat statements
Attempted to make element nodes work
Attempted block statements
Element Nodes are OK
Added support for block elements that are not else-if related
Added support for Else/If
Cleaning up
Rebase
Switch node 4 syntax
Update build

* Removed dead code/partials

* Added new lines to end of test files.

* Rebase after plugin change

* Added ignores to code coverage
2017-12-29 18:14:31 +01:00
Lucas Duailibe 8811e45002 Merge branch 'master' into new-playground 2017-12-29 13:20:48 -03:00
Lucas Azzola b0647cb2c9
Fix PR Preview Playground (#3592)
* Fix PR Preview Playground

* Use module.exports for Prettier export

* Keep index for backwards compatibility
2017-12-28 22:37:47 +11:00
artiebits 15a68394dd Move playground styles to the single CSS file (#3588)
* Move playground styles to the single css file

* Add separateCss property to siteConfig.js
2017-12-27 17:32:37 -05:00
Jed Fox 1a3248bbc2 Change the changelog link to link to prettier/prettier (#3564)
* Change the changelog link to link to prettier/prettier

* Fix changelog links

* Double quotes
2017-12-26 00:04:02 -05:00
Lucas Duailibe 225bfa7d97 playground wip 2017-12-26 00:22:17 -03:00
Jed Fox 9cbaecbb1e
Link the version text to the PR or changelog entry 2017-12-24 12:05:54 -05:00
Jerome Leclanche 591a9cb6d0 Add HearthSim to users.yml (#3554) 2017-12-22 12:56:38 +11:00
Lipis 8b8268096f Refactor images for Users, Editors and Languages (#3479) 2017-12-19 10:42:16 -02:00
Adam 56948a953e Add Troops to Users (#3505) 2017-12-18 09:48:30 +08:00
Praveen Durairaj f1680c3f22 Add hasura to list of users (#3504) 2017-12-16 15:56:54 +11:00
Matt Mulder b778df4fc2 Add Yelp to list of users (#3502) 2017-12-15 19:09:15 -02:00
Tom Bonnike 23ffddf94a Added N26 to the list of users (#3499) 2017-12-16 00:02:35 +08:00
Kushagra Gour 57e821a28c add wingify to user list (#3497) 2017-12-15 03:12:22 -02:00
Anton Vasin 7f55cc5872 Add Mathrioshka to users (#3495) 2017-12-15 09:11:57 +08:00
Martin Irigaray f38c51269a IDEATI uses prettier (#3490) 2017-12-14 15:26:10 -02:00
Hemratna Bhimani f8f18487d2 Adding 7Span logo. (#3487) 2017-12-14 20:51:12 +11:00
Christian Rackerseder 7b6f3eaeea Added HolidayCheck to website ☀️ (#3488) 2017-12-14 20:43:51 +11:00
Charles Pick d691c8d395 Add codemix to users (#3482) 2017-12-14 17:47:44 +11:00
James Henry 8f9798e792 Website: Add Nrwl to users (#3483)
* Update users.json

* Add nrwl logo
2017-12-14 10:47:25 +11:00
Emmanuel Vuigner 2816c45771 Add ZIP.ch to users.json (#3480) 2017-12-13 15:01:41 -02:00
Sorin Iclanzan 9d8429d420 Add Webflow to users (#3477) 2017-12-13 15:00:56 -02:00
Viktor Hubert 6cfa092979 Added Eventstag to users.json (#3478) 2017-12-13 12:51:34 -02:00
Fernando Montoya 00bc23ba5a Add Eye Square to users (#3476) 2017-12-13 12:19:28 -02:00
Daniel Schmidt 01aa9cedf6 Add Charlie Tango to users.json (#3473) 2017-12-13 12:01:05 -02:00
Greg Bergé dfc61d940d Add Smooth Code to users (#3474) 2017-12-13 11:22:29 -02:00
Lucas Duailibe 2663fd8c6d Fix flow parser + fix CHANGELOG lint 2017-12-05 22:13:38 -02:00
Lucas Duailibe 36a11b86bc Fix multiparser on playground (#3407)
* Fix multiparser in playground

* Remove unnecessary function call
2017-12-06 09:14:02 +11:00
Lucas Duailibe 8bb6e169e2
Change playground options layout (#3374) 2017-12-05 17:54:07 -02:00
Ika f3e7ca2210 chore(playground): add new options (#3350) 2017-12-05 21:22:10 +11:00
Lucas Azzola c7c1d2e7a4 Upgrade Prettier to Prettier 1.9 (#3395)
* Upgrade to prettier@1.9.0

* Run eslint --fix

* Run prettylint --fix

* Fix playground with editorconfig script
2017-12-05 08:14:03 -02:00
Chris Burgin 38b490b092 Fixed website footer on mobile (#3335) (#3373) 2017-12-04 12:27:14 +11:00
Lucas Duailibe f514d1e93f Docs build script (#3332)
* Remove artifacts from repo

* Remove docs stuff from build script

* Add new docs build script

* Add 'third-party' shim in playground worker

* Build from src if it's a PR

* Add command to package.json and remove old stuff from travis
2017-11-28 09:27:25 +11:00
Lucas Duailibe c0fa47d2d2
Fix infinite recursion in playground (#3305) 2017-11-22 11:23:28 -02:00
Dmitriy Nevzorov b959801d6a Add 2 more users (#3259)
* Update users.json

Please add 2 our [microapps](http://microapps.com) projects to the users as we're big fun of prettier and use it everywhere now

* add properly formatted images
2017-11-16 18:21:05 +08:00
Pavel Pustovalov 2332c5c8bf Add Talkable to users (#3267) 2017-11-14 19:43:15 +08:00
Diego Rodrigues Vieira b6a2436bd1 Update VSCode icon (#3266) 2017-11-14 19:29:56 +08:00
Ika b6b601815c docs(webstorm): improve image urls (#3261) 2017-11-14 18:37:15 +11:00
Mark Yu 9f7b4df23f Fix broken Webstorm image links. (#3260) 2017-11-14 10:47:04 +08:00
Ika 5820ec1e11
chore(website): fix logo filename (#3258) 2017-11-13 21:50:27 +08:00
Lipis 1464261edf Add Wire to users.json (#3257) 2017-11-13 11:45:26 -02:00
Ika ed0f91f7be feat(playground): add options (#3222)
* chore(playground): add options

* chore(playground): re-reorder options
2017-11-09 22:30:38 +11:00
Lucas Azzola fba2e6c92d 1.8.2 2017-11-09 21:28:38 +11:00
Ika adabed2c3f chore(playground): add ruler for inputEditor (#3221) 2017-11-09 21:08:50 +11:00
Austen Blokker 75032c3809 Add editor integration for Espresso to integrations list on website (#3215)
* Add editor integration for Espresso

* Add Espresso icon
2017-11-09 13:30:09 +08:00
Olivier Tassinari a3ddcb65d2 docs(users): add Material-UI (#3198) 2017-11-08 07:30:14 +08:00
Bob Nisco f0fc9f7029 Add Outreach to users (#3192) 2017-11-08 00:55:07 +08:00
Lucas Azzola fdd0dbfdd2 1.8.1 2017-11-07 23:38:55 +11:00
Lucas Azzola b099771e5f
Add IRESS to users (#3185) 2017-11-07 22:18:56 +11:00
Lucas Azzola 84adbff232
Upgrade docusaurus to beta.10 (#3166)
* Upgrade docusaurus to beta.10

* Fixes for highlightjs

* Load github buttons script
2017-11-07 20:47:21 +11:00
Haroen Viaene e62eced020 docs(users): add Algolia (#3171)
* docs(users): add Algolia

* docs(users): add Algolia image
2017-11-07 19:39:13 +11:00
Lucas Azzola b4e7942bc0
Add markdown parser to playground (#3165) 2017-11-07 17:11:31 +11:00
Lucas Azzola d5666f2b92 1.8.0 2017-11-07 14:58:44 +11:00
Lucas Azzola 71a5533c4e
Move all docs to website (#3139)
* Sync README -> docs/options.md

* Sync README -> docs/*.md

* Misc fixups

* Remove markdown-toc

* Remove insert-pragma from ToC

* Never again!

* Move all docs to ./docs

* Remove yarn toc

* Fix inter-doc links

* Fix links in footer

* Clean up README.md

* Add basic description to README.md

* Use flat badges

* Move editor guides to website

* Improve prettier-ignore docs

* Fixup bad find/replace

* Add JSON to README

* Fix custom parser API link

* Fixup GitHub centering, add downloads badge

* Add 1.8 docs

* docs(website): mention markdown on homepage (#1)

* Add intro

* Add watching-files.md

* Fix markdown syntax highlighting

* Switch back to .md links
2017-11-07 14:39:07 +11:00
Mitermayer Reis 693d1fe01b Making sure we only try to parse options after resources has been loaded (#3085)
- Making sure we only attempt to do config parsing after window.onload
since lz-string dependency needs to be available to the browser
- Setting up some sane default options in case something goes wrong
2017-10-22 18:13:11 -06:00
Mitermayer Reis 2169357c17 Making sure playground can have shorter urls (#3063)
* Making sure playground can haver shorter urls

* Fixing linting

* Including lz-string on the service worker
2017-10-22 20:10:15 +11:00
Luiz Fernando Rodrigues 3c5dae3702 Update Sublime Text and VSCode logos (#3041) 2017-10-15 10:31:30 -05:00