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
Lucas Duailibe
9ca95011c0
refactor panels.js
2018-04-19 16:30:35 -03:00
Lucas Duailibe
961d25560f
placeholder + refactors
2018-04-19 14:31:35 -03:00
Lucas Duailibe
a7a65aceb2
fix empty hash
2018-04-19 13:56:10 -03:00
Lucas Duailibe
f3cf50515d
fix node 4 problem
2018-04-19 13:55:58 -03:00
Lucas Duailibe
a485da206c
run prettier
2018-04-17 19:40:02 -03:00
Lucas Duailibe
1ed3865cb6
lint fixes
2018-04-17 18:09:36 -03:00
Lucas Duailibe
971da5f8c1
lint fixes
2018-04-17 17:29:44 -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
2172ed95bf
refactor & fixes
2018-04-17 16:09:44 -03:00
Lucas Duailibe
fc52887e94
optimize panel updates
2018-04-17 14:50:53 -03:00
Lucas Duailibe
a398ec31b8
cached dependencies
2018-04-17 14:13:23 -03:00
Lucas Duailibe
33c00ca111
handling PR versions
2018-04-17 13:53:20 -03:00
Lucas Duailibe
1f7e48aa46
remove dead code
2018-04-17 13:42:05 -03:00
Lucas Duailibe
f90560e6e9
second format
2018-04-17 13:40:55 -03:00
Lucas Duailibe
79a3ec1a04
lift formatting up
2018-04-17 10:28:35 -03:00
Lucas Duailibe
ce81ae134c
remove unused code
2018-04-13 03:11:41 -03:00
Lucas Duailibe
eea6f068b4
refactors
2018-04-12 18:09:37 -03:00
Lucas Duailibe
94b5ab4d6e
copy buttons + version link at the top
2018-04-12 15:09:04 -03:00
Lucas Duailibe
1c8dd0c1e7
more stuff
2018-04-12 13:28:28 -03:00
Lucas Duailibe
c08aa1e4f8
moving files around
2018-04-12 12:16:16 -03:00
Lucas Duailibe
871ae13bb6
included doc debug
2018-04-12 11:54:30 -03:00
Lucas Duailibe
9e1a0d2e72
Merge branch 'master' into new-playground
2018-04-12 11:04:35 -03:00
Suchipi Izumi
6ae20cbdb8
1.12.0
2018-04-11 22:31:54 -06:00
Lucas Duailibe
7b3fecf976
show ast
2018-04-11 22:28:50 -03:00
Lucas Duailibe
faceecc776
add graphql mode
2018-04-11 21:01:36 -03:00
Lucas Duailibe
3ab84ad343
include rulers
2018-04-11 20:55:37 -03:00
Lucas Duailibe
602f47c185
moving stuff
2018-04-11 20:33:56 -03:00
Lucas Duailibe
d3924d7bdf
fix prop-types problem
2018-04-11 19:20:42 -03:00
Lucas Duailibe
2e4df1f6ca
remove prop types
2018-04-11 19:19:33 -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
a3be9f5505
fix lint
2018-04-11 14:26:48 -03:00
Lucas Duailibe
4edfb67f55
Include webpack to bundle the playground
2018-04-11 14:16:00 -03:00
Lucas Duailibe
bfa1aaf503
Merge branch 'master' into new-playground
2018-04-11 11:39:17 -03:00
Lucas Duailibe
46c8a4cd9d
Move sw-toolbox to `website` dependencies ( #4297 )
2018-04-11 11:38:48 -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
Christian Zosel
79d480eb27
Blog post announcing first alpha release of PHP plugin ( #4289 )
2018-04-10 15:04:56 +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
Lipis
f23ce27856
More than 800/100k ( #4204 )
2018-03-26 07:12:07 -04:00
Alexander Kachkaev
fb428629fb
Add Elm plugin to website's home page ( #4163 )
...
* Add Elm plugin to website's home page
Supplements #4161
* Order plugins alphabetically
* Add link to elm-format
2018-03-26 13:26:01 +11: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
9103cd227e
More than 80,000 dependent repositories ( #4096 )
2018-03-03 17:45:16 +02:00
Kai Cataldo
8265b0e874
Fix typo on on landing page of site ( #4075 )
2018-02-28 19:39:11 -03:00
Lipis
23f032f348
Fix @orta's link ( #4060 )
2018-02-27 06:15:45 -05:00
Stephen Scott
51202f4b6e
Format 2-26 blog post with prettier
2018-02-26 18:47:55 -07:00
suchipi
b1b504fc96
1.11 Release Notes and Changelog ( #4035 )
...
* Add blog post with changelog
* Add release notes link to CHANGELOG.md
* Fix typo in tab ternary fix code block
* Fix an unfinished edit
* Add missing parens
* Update 2018-02-23-1.11.0.md
* Update 2018-02-23-1.11.0.md
* Add more release notes
* Update 2018-02-23-1.11.0.md
* prettier -> Prettier
* Update date
* cleaner
* casing
* Update CHANGELOG.md
* Update 2018-02-26-1.11.0.md
* Update 2018-02-26-1.11.0.md
* Update 2018-02-26-1.11.0.md
2018-02-26 18:17:38 -07:00
Lucas Azzola
79196030a7
Webpack -> webpack
2018-02-25 22:06:03 +00:00
Lucas Azzola
9ee113cd2e
webpack/webpack now uses Prettier ( #4039 )
2018-02-25 16:12:36 +11:00
Lucas Azzola
010933375c
Mention webstorm built-in support on homepage ( #4037 )
2018-02-24 17:08:30 +11: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
Lipis
f60bae61b8
Add license to website/package.json ( #4017 )
2018-02-21 15:39:58 +02:00
Lipis
927570e67a
Add Ruby to homepage and code ( #4016 )
2018-02-21 15:36:59 +02:00
Lipis
a8110923ea
Add Google Site Verification file ( #4015 )
2018-02-21 15:18:54 +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
Lipis
f0ce1556b5
More than 70k
2018-02-19 12:22:38 +01:00
Johnny L
1b61b819d7
Fix links in footer ( #3981 )
2018-02-19 09:59:43 +08:00
Jed Fox
87ed835095
Remove unnecessary quotes from YAML configuration files ( #3969 )
...
* Remove unnecessary quotes from users.yml
* Remove unnecessary quotes in editors.yml
* Remove unnecessary quotes in languages.yml
2018-02-14 01:52:55 +00:00
Jack Morgan
160d0e63aa
Adding Leesa to users.yml ( #3955 )
2018-02-13 16:36:08 -05:00
Lipis
1656fbf7a2
Upgrade Docusaurus to a stable version ( #3874 )
2018-02-12 18:32:33 +02: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
4f2b3eb98b
Cleanup unused script (& sort) ( #3908 )
2018-02-06 17:59:22 +01:00
Lipis
b67f2563d9
Normalize SVGs using svgo ( #3907 )
2018-02-06 09:25:05 -07:00
Lipis
89508462bb
60,000+ dependencies ( #3901 )
2018-02-06 12:35:32 +01: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
Lipis
125868c083
Remove commented out code ( #3886 )
2018-02-05 22:59:38 +01:00
Kevin Peters
d8ecf26ef6
Add 3YOURMIND to users.yml ( #3881 )
2018-02-03 09:35:14 -05:00
Simon Lydell
e591b00005
Add option philosophy to docs ( #3855 )
2018-02-02 08:07:58 +01:00
Lipis
487e6074e4
Remove redundant quotes from image links in .yml files ( #3860 )
...
* Remove redundant quotes from image links in .yml files
* Moar
* Moar
2018-02-01 16:38:03 -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
Lipis
7a7eb17082
fix: Proper case for Prettier, JavaScript, TypeScript, GitHub, Less ( #3848 )
2018-01-31 11:56:05 +01:00
TheDancingCode
b0ad6ec9c3
Fix deprecation warning from Github Buttons on website ( #3783 )
...
Using data-show-count instead of data-count-api.
2018-01-22 07:56:28 -05:00
Jed Fox
b92f1cd0ae
Use an SVG <object> tag to allow the Twitter button to be interactive ( #3739 )
...
* Use an SVG <object> tag to allow the Twitter button to be interactive
The interactive button links you to a page to follow the user directly, so I also added a direct link to the profile.
* Lint
2018-01-15 09:02:30 -05: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
Jed Fox
9a1b57587d
Add 1.10 blog post ( #3659 )
...
* Add 1.10 blog post
Copied from releases page
* Change a few things
* Add overview of changes
* Lint docs
* Scaffold out release notes
* Add prettier-ignores
* docs: add missing references
* docs: fix heading level
* docs: fix example
* Document plugin API
* Use shellsession
* docs: fix example
* docs: fix links
* Fix heading level
* change: ts upgrade -> numeric separator support
Instead of mentioning we updated the typescript version, we should emphasize on what value we added to users
* Fix repeated phrase
* add comment type annotation explanation
* Add note on no more wrapping () JSX elements
* Grammar
* Add more release notes
* Fill out remaining release notes
* Fix lint
* Add verb
* Fix heading level
* Update 2018-01-10-1.10.0.md
* Update 2018-01-10-1.10.0.md
* Add twitter buttons
* docs: add note for #3694
* Fix cake
2018-01-10 23:03:39 +11:00
Lucas Azzola
b1a7787e87
Fix vue self-closing tags ( #3693 )
2018-01-10 18:44:18 +11: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
Jed Fox
dc4e44968f
Follow redirects in the user URLs ( #3672 )
...
(except the ones redirecting to `/en/` or similar)
Also remove trailing slashes on domains
2018-01-08 10:32:33 -05: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
Ika
dbe0758b48
chore: shorten filename ( #3636 )
...
Context: https://github.com/prettier/prettier/pull/3627#issuecomment-354935942
2018-01-02 23:48:46 -05:00
Ika
a627ca7b5d
docs: minor tweaks ( #3627 )
...
* docs(blog): replace `:emoji:` with `${emoji}`
* docs(blog): move images to assets
* docs(index): move images to assets
* docs(index): fix typo
2018-01-03 00:04:22 +08: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
Lipis
6a75f66731
Add Google Analytics on Playground ( #3576 )
2017-12-29 09:59:49 -05: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
Lucas Azzola
4c9d4061da
Prettier Plugin API ( #3536 )
...
* Move files around in preparation for refactor
* Update paths in build script
* Extract generic printing logic from the JavaScript printer
* Conform printer API
* Fixup decorator handling
* Fix multiparser
* Create plugin entry for markdown
* Create plugin entry for javascript/typescript
* Create plugin entry for html
* Create plugin entry for graphql
* Create plugin entry for css/less/scss
* Move JSON to JS plugin entry
* Integrate plugins into getSupportInfo()
* Move astFormat to parser definition
* Move util to common
* Implement parser loading
* remark -> mdast
* Rename cli/cli -> cli/index
* Rename builder -> doc package, fix printer resolution
* Fix doc shape assumption in CSS-in-JS logic
* Fix third-party.js prod resolution
* Fixup build-docs script
* Distribute multiparser code
* Remove requirement to forward options
* Flatten closure
* Remove debug directory
* Expose doc
* Add external plugins
* Pass options to loadPlugins
* Export getParsers
* Pin resolve version
* Use getSupportInfo in Markdown embed
* Document plugin API
* Update build-docs
* Add CLI for plugins
* Lint docs
* Fixup build.js
* Add vue language
* Fixup multiparser for vue
* Upgrade rollup and rollup-plugin-commonjs
* Fixup third-party build
* Change AST format in docs
2017-12-26 12:23:50 +11:00
Christopher Chedeau
c40b061b80
[vue] Introduce proper support for Vue Single File Components (SFC) ( #3563 )
...
There's a lot of demand for vue sfc (#2097 ). This introduces partial support for them: all the html is printed as is, except for the script and style tags which are printed using prettier. I believe that this should cover a lot of the use cases while being simple to support and if we want we can extend to more in the future.
I copy pasted the html parser used by vue (it's just a single 400 lines file) so that we don't run the chancesof conflicts. I'm also very conservative: I only print the style and script at the top level and for the lang attributes we support.
I expect this to be landable as is and provide value, review welcome :)
2017-12-25 01:15:33 +01:00
Jed Fox
9cbaecbb1e
Link the version text to the PR or changelog entry
2017-12-24 12:05:54 -05:00
Jed Fox
eb30207fe5
Remove the `v` marker addition
...
It looks terrible on PRs.
2017-12-24 11:57:44 -05:00
Jed Fox
4497aa1efc
Make the playground header fit in with the rest of the site
...
Fixes https://github.com/prettier/prettier/issues/3542 .
2017-12-24 11:49:47 -05:00
Lipis
3dfa2c07b2
Add Google Analytics tracking ID ( #3506 )
2017-12-24 15:42:36 +01:00
Jerome Leclanche
591a9cb6d0
Add HearthSim to users.yml ( #3554 )
2017-12-22 12:56:38 +11:00