From c263db669ab21bf9e972974146f152b98f3c8b55 Mon Sep 17 00:00:00 2001 From: Rogelio Guzman Date: Thu, 5 Jul 2018 22:53:00 -0700 Subject: [PATCH 1/2] Upgrade prettier --- package.json | 16 +++++++++++----- yarn.lock | 6 +++--- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index a158e4e..84039dd 100644 --- a/package.json +++ b/package.json @@ -10,15 +10,18 @@ "url": "https://github.com/jest-community/jest-watch-typeahead.git" }, "homepage": "https://github.com/jest-community/jest-watch-typeahead", - "files": ["build/", "filename.js", "testname.js"], + "files": [ + "build/", + "filename.js", + "testname.js" + ], "scripts": { "test": "jest", "lint": "eslint .", "watch": "babel src -w --ignore **/*.test.js,integration -d build", "build": "babel src --ignore **/*.test.js,integration -d build", "prepublish": "yarn build", - "format": - "prettier --single-quote --trailing-comma all --write \"!(build)/**/*.js\"" + "format": "prettier --single-quote --trailing-comma all --write \"!(build)/**/*.js\"" }, "dependencies": { "chalk": "^2.4.1", @@ -41,10 +44,13 @@ "eslint-plugin-prettier": "2.6.0", "flow-bin": "^0.66.0", "jest": "23.2.0", - "prettier": "1.11.1" + "prettier": "1.13.7" }, "jest": { - "watchPlugins": ["/filename", "/testname"], + "watchPlugins": [ + "/filename", + "/testname" + ], "snapshotSerializers": [ "/node_modules/pretty-format/build/plugins/convert_ansi" ], diff --git a/yarn.lock b/yarn.lock index 467d1b8..8ec8560 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3346,9 +3346,9 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" -prettier@1.11.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.11.1.tgz#61e43fc4cd44e68f2b0dfc2c38cd4bb0fccdcc75" +prettier@1.13.7: + version "1.13.7" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281" pretty-format@^23.2.0: version "23.2.0" From ecba692c3c61075b60009adba26a51d5625ae351 Mon Sep 17 00:00:00 2001 From: Rogelio Guzman Date: Thu, 5 Jul 2018 23:02:00 -0700 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b633415..537d714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### Chore & Maintenance +* Upgrade Prettier to 1.13.7 ([#17](https://github.com/jest-community/jest-watch-typeahead/pull/17)) * New directory structure ([#14](https://github.com/jest-community/jest-watch-typeahead/pull/14)) * Move ansi-escapes to dependencies _23f22d4_ * Setup Travis and add tests ([#12](https://github.com/jest-community/jest-watch-typeahead/pull/12))