Skip to content

Commit a9d92c6

Browse files
authored
Upgrade husky (datahub-project#1444)
MP=wherehows-frontend TO_COMMIT=d11472bc178ff2d316e598a3b18753fc72a9889f FROM_COMMIT=9eae6d8bced135f4ffd59e950ecfb412aaf67030
1 parent b19015f commit a9d92c6

File tree

2 files changed

+93
-27
lines changed

2 files changed

+93
-27
lines changed

wherehows-web/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"build": "ember build",
1515
"start": "ember serve",
1616
"test": "./node_modules/.bin/ember test --launch Chrome",
17-
"precommit": "lint-staged",
1817
"coverage": "COVERAGE=true npm run test && ./node_modules/.bin/codecov -f coverage/coverage-final.json",
1918
"eslint-check-prettier-conflict": "./node_modules/.bin/eslint --print-config .eslintrc.js | ./node_modules/.bin/eslint-config-prettier-check"
2019
},
@@ -91,7 +90,7 @@
9190
"eyeglass": "^1.3.0",
9291
"eyeglass-restyle": "^1.1.0",
9392
"highcharts": "^6.1.1",
94-
"husky": "^0.14.3",
93+
"husky": "^1.1.2",
9594
"ivy-tabs": "^3.1.0",
9695
"lint-staged": "^7.1.0",
9796
"loader.js": "^4.2.3",
@@ -141,5 +140,10 @@
141140
"paths": [
142141
"lib/ember-nearley"
143142
]
143+
},
144+
"husky": {
145+
"hooks": {
146+
"pre-commit": "lint-staged"
147+
}
144148
}
145149
}

wherehows-web/yarn.lock

Lines changed: 87 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,11 +2302,16 @@ chownr@^1.0.1:
23022302
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181"
23032303
integrity sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=
23042304

2305-
ci-info@^1.0.0, ci-info@^1.1.2:
2305+
ci-info@^1.1.2:
23062306
version "1.1.3"
23072307
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.3.tgz#710193264bb05c77b8c90d02f5aaf22216a667b2"
23082308
integrity sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==
23092309

2310+
ci-info@^1.5.0:
2311+
version "1.6.0"
2312+
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497"
2313+
integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==
2314+
23102315
circular-json@^0.3.1:
23112316
version "0.3.3"
23122317
resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66"
@@ -2726,7 +2731,7 @@ [email protected], core-util-is@~1.0.0:
27262731
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
27272732
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
27282733

2729-
cosmiconfig@^5.0.2:
2734+
cosmiconfig@^5.0.2, cosmiconfig@^5.0.6:
27302735
version "5.0.6"
27312736
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.0.6.tgz#dca6cf680a0bd03589aff684700858c81abeeb39"
27322737
integrity sha512-6DWfizHriCrFWURP1/qyhsiFvYdlJzbCzmtFWh744+KyWsJo5+kPzUZZaMRSSItoYc0pxFX7gEO7ZC1/gN/7AQ==
@@ -5052,6 +5057,13 @@ find-up@^2.0.0, find-up@^2.1.0:
50525057
dependencies:
50535058
locate-path "^2.0.0"
50545059

5060+
find-up@^3.0.0:
5061+
version "3.0.0"
5062+
resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73"
5063+
integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==
5064+
dependencies:
5065+
locate-path "^3.0.0"
5066+
50555067
find-yarn-workspace-root@^1.0.0, find-yarn-workspace-root@^1.1.0:
50565068
version "1.2.0"
50575069
resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-1.2.0.tgz#c7468a8b42bf290b5d036cd3b0d5bf97b09ffc7e"
@@ -5752,14 +5764,21 @@ http-signature@~1.2.0:
57525764
jsprim "^1.2.2"
57535765
sshpk "^1.7.0"
57545766

5755-
husky@^0.14.3:
5756-
version "0.14.3"
5757-
resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3"
5758-
integrity sha512-e21wivqHpstpoiWA/Yi8eFti8E+sQDSS53cpJsPptPs295QTOQR0ZwnHo2TXy1XOpZFD9rPOd3NpmqTK6uMLJA==
5767+
husky@^1.1.2:
5768+
version "1.1.2"
5769+
resolved "https://registry.yarnpkg.com/husky/-/husky-1.1.2.tgz#574c2bb16958db8a8120b63306efaff110525c23"
5770+
integrity sha512-9TdkUpBeEOjz0AnFdUN4i3w8kEbOsVs9/WSeJqWLq2OO6bcKQhVW64Zi+pVd/AMRLpN3QTINb6ZXiELczvdmqQ==
57595771
dependencies:
5760-
is-ci "^1.0.10"
5761-
normalize-path "^1.0.0"
5762-
strip-indent "^2.0.0"
5772+
cosmiconfig "^5.0.6"
5773+
execa "^0.9.0"
5774+
find-up "^3.0.0"
5775+
get-stdin "^6.0.0"
5776+
is-ci "^1.2.1"
5777+
pkg-dir "^3.0.0"
5778+
please-upgrade-node "^3.1.1"
5779+
read-pkg "^4.0.1"
5780+
run-node "^1.0.0"
5781+
slash "^2.0.0"
57635782

57645783
57655784
version "0.4.19"
@@ -5988,12 +6007,12 @@ is-builtin-module@^1.0.0:
59886007
dependencies:
59896008
builtin-modules "^1.0.0"
59906009

5991-
is-ci@^1.0.10:
5992-
version "1.1.0"
5993-
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5"
5994-
integrity sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==
6010+
is-ci@^1.2.1:
6011+
version "1.2.1"
6012+
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c"
6013+
integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==
59956014
dependencies:
5996-
ci-info "^1.0.0"
6015+
ci-info "^1.5.0"
59976016

59986017
is-data-descriptor@^0.1.4:
59996018
version "0.1.4"
@@ -6814,6 +6833,14 @@ locate-path@^2.0.0:
68146833
p-locate "^2.0.0"
68156834
path-exists "^3.0.0"
68166835

6836+
locate-path@^3.0.0:
6837+
version "3.0.0"
6838+
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e"
6839+
integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==
6840+
dependencies:
6841+
p-locate "^3.0.0"
6842+
path-exists "^3.0.0"
6843+
68176844
lodash-es@^4.17.4:
68186845
version "4.17.10"
68196846
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.10.tgz#62cd7104cdf5dd87f235a837f0ede0e8e5117e05"
@@ -7920,11 +7947,6 @@ normalize-package-data@^2.3.2, normalize-package-data@^2.3.4:
79207947
semver "2 || 3 || 4 || 5"
79217948
validate-npm-package-license "^3.0.1"
79227949

7923-
normalize-path@^1.0.0:
7924-
version "1.0.0"
7925-
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379"
7926-
integrity sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=
7927-
79287950
normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1:
79297951
version "2.1.1"
79307952
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
@@ -8188,13 +8210,27 @@ p-limit@^1.1.0:
81888210
dependencies:
81898211
p-try "^1.0.0"
81908212

8213+
p-limit@^2.0.0:
8214+
version "2.0.0"
8215+
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.0.0.tgz#e624ed54ee8c460a778b3c9f3670496ff8a57aec"
8216+
integrity sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==
8217+
dependencies:
8218+
p-try "^2.0.0"
8219+
81918220
p-locate@^2.0.0:
81928221
version "2.0.0"
81938222
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"
81948223
integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=
81958224
dependencies:
81968225
p-limit "^1.1.0"
81978226

8227+
p-locate@^3.0.0:
8228+
version "3.0.0"
8229+
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4"
8230+
integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==
8231+
dependencies:
8232+
p-limit "^2.0.0"
8233+
81988234
p-map@^1.1.1:
81998235
version "1.2.0"
82008236
resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b"
@@ -8212,6 +8248,11 @@ p-try@^1.0.0:
82128248
resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3"
82138249
integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=
82148250

8251+
p-try@^2.0.0:
8252+
version "2.0.0"
8253+
resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.0.0.tgz#85080bb87c64688fa47996fe8f7dfbe8211760b1"
8254+
integrity sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==
8255+
82158256
parse-glob@^3.0.4:
82168257
version "3.0.4"
82178258
resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c"
@@ -8389,7 +8430,14 @@ pkg-dir@^2.0.0:
83898430
dependencies:
83908431
find-up "^2.1.0"
83918432

8392-
please-upgrade-node@^3.0.2:
8433+
pkg-dir@^3.0.0:
8434+
version "3.0.0"
8435+
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3"
8436+
integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==
8437+
dependencies:
8438+
find-up "^3.0.0"
8439+
8440+
please-upgrade-node@^3.0.2, please-upgrade-node@^3.1.1:
83938441
version "3.1.1"
83948442
resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz#ed320051dfcc5024fae696712c8288993595e8ac"
83958443
integrity sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==
@@ -8672,6 +8720,15 @@ read-pkg@^2.0.0:
86728720
normalize-package-data "^2.3.2"
86738721
path-type "^2.0.0"
86748722

8723+
read-pkg@^4.0.1:
8724+
version "4.0.1"
8725+
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-4.0.1.tgz#963625378f3e1c4d48c85872b5a6ec7d5d093237"
8726+
integrity sha1-ljYlN48+HE1IyFhytabsfV0JMjc=
8727+
dependencies:
8728+
normalize-package-data "^2.3.2"
8729+
parse-json "^4.0.0"
8730+
pify "^3.0.0"
8731+
86758732
readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.2.2, readable-stream@^2.3.6:
86768733
version "2.3.6"
86778734
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
@@ -9050,6 +9107,11 @@ run-async@^2.2.0:
90509107
dependencies:
90519108
is-promise "^2.1.0"
90529109

9110+
run-node@^1.0.0:
9111+
version "1.0.0"
9112+
resolved "https://registry.yarnpkg.com/run-node/-/run-node-1.0.0.tgz#46b50b946a2aa2d4947ae1d886e9856fd9cabe5e"
9113+
integrity sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==
9114+
90539115
rx-lite-aggregates@^4.0.8:
90549116
version "4.0.8"
90559117
resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be"
@@ -9314,6 +9376,11 @@ slash@^1.0.0:
93149376
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
93159377
integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=
93169378

9379+
slash@^2.0.0:
9380+
version "2.0.0"
9381+
resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
9382+
integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==
9383+
93179384
93189385
version "0.0.4"
93199386
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35"
@@ -9707,11 +9774,6 @@ strip-indent@^1.0.1:
97079774
dependencies:
97089775
get-stdin "^4.0.1"
97099776

9710-
strip-indent@^2.0.0:
9711-
version "2.0.0"
9712-
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"
9713-
integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=
9714-
97159777
strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
97169778
version "2.0.1"
97179779
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"

0 commit comments

Comments
 (0)