Skip to content

Commit

Permalink
Remove unnecessary prettier:validate script and prettier-check depend…
Browse files Browse the repository at this point in the history
…ency
  • Loading branch information
sirugh committed Oct 29, 2019
1 parent cc6a19c commit 36402e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"postbuild": "rimraf \"./packages/*/dist/{,**/}__*__\"",
"prepare": "node scripts/monorepo-introduction.js",
"prettier": "prettier --loglevel warn --write '@(packages|scripts)/**/*.@(css|graphql|js)' '*.js'",
"prettier:validate": "prettier-check '@(packages|scripts)/**/*.@(css|graphql|js)' '*.js'",
"prettier:check": "prettier --list-different '@(packages|scripts)/**/*.@(css|graphql|js)' '*.js'",
"stage:venia": "yarn venia run start",
"stats:venia": "yarn venia run build:analyze && yarn venia run stats",
Expand Down Expand Up @@ -72,7 +71,6 @@
"lerna": "~3.13.0",
"lodash.debounce": "~4.0.8",
"prettier": "~1.16.4",
"prettier-check": "~2.0.0",
"rimraf": "~2.6.3"
},
"optionalDependencies": {
Expand All @@ -89,10 +87,11 @@
},
"husky": {
"hooks": {
"pre-push": "yarn run prettier:validate && yarn run lint"
"pre-push": "yarn run prettier:check && yarn run lint"
}
},
"bundlesize": [{
"bundlesize": [
{
"path": "./packages/venia-concept/dist/{client,vendors,sw}?(.)*.js",
"maxSize": "250 kB"
},
Expand Down
20 changes: 0 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7132,19 +7132,6 @@ exec-sh@^0.3.2:
resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.2.tgz#6738de2eb7c8e671d0366aea0b0db8c6f7d7391b"
integrity sha512-9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg==

execa@^0.6.0:
version "0.6.3"
resolved "https://registry.yarnpkg.com/execa/-/execa-0.6.3.tgz#57b69a594f081759c69e5370f0d17b9cb11658fe"
integrity sha1-V7aaWU8IF1nGnlNw8NF7nLEWWP4=
dependencies:
cross-spawn "^5.0.1"
get-stream "^3.0.0"
is-stream "^1.1.0"
npm-run-path "^2.0.0"
p-finally "^1.0.0"
signal-exit "^3.0.0"
strip-eof "^1.0.0"

execa@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777"
Expand Down Expand Up @@ -12794,13 +12781,6 @@ prepend-http@^1.0.1:
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=

prettier-check@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/prettier-check/-/prettier-check-2.0.0.tgz#edd086ee12d270579233ccb136a16e6afcfba1ae"
integrity sha512-HZG53XQTJ9Cyi5hi1VFVVFxdlhITJybpZAch3ib9KqI05VUxV+F5Hip0GhSWRItrlDzVyqjSoDQ9KqIn7AHYyw==
dependencies:
execa "^0.6.0"

prettier@~1.16.4:
version "1.16.4"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717"
Expand Down

0 comments on commit 36402e6

Please sign in to comment.