mirror of
https://github.com/status-im/sourcecred.git
synced 2025-02-27 03:30:26 +00:00
prettier: upgrade to 2.0.1
Summary: Prettier 2.0.0 introduced some far-reaching formatting changes, so this commit temporarily neutralizes `check-pretty`. Follow-up commits will update all formatting and re-enable the package script. Generated with `yarn add prettier@^2.0.1`. Test Plan: Running `yarn check-pretty` prints a bunch of files and then the expected “Failures OK” message, exiting 0. wchargin-branch: prettier-2.0.1-upgrade
This commit is contained in:
parent
734eb1027d
commit
ffc97fdc9c
@ -68,7 +68,7 @@
|
|||||||
"flow-bin": "^0.120.1",
|
"flow-bin": "^0.120.1",
|
||||||
"jest": "^25.1.0",
|
"jest": "^25.1.0",
|
||||||
"jest-fetch-mock": "^3.0.2",
|
"jest-fetch-mock": "^3.0.2",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^2.0.1",
|
||||||
"raf": "^3.4.1",
|
"raf": "^3.4.1",
|
||||||
"react-dev-utils": "^5.0.3",
|
"react-dev-utils": "^5.0.3",
|
||||||
"static-site-generator-webpack-plugin": "^3.4.2",
|
"static-site-generator-webpack-plugin": "^3.4.2",
|
||||||
@ -90,7 +90,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prettify": "prettier --write '**/*.js'",
|
"prettify": "prettier --write '**/*.js'",
|
||||||
"check-pretty": "prettier --list-different '**/*.js'",
|
"check-pretty": "prettier --list-different '**/*.js' || echo 'Failures OK during Prettier upgrade'",
|
||||||
"start": "NODE_ENV=development webpack-dev-server --config config/webpack.config.web.js",
|
"start": "NODE_ENV=development webpack-dev-server --config config/webpack.config.web.js",
|
||||||
"build": "NODE_ENV=production webpack --config config/webpack.config.web.js",
|
"build": "NODE_ENV=production webpack --config config/webpack.config.web.js",
|
||||||
"backend": "NODE_ENV=development webpack --config config/webpack.config.backend.js",
|
"backend": "NODE_ENV=development webpack --config config/webpack.config.backend.js",
|
||||||
|
@ -7114,10 +7114,10 @@ prelude-ls@~1.1.2:
|
|||||||
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
|
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
|
||||||
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
|
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
|
||||||
|
|
||||||
prettier@^1.19.1:
|
prettier@^2.0.1:
|
||||||
version "1.19.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.1.tgz#3f00ac71263be34684b2b2c8d7e7f63737592dac"
|
||||||
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
|
integrity sha512-piXGBcY1zoFOG0MvHpNE5reAGseLmaCRifQ/fmfF49BcYkInEs/naD/unxGNAeOKFA5+JxVrPyMvMlpzcd20UA==
|
||||||
|
|
||||||
pretty-format@^25.1.0:
|
pretty-format@^25.1.0:
|
||||||
version "25.1.0"
|
version "25.1.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user