Commit Graph

14 Commits (188c466cd5190c282a0b006a103711bf850eaaf8)

Author SHA1 Message Date
Lucas Azzola 067b49fbd7 Re-enable automatic deployment 2017-07-04 09:22:42 +10:00
Lucas Azzola c3346b0363 Disable automatic website deployment [ci skip] 2017-07-02 11:13:58 +10:00
Lucas Azzola 770ea21c29 Only deploy from node stable 2017-07-02 10:56:34 +10:00
Frank Li 80f38ce75b Website (#2241)
* initial docusaurus set-up

* Delete why-prettier.md

* Update README.md

* Update Docusaurus structure

* Update package.json

* Update siteConfig.js

* Remove ~ files

* chore(website): update build script

* Add redirect script

* Get eslint working on website

* Fix to allow for baseUrl of '/'

* Update docusaurus version

* Update README.md

* Change redirect script to use baseUrl of '/'

* Fix index.js formatting

* Load redirect script

* General cleanup

* Add projects using prettier
* Update service worker to just scope to playground
* Reduce link repeatition
* Link "Try it out" button to /playground/
* Make header of playground approximately same as main site
* Remove .html from URLs (e.g. users.html -> users/)
* Link Gitter Chat

* Add circleci.yml

* Only run builds on master

* Do deployment using Travis
2017-07-02 10:14:24 +10:00
Christopher Chedeau 767138ce6c Remove node 6 from the test matrix
It has never caught any issue in practice and is making the whole test suite consume 1/3 more cpu as a result.
2017-06-21 13:39:45 -07:00
Joseph Frazier 532ac0d3f8 Build/test dist/ on Travis (#2176)
This helps us keep track of whether or not the dist/ build actually
works (see https://github.com/prettier/prettier/pull/2174). Note that
the dist/ jobs are allowed to fail, and do not affect overall build
time, so they shouldn't slow anything down (see
https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/).
2017-06-17 13:37:51 -10:00
Joseph Frazier fa8408b53f Upgrade typescript parser, fix and run AST tests on Travis (#1657)
* Run `yarn` to update yarn.lock

* Upgrade typescript-eslint-parser, use JSXText instead of Literal for strings inside JSXElement

https://github.com/eslint/typescript-eslint-parser/pull/272 was merged,
so this fixes https://github.com/prettier/prettier/issues/1558

See here for more info about the new TSQualifiedName node type:
3491b4b73a

* Run AST comparison tests on Travis
2017-05-21 14:16:24 -07:00
Simon Lydell 378682350f Improve ESLint setup and fix errors (#1656)
* Improve ESLint setup

- Uses `eslint:recommended` + a handful more rules.
- Uses .eslintignore so that editors can understand which files to lint.
- Uses .eslintrc<strong>.js</strong> so more editors get syntax highlighting.

* Fix ESLint errors

About half of them were fixed by `eslint . --fix`.
2017-05-21 12:11:09 -07:00
Joseph Frazier d7aaaee0dd Add `lint` script, run it on Travis, prettify source code (#1634)
* Add `lint` script with eslint-plugin-prettier, use it in `format:all`

See https://github.com/prettier/prettier/pull/1634#issuecomment-302945967

* Run `lint` script on Travis

* Run Prettier on its own source code

This was done with

    npm run format:all
2017-05-21 11:00:16 -07:00
Walter Breakell a9c84e536a Enable yarn caching in .travis.yml (#1016) 2017-03-15 20:23:03 -07:00
Nathan Friedly 79d537a3b0 test on current release of node.js (#595) 2017-02-07 12:46:39 -05:00
Christopher Chedeau 6146e064b2 Add --run-in-band to travis (#306)
Hopefully it'll fix spurious errors.
2017-01-18 16:22:04 -05:00
Mateusz Zatorski 884bae1761 remove node 0.10 from travis config, add travis badge to readme 2017-01-11 16:48:45 +00:00
Mateusz Zatorski ccf6f846f0 add travis config and add yarn support 2017-01-11 15:52:51 +00:00