Commit Graph
3353 Commits
Author SHA1 Message Date
Simon Lydell 992e410aa7 Update stable docs 2019-11-16 12:29:06 +01:00
fisker Cheung b2c3baf008 Fix a code example in docs (#6890) 2019-11-16 12:27:31 +01:00
dependabot-preview[bot] 59e1ef5074 Bump react-dom from 16.11.0 to 16.12.0 in /website (#6958)
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.11.0 to 16.12.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.12.0/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-11-16 12:03:35 +01:00
Evilebot Tnawi a9217a76e5 fix: tests for empty type parameters in TS (#6960) 2019-11-15 12:10:13 +02:00
Gustav Tiger e76ce2725b Fix MDX html parsing errors (#6949)
* Fix MDX html parsing errors

For MDX wrap JSX parsing in a fragment before sending it of to babel for
parsing and formatting. In MDX adjacent JSX tags are permitted in the
root.

An option sent to the babel parser omits printing the root fragment and
instead just prints its children.

Solves #6943

* an attempt to address JounQin's comments

* use <$>...</$> instead of <>...</>

* refactoring
2019-11-15 12:01:58 +02:00
Evilebot Tnawi 61a2482c48 fix: issue #6813 (Zero-based lists are broken) (#6852) 2019-11-14 20:59:20 +03:00
fisker Cheung ab88423a4a Disable trailingComma for Angular internal parser (#6912) 2019-11-14 17:06:45 +01:00
ark120202 4ed5253509 Don't lowercase element names in CSS selectors (#6947)
Fixes #5788.
2019-11-13 18:13:55 +01:00
Simon Lydell 44b819144b Support string-to-package config in JSON schema: (#6941)
Prettier supports having just a string in the config file to use a
shared config from a package. Example:

    "@company/prettier-config"

But the JSON schema generated by running `node
scripts/generate-schema.js` did not include that possibility.

See https://github.com/SchemaStore/schemastore/pull/855 for more
information.
2019-11-13 17:45:59 +01:00
Lucas Duailibe b00e241b13 Rename SECURITY.md to .github/SECURITY.md 2019-11-13 11:54:11 -03:00
Lucas Duailibe 7f661636a0 Create SECURITY.md 2019-11-13 11:53:46 -03:00
Kevin Deisz a3078a4a61 Add the XML plugin to the docs (#6944) 2019-11-13 09:51:11 +01:00
Sosuke Suzuki 9b37dca0e9 TypeScript: Fix formatting of type operators as arrow function… (#6901) 2019-11-12 19:13:03 +01:00
fisker Cheung 11d032365e SCSS: don't add extra comma after last comment in map (#6918) 2019-11-12 19:09:46 +01:00
Nick McCurdyandJed Fox 37846a70b1 Remove typescript-etw from build (#6919)
Co-authored-by: Jed Fox <git@twopointzero.us>
2019-11-12 17:46:28 +01:00
dependabot-preview[bot] 1a419c0ddf Bump jest-watch-typeahead from 0.4.0 to 0.4.2 (#6923)
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 0.4.0 to 0.4.2.
- [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases)
- [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v0.4.0...v0.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 17:49:09 +01:00
dependabot-preview[bot] c0a4645295 Bump unified from 8.4.1 to 8.4.2 (#6927)
Bumps [unified](https://github.com/unifiedjs/unified) from 8.4.1 to 8.4.2.
- [Release notes](https://github.com/unifiedjs/unified/releases)
- [Changelog](https://github.com/unifiedjs/unified/blob/master/changelog.md)
- [Commits](https://github.com/unifiedjs/unified/compare/8.4.1...8.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 17:48:44 +01:00
Georgii Dolzhykov f99e3d9293 refactoring: Babel's error recovery superseded option combinations (#6930) 2019-11-11 17:38:29 +01:00
fisker Cheung 4e49ff91a2 Update fsevents in yarn.lock (#6909) 2019-11-11 13:30:43 +03:00
Jed Fox 5eb4566c30 Run CI on the next branch 2019-11-10 13:54:11 -05:00
fisker Cheung 1d1a90144f Fix bin permissions (#6902) 2019-11-09 17:42:52 +01:00
Simon Lydell b56f95c975 Add missing headings to changelog 2019-11-09 13:38:29 +01:00
Simon Lydell 15acf45c9e Fix code block in changelog 2019-11-09 13:29:18 +01:00
Simon Lydell c060b2544d Bump Prettier dependency to 1.19.1 2019-11-09 13:23:22 +01:00
Simon Lydell 95b8e54d1a Release 1.19.1 2019-11-09 13:20:32 +01:00
Simon Lydell 9b1726d3cd Quick-fix for stdin being broken in 1.19.0 (#6894)
Closes #6891.

This downgrades the get-stream package from 5.x to 4.x, which does not
use `async` functions which works around the problem of
`regeneratorRuntime` not being defined (it shouldn’t be needed).

This is an alternative solution to #6893 because I don’t know yet if we
want to enable `corejs` given that we will most likely drop support for
Node.js 8 and older in the next version.

Just like #6893 this PR comes without tests, but I verified locally that
`--stdin` works after this change.
2019-11-09 12:48:56 +01:00
Simon Lydell 6cba8ceb9e Fix since version for vueIndentScriptAndStyle (#6897)
See #6887.
2019-11-09 12:48:24 +01:00
Simon Lydell b091fd3b59 Remove out-of-date comment 2019-11-09 12:12:31 +01:00
Georgii Dolzhykov 58c6b42aa8 fix formatting of union type as arrow function return type (#6896) 2019-11-09 11:47:54 +01:00
Simon Lydell 8c3efeb9df Try to fix some code blocks in 1.19.0 blog post 2019-11-09 01:44:53 +01:00
Simon Lydell 4eb3e2650a Blog post, changelog and docs for 1.19 (#6787) 2019-11-09 01:23:57 +01:00
Simon Lydell 98d27c7de2 Bump Prettier dependency to 1.19.0 2019-11-09 01:14:31 +01:00
Simon Lydell e788e8d3d5 Release 1.19.0 2019-11-09 01:09:19 +01:00
Simon Lydell 057e15d50d prettier 1.19.0-beta.1 2019-11-09 01:03:57 +01:00
Georgii Dolzhykov 3fb111a48c deduplicate entries in yarn.lock - part 2 (#6884) 2019-11-09 00:12:32 +01:00
Georgii Dolzhykov 10c5c377f5 deduplicate entries in yarn.lock (#6882)
* deduplicate entries in yarn.lock

* revert changes for @babel/code-frame
2019-11-08 23:43:34 +01:00
Georgii Dolzhykov 361fd2dbfa fix printing bigint literals parsed by Flow (#6883) 2019-11-08 23:06:54 +01:00
Georgii Dolzhykov ea70396a05 Fix lost adjacent JSX when using Babel (#6881)
Bump @babel/parser to 7.7.3. Otherwise Prettier formats "<a/><b/>" to "<a/ >;".
2019-11-08 22:31:31 +01:00
Justin Ridgewell 7959b12101 Don't require parens for same-operator logical expressions (#6864)
Multiple same-operator logical expressions do not require parentheses to disambiguate.
2019-11-08 21:25:38 +01:00
fisker Cheung 3618361e56 Update codecov to v3.6.1 (#6876) 2019-11-08 19:38:55 +01:00
fisker Cheung e1d30d6337 Update @babel/core to v7.7.2 (#6877) 2019-11-08 19:37:56 +01:00
fisker Cheung d865eb5eb9 Update flow-parser to v0.111.3 (#6878) 2019-11-08 19:37:41 +01:00
fisker Cheung ec659471b1 Update @rollup/plugin-replace to v2.2.1 (#6879) 2019-11-08 19:36:27 +01:00
fisker Cheung 460ea2f459 Format style[lang="css"] (#6875) 2019-11-08 19:33:59 +01:00
dependabot-preview[bot] 597dae808b Bump @babel/preset-env from 7.6.3 to 7.7.1 in /website (#6826)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.3 to 7.7.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.3...v7.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-11-08 17:44:23 +01:00
fisker Cheung d05be09406 Fix unpkg links in docs (#6872) 2019-11-08 17:33:28 +01:00
fisker CheungandGeorgii Dolzhykov 85912a738d Update postcss-less to v2 (#6778)
* Update `postcss-less` to v2

* fix less `custom-selectors`

* fix less `custom-selectors` 2

* fix custom-selector `:` position

* remove less hack

* fix custom selector

* cleanup

* add changlog

* add link

* restore changlog

* restore snap

* restore snap

* update postcss-custom-selectors detect

* remove startsWith

* trigger build

* update `custom-selector`

* add test and changelog

* style

* md

* issue-4090-test

* docs

* Update CHANGELOG.unreleased.md

Co-Authored-By: Georgii Dolzhykov <thorn.mailbox@gmail.com>

* fix pr issue

* fix

* fix merge issue

* insert new line

* snap update

* only support custom-selector in css

* scss already parse it as custom-selector

* remove `custom-selector` test in scss

* link
2019-11-08 18:34:14 +03:00
fisker Cheung 91c5235a3f Show invalid config filename in error message (#6865) 2019-11-08 15:51:51 +03:00
fisker Cheung 304acbea01 Change external links to https (#6874) 2019-11-08 14:49:32 +03:00
dependabot-preview[bot] b06b42ddbb Bump @babel/parser from 7.7.0 to 7.7.2 (#6862)
Bumps [@babel/parser](https://github.com/babel/babel) from 7.7.0 to 7.7.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.0...v7.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08 14:18:59 +03:00