Skip to content

Commit

Permalink
Bump Prettier dependency to 1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
duailibe committed Jun 6, 2019
1 parent 3ac90b3 commit 4cc9924
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 23 deletions.
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "prettier",
"version": "1.18.0",
"version": "1.19.0-dev",
"description": "Prettier is an opinionated code formatter",
"bin": {
"prettier": "./bin/prettier.js"
Expand Down Expand Up @@ -96,7 +96,7 @@
"jest-snapshot-serializer-raw": "1.1.0",
"jest-watch-typeahead": "0.1.0",
"mkdirp": "0.5.1",
"prettier": "1.17.1",
"prettier": "1.18.0",
"prettylint": "1.0.0",
"rimraf": "2.6.2",
"rollup": "0.47.6",
Expand Down
4 changes: 1 addition & 3 deletions scripts/release/steps/update-changelog.js
Expand Up @@ -59,9 +59,7 @@ module.exports = async function({ version, previousVersion }) {
}
console.warn(
dedent(chalk`
{yellow warning} The file {bold ${
blogPost.file
}} doesn't exist, but it will be referenced in {bold CHANGELOG.md}. Make sure to create it later.
{yellow warning} The file {bold ${blogPost.file}} doesn't exist, but it will be referenced in {bold CHANGELOG.md}. Make sure to create it later.
Press ENTER to continue.
`)
Expand Down
4 changes: 1 addition & 3 deletions scripts/run-external-tests.js
Expand Up @@ -45,9 +45,7 @@ function runExternalTests(patterns) {
}

process.stderr.write(
`\r${results.good.length} good, ${results.skipped.length} skipped, ${
results.bad.length
} bad`
`\r${results.good.length} good, ${results.skipped.length} skipped, ${results.bad.length} bad`
);
});

Expand Down
4 changes: 1 addition & 3 deletions src/language-handlebars/printer-glimmer.js
Expand Up @@ -296,9 +296,7 @@ function printStringLiteral(stringLiteral, options) {
`\\${enclosingQuote.quote}`
);

return `${enclosingQuote.quote}${escapedStringLiteral}${
enclosingQuote.quote
}`;
return `${enclosingQuote.quote}${escapedStringLiteral}${enclosingQuote.quote}`;
}

function printPath(path, print) {
Expand Down
4 changes: 1 addition & 3 deletions src/main/parser.js
Expand Up @@ -46,9 +46,7 @@ function resolveParser(opts, parsers) {
/* istanbul ignore next */
if (process.env.PRETTIER_TARGET === "universal") {
throw new ConfigError(
`Couldn't resolve parser "${
opts.parser
}". Parsers must be explicitly added to the standalone bundle.`
`Couldn't resolve parser "${opts.parser}". Parsers must be explicitly added to the standalone bundle.`
);
} else {
try {
Expand Down
4 changes: 1 addition & 3 deletions website/pages/en/users/index.js
Expand Up @@ -40,9 +40,7 @@ class Users extends React.Component {
<p>Are you using this project?</p>
</div>
<a
href={`${
siteConfig.githubUrl
}/edit/master/website/data/users.yml`}
href={`${siteConfig.githubUrl}/edit/master/website/data/users.yml`}
className="button"
>
Add your company
Expand Down
4 changes: 1 addition & 3 deletions website/pages/en/versions.js
Expand Up @@ -80,9 +80,7 @@ function Versions(props) {
</td>
<td>
<a
href={`${
siteConfig.baseUrl
}docs/en/${pastDocsVersion}/index.html`}
href={`${siteConfig.baseUrl}docs/en/${pastDocsVersion}/index.html`}
>
{pastDocsVersion}
</a>
Expand Down
7 changes: 4 additions & 3 deletions yarn.lock
Expand Up @@ -4649,9 +4649,10 @@ preserve@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"

prettier@1.17.1:
version "1.17.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.17.1.tgz#ed64b4e93e370cb8a25b9ef7fef3e4fd1c0995db"
prettier@1.18.0:
version "1.18.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.0.tgz#d1701ca9b2941864b52f3262b35946d2c9cd88f0"
integrity sha512-YsdAD29M0+WY2xXZk3i0PA16olY9qZss+AuODxglXcJ+2ZBwFv+6k5tE8GS8/HKAthaajlS/WqhdgcjumOrPlg==

pretty-format@^23.0.1, pretty-format@^23.2.0:
version "23.2.0"
Expand Down

0 comments on commit 4cc9924

Please sign in to comment.