Commit Graph

73 Commits (master)

Author SHA1 Message Date
Sosuke Suzuki 8e8411b7c7 Fix lint error (#6465) 2019-09-11 13:10:44 +03:00
Lipis 9f5bd298db
website: Update dependencies on website (#6455)
* website: Update dependencies on website

* Update website/pages/en/index.js

Co-Authored-By: Simon Lydell <simon.lydell@gmail.com>
2019-09-07 19:38:14 +03:00
Lucas Duailibe 4cc99242a8 Bump Prettier dependency to 1.18.0 2019-06-06 18:48:11 -03:00
Lucas Duailibe 138eac4102 Update Tidelift message 2019-05-13 16:33:30 -03:00
Lucas Duailibe 65daff16cf Add Tidelift banner 2019-05-13 16:25:05 -03:00
Jed Fox aec3978a13
Update the language display on the homepage (#5901)
* Update the language display on the homepage

* Remove trailing slash from URLs

* HTTP → HTTPS

* Remove Python
2019-02-26 11:31:16 -05:00
Lipis fa24bacec4
Update dependent repos and integrations (#5904)
**[Try the playground for this PR](https://prettier.io/playground-redirect)**
2019-02-24 13:10:44 +01:00
Ika 7faa2608c1 Bump Prettier dependency to 1.16.1 2019-01-22 21:54:32 +08:00
Ika 32f7e03906 Bump Prettier dependency to 1.16.0 2019-01-20 16:01:28 +08:00
Ika f744a84858
feat(website): enable docs versioning (#5676) 2018-12-25 08:20:35 +08:00
Jed Fox 2136fdc858 Add a preview playground redirect page (#5321)
* Add a preview playground redirect page

* Finish the code

* Third time’s the charm

* Use location.replace instead

* Add playground redirect link to PR template

* Formatted with latest Prettier :)

https://deploy-preview-5259--prettier.netlify.com/playground/#N4Igxg9gdgLgprEAuEAeAhAEQPIGEAqAmgAoCiABABYwC2ANgHwA6Uq19zrlcAhgCady5VDTgwe5MJR4AnAM5iAvExABXGADMAtAA4Vg4TACWMOnAYAlOHyMy4YY1ADmgMgJUAemOnzLD936cqABGEHwAngZsAIyW1rb2jq5+MSxCqAAOsTZ2DkbO5GEQquQwECXc5Dzp6TIQNUY88OTpdDxhTrWqUHwAdOQAkhrlcOR22QnkfBBwclCAmAQw5ADuEDIA1gA0whKUdhrKIABWPABuPHJgMkbpMEiURnKlMmE9QTxgawAUAJT6TmVvD4lMowCrECweHgMSrdSR0IxA0EjKo1OpXRojeFQNY9DyZVLCC5XG4GISQKCPcg0RpSciKcjuAB61Bg6TkSCYTHcnPcThMlFUQU5PUgNB5NTExjgMnFdhgUplXPSqjodB5n05fAA1N93D04AAPeyfKZgVSiWA9PbSuwyX5QIRCIxDT7UmC09D0qAqujfcjAAmOyTQSkAbXcACpyKoZHRyBH3FsagBdOlUmmUQOOugQMCNIzQK1wFrvOCfAAGLLZSHc7j4xZzYS0EpORjgSy0ABJgDUAL5aZtyhU9KBieEaF6i9wl9qdbrl+1B3vkOB0BT+rNkkOLVdp03mhAwEV2DGkMwWmCfADk6Svi6DK7oPXgBpguGg8FgafL+Aq1pktrkAAqhYAAy5CfN2+4XkWGg2tKvZ+ks5zkFAECLDkEBOFARgAF7WH0ADKqzPOQSAVpuky5gelohOEPQoggfC4PcdB8J8q73kIvYEh4RLXDAgTuHRES+O47CMCAGwgHUxghsgoCyLUSzELICByMgICnBARh8FJIBBDI7xrGIhHpO8eROMgMAyKocDSRJADq9zwHI5lgHAhHqSYRitjAYSaWAcgadJeQKDIMDEEZTjUsgGg8Gu9lHHIBoAEJGR8pk8KIoF5HAcUJQo0nmfI0qaRJ+n1LAjm6aCyA6AADMVtQKI5RnpJpErhSc+XSXYACOqjxFFPAxTwBWJdJCg0EY1m2UlciWWYACKqjoflSDxZNIDiEENV8HVSAAEzSTZPBGFiTjvjQsUoGho76aoCj4DwQQaZthVwL2vZAA

* Add a GIF
2018-11-05 00:11:08 +02:00
Gilles Debunne 559831d08e Update husky integration code for husky v1.0.0 (#5266)
Latest husky (version 1.0.0) moved its hooks config from the `scripts` field to a new `husky` field in `package.json` ([ChangeLog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)).

The `scripts` syntax described here, although shorter, will be deprecated soon. This change replaces it with the new husky syntax.

The new syntax is already used in [precommit.md](https://github.com/prettier/prettier/blob/master/docs/precommit.md).
2018-10-21 23:28:19 +08:00
Jed Fox b61fec6091
Fix <Language showName /> prop type (#5265)
There isn‘t a `boolean` prop type, so this was throwing an error when Netlify built the site.
2018-10-14 08:03:35 -04:00
Lipis 2e8366a84e
Update tools and dependent project numbers (#5033) 2018-08-31 10:52:37 +03:00
Ika 514fcb835a chore: bump Prettier dependency to 1.14.0 2018-07-29 15:44:21 +08:00
Yangshun Tay 94d928b9eb Upgrade Docusaurus to 1.3.1 (#4738) 2018-07-01 10:59:20 -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
Kostas Bariotis 9d5a7c7c66 Edit metrics as seen at NPM/GitHub network (#4379) 2018-04-26 10:54:45 +08:00
Lucas Duailibe eea6f068b4 refactors 2018-04-12 18:09:37 -03:00
Lucas Duailibe 1c8dd0c1e7 more stuff 2018-04-12 13:28:28 -03:00
Lucas Duailibe 47430d0c19 some huge changes 2018-04-11 18:22:03 -03:00
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
Lipis f23ce27856 More than 800/100k (#4204) 2018-03-26 07:12:07 -04: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 a8110923ea
Add Google Site Verification file (#4015) 2018-02-21 15:18:54 +02:00
Lipis f0ce1556b5 More than 70k 2018-02-19 12:22:38 +01: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 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
Lucas Azzola b1a7787e87
Fix vue self-closing tags (#3693) 2018-01-10 18:44:18 +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
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
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
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
Lucas Duailibe 225bfa7d97 playground wip 2017-12-26 00:22:17 -03: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
Lucas Azzola d1c97b3622
Convert eslint config and users/languages/editors files to YAML (#3516)
* YAML all the things

* Cleanup website data files

* Update edit links
2017-12-18 21:55:10 +11:00
Lipis 20373d6fee Prettify style in playground and code block languages (#3419) 2017-12-05 19:48:11 -07:00
Lipis 23b8224240 Change cursor and remove outline in summaries on playground (#3415) 2017-12-05 21:21:02 -02:00
Lucas Duailibe 40af2e0514 Show a right border on sidebar 2017-12-05 18:29:49 -02: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
Ika ed0f91f7be feat(playground): add options (#3222)
* chore(playground): add options

* chore(playground): re-reorder options
2017-11-09 22:30:38 +11:00