From 5c89fbc34a38d1a1a2d8378413dda66c9f27cb1b Mon Sep 17 00:00:00 2001 From: JounQin Date: Fri, 19 Jun 2020 17:45:25 +0800 Subject: [PATCH] chore: support prettier v2 --- package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e88e34e..5b739cd 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,6 @@ "vue-template-es2015-compiler": "^1.9.0" }, "optionalDependencies": { - "prettier": "^1.18.2" + "prettier": "^1.18.2 || ^2.0.0" } } diff --git a/yarn.lock b/yarn.lock index 1bb87da..cb38279 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4101,7 +4101,7 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier@^1.18.2: +"prettier@^1.18.2 || ^2.0.0": version "1.19.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==