Browse Source

Remove npm-run-all dependency (#9401)

Fix #9359
Eugen Rochko 1 week ago
parent
commit
82570019ba
2 changed files with 6 additions and 138 deletions
  1. 1
    2
      package.json
  2. 5
    136
      yarn.lock

+ 1
- 2
package.json View File

@@ -10,7 +10,7 @@
10 10
     "build:production": "cross-env RAILS_ENV=production NODE_ENV=production ./bin/webpack",
11 11
     "manage:translations": "node ./config/webpack/translationRunner.js",
12 12
     "start": "node ./streaming/index.js",
13
-    "test": "npm-run-all test:lint test:jest",
13
+    "test": "npm run test:lint && npm run test:jest",
14 14
     "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ streaming/",
15 15
     "test:jest": "cross-env NODE_ENV=test jest --coverage"
16 16
   },
@@ -76,7 +76,6 @@
76 76
     "mini-css-extract-plugin": "^0.4.2",
77 77
     "mkdirp": "^0.5.1",
78 78
     "node-sass": "^4.9.2",
79
-    "npm-run-all": "^4.1.2",
80 79
     "npmlog": "^4.1.2",
81 80
     "object-assign": "^4.1.1",
82 81
     "object-fit-images": "^3.2.3",

+ 5
- 136
yarn.lock View File

@@ -1109,11 +1109,6 @@ array-equal@^1.0.0:
1109 1109
   resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93"
1110 1110
   integrity sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=
1111 1111
 
1112
-array-filter@~0.0.0:
1113
-  version "0.0.1"
1114
-  resolved "https://registry.yarnpkg.com/array-filter/-/array-filter-0.0.1.tgz#7da8cf2e26628ed732803581fd21f67cacd2eeec"
1115
-  integrity sha1-fajPLiZijtcygDWB/SH2fKzS7uw=
1116
-
1117 1112
 array-find-index@^1.0.1:
1118 1113
   version "1.0.2"
1119 1114
   resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1"
@@ -1137,16 +1132,6 @@ array-includes@^3.0.3:
1137 1132
     define-properties "^1.1.2"
1138 1133
     es-abstract "^1.7.0"
1139 1134
 
1140
-array-map@~0.0.0:
1141
-  version "0.0.0"
1142
-  resolved "https://registry.yarnpkg.com/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662"
1143
-  integrity sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=
1144
-
1145
-array-reduce@~0.0.0:
1146
-  version "0.0.0"
1147
-  resolved "https://registry.yarnpkg.com/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b"
1148
-  integrity sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=
1149
-
1150 1135
 array-union@^1.0.1:
1151 1136
   version "1.0.2"
1152 1137
   resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
@@ -2411,7 +2396,7 @@ cross-spawn@^5.0.1, cross-spawn@^5.1.0:
2411 2396
     shebang-command "^1.2.0"
2412 2397
     which "^1.2.9"
2413 2398
 
2414
-cross-spawn@^6.0.0, cross-spawn@^6.0.4, cross-spawn@^6.0.5:
2399
+cross-spawn@^6.0.0, cross-spawn@^6.0.5:
2415 2400
   version "6.0.5"
2416 2401
   resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
2417 2402
   integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==
@@ -2920,7 +2905,7 @@ double-ended-queue@^2.1.0-0:
2920 2905
   resolved "https://registry.yarnpkg.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c"
2921 2906
   integrity sha1-ED01J/0xUo9AGIEwyEHv3XgmTlw=
2922 2907
 
2923
-duplexer@^0.1.1, duplexer@~0.1.1:
2908
+duplexer@^0.1.1:
2924 2909
   version "0.1.1"
2925 2910
   resolved "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1"
2926 2911
   integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=
@@ -3079,7 +3064,7 @@ error-ex@^1.2.0, error-ex@^1.3.1:
3079 3064
   dependencies:
3080 3065
     is-arrayish "^0.2.1"
3081 3066
 
3082
-es-abstract@^1.10.0, es-abstract@^1.4.3, es-abstract@^1.5.0, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0:
3067
+es-abstract@^1.10.0, es-abstract@^1.5.0, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0:
3083 3068
   version "1.12.0"
3084 3069
   resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165"
3085 3070
   integrity sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==
@@ -3329,20 +3314,6 @@ etag@~1.8.1:
3329 3314
   resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
3330 3315
   integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
3331 3316
 
3332
-event-stream@~3.3.0:
3333
-  version "3.3.6"
3334
-  resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.6.tgz#cac1230890e07e73ec9cacd038f60a5b66173eef"
3335
-  integrity sha512-dGXNg4F/FgVzlApjzItL+7naHutA3fDqbV/zAZqDDlXTjiMnQmZKu+prImWKszeBM5UQeGvAl3u1wBiKeDh61g==
3336
-  dependencies:
3337
-    duplexer "^0.1.1"
3338
-    flatmap-stream "^0.1.0"
3339
-    from "^0.1.7"
3340
-    map-stream "0.0.7"
3341
-    pause-stream "^0.0.11"
3342
-    split "^1.0.1"
3343
-    stream-combiner "^0.2.2"
3344
-    through "^2.3.8"
3345
-
3346 3317
 eventemitter3@^3.0.0:
3347 3318
   version "3.1.0"
3348 3319
   resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163"
@@ -3744,11 +3715,6 @@ flat-cache@^1.2.1:
3744 3715
     graceful-fs "^4.1.2"
3745 3716
     write "^0.2.1"
3746 3717
 
3747
-flatmap-stream@^0.1.0:
3748
-  version "0.1.0"
3749
-  resolved "https://registry.yarnpkg.com/flatmap-stream/-/flatmap-stream-0.1.0.tgz#ed54e01422cd29281800914fcb968d58b685d5f1"
3750
-  integrity sha512-Nlic4ZRYxikqnK5rj3YoxDVKGGtUjcNDUtvQ7XsdGLZmMwdUYnXf10o1zcXtzEZTBgc6GxeRpQxV/Wu3WPIIHA==
3751
-
3752 3718
 flatten@^1.0.2:
3753 3719
   version "1.0.2"
3754 3720
   resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
@@ -3846,11 +3812,6 @@ from2@^2.1.0:
3846 3812
     inherits "^2.0.1"
3847 3813
     readable-stream "^2.0.0"
3848 3814
 
3849
-from@^0.1.7:
3850
-  version "0.1.7"
3851
-  resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
3852
-  integrity sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=
3853
-
3854 3815
 fs-extra@^7.0.0:
3855 3816
   version "7.0.0"
3856 3817
   resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.0.tgz#8cc3f47ce07ef7b3593a11b9fb245f7e34c041d6"
@@ -5642,16 +5603,6 @@ load-json-file@^2.0.0:
5642 5603
     pify "^2.0.0"
5643 5604
     strip-bom "^3.0.0"
5644 5605
 
5645
-load-json-file@^4.0.0:
5646
-  version "4.0.0"
5647
-  resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
5648
-  integrity sha1-L19Fq5HjMhYjT9U62rZo607AmTs=
5649
-  dependencies:
5650
-    graceful-fs "^4.1.2"
5651
-    parse-json "^4.0.0"
5652
-    pify "^3.0.0"
5653
-    strip-bom "^3.0.0"
5654
-
5655 5606
 loader-runner@^2.3.0:
5656 5607
   version "2.3.0"
5657 5608
   resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2"
@@ -5841,11 +5792,6 @@ map-obj@^1.0.0, map-obj@^1.0.1:
5841 5792
   resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
5842 5793
   integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=
5843 5794
 
5844
-map-stream@0.0.7:
5845
-  version "0.0.7"
5846
-  resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.0.7.tgz#8a1f07896d82b10926bd3744a2420009f88974a8"
5847
-  integrity sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=
5848
-
5849 5795
 map-visit@^1.0.0:
5850 5796
   version "1.0.0"
5851 5797
   resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f"
@@ -5905,11 +5851,6 @@ memory-fs@^0.4.0, memory-fs@~0.4.1:
5905 5851
     errno "^0.1.3"
5906 5852
     readable-stream "^2.0.1"
5907 5853
 
5908
-memorystream@^0.3.1:
5909
-  version "0.3.1"
5910
-  resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2"
5911
-  integrity sha1-htcJCzDORV1j+64S3aUaR93K+bI=
5912
-
5913 5854
 meow@^3.7.0:
5914 5855
   version "3.7.0"
5915 5856
   resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb"
@@ -6462,21 +6403,6 @@ npm-packlist@^1.1.6:
6462 6403
     ignore-walk "^3.0.1"
6463 6404
     npm-bundled "^1.0.1"
6464 6405
 
6465
-npm-run-all@^4.1.2:
6466
-  version "4.1.3"
6467
-  resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.3.tgz#49f15b55a66bb4101664ce270cb18e7103f8f185"
6468
-  integrity sha512-aOG0N3Eo/WW+q6sUIdzcV2COS8VnTZCmdji0VQIAZF3b+a3YWb0AD0vFIyjKec18A7beLGbaQ5jFTNI2bPt9Cg==
6469
-  dependencies:
6470
-    ansi-styles "^3.2.0"
6471
-    chalk "^2.1.0"
6472
-    cross-spawn "^6.0.4"
6473
-    memorystream "^0.3.1"
6474
-    minimatch "^3.0.4"
6475
-    ps-tree "^1.1.0"
6476
-    read-pkg "^3.0.0"
6477
-    shell-quote "^1.6.1"
6478
-    string.prototype.padend "^3.0.0"
6479
-
6480 6406
 npm-run-path@^2.0.0:
6481 6407
   version "2.0.2"
6482 6408
   resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
@@ -6979,20 +6905,6 @@ path-type@^2.0.0:
6979 6905
   dependencies:
6980 6906
     pify "^2.0.0"
6981 6907
 
6982
-path-type@^3.0.0:
6983
-  version "3.0.0"
6984
-  resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"
6985
-  integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==
6986
-  dependencies:
6987
-    pify "^3.0.0"
6988
-
6989
-pause-stream@^0.0.11:
6990
-  version "0.0.11"
6991
-  resolved "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445"
6992
-  integrity sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=
6993
-  dependencies:
6994
-    through "~2.3"
6995
-
6996 6908
 pbkdf2@^3.0.3:
6997 6909
   version "3.0.16"
6998 6910
   resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.16.tgz#7404208ec6b01b62d85bf83853a8064f8d9c2a5c"
@@ -7663,13 +7575,6 @@ prr@~1.0.1:
7663 7575
   resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
7664 7576
   integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY=
7665 7577
 
7666
-ps-tree@^1.1.0:
7667
-  version "1.1.0"
7668
-  resolved "https://registry.yarnpkg.com/ps-tree/-/ps-tree-1.1.0.tgz#b421b24140d6203f1ed3c76996b4427b08e8c014"
7669
-  integrity sha1-tCGyQUDWID8e08dplrRCewjowBQ=
7670
-  dependencies:
7671
-    event-stream "~3.3.0"
7672
-
7673 7578
 pseudomap@^1.0.2:
7674 7579
   version "1.0.2"
7675 7580
   resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
@@ -8115,15 +8020,6 @@ read-pkg@^2.0.0:
8115 8020
     normalize-package-data "^2.3.2"
8116 8021
     path-type "^2.0.0"
8117 8022
 
8118
-read-pkg@^3.0.0:
8119
-  version "3.0.0"
8120
-  resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389"
8121
-  integrity sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=
8122
-  dependencies:
8123
-    load-json-file "^4.0.0"
8124
-    normalize-package-data "^2.3.2"
8125
-    path-type "^3.0.0"
8126
-
8127 8023
 "readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.2.9, readable-stream@^2.3.3, readable-stream@^2.3.6:
8128 8024
   version "2.3.6"
8129 8025
   resolved "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
@@ -8827,16 +8723,6 @@ shebang-regex@^1.0.0:
8827 8723
   resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
8828 8724
   integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=
8829 8725
 
8830
-shell-quote@^1.6.1:
8831
-  version "1.6.1"
8832
-  resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767"
8833
-  integrity sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=
8834
-  dependencies:
8835
-    array-filter "~0.0.0"
8836
-    array-map "~0.0.0"
8837
-    array-reduce "~0.0.0"
8838
-    jsonify "~0.0.0"
8839
-
8840 8726
 shellwords@^0.1.1:
8841 8727
   version "0.1.1"
8842 8728
   resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
@@ -9039,7 +8925,7 @@ split-string@^3.0.1, split-string@^3.0.2:
9039 8925
   dependencies:
9040 8926
     extend-shallow "^3.0.0"
9041 8927
 
9042
-split@^1.0.0, split@^1.0.1:
8928
+split@^1.0.0:
9043 8929
   version "1.0.1"
9044 8930
   resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9"
9045 8931
   integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==
@@ -9124,14 +9010,6 @@ stream-browserify@^2.0.1:
9124 9010
     inherits "~2.0.1"
9125 9011
     readable-stream "^2.0.2"
9126 9012
 
9127
-stream-combiner@^0.2.2:
9128
-  version "0.2.2"
9129
-  resolved "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz#aec8cbac177b56b6f4fa479ced8c1912cee52858"
9130
-  integrity sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=
9131
-  dependencies:
9132
-    duplexer "~0.1.1"
9133
-    through "~2.3.4"
9134
-
9135 9013
 stream-each@^1.1.0:
9136 9014
   version "1.2.3"
9137 9015
   resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae"
@@ -9181,15 +9059,6 @@ string-width@^1.0.1, string-width@^1.0.2:
9181 9059
     is-fullwidth-code-point "^2.0.0"
9182 9060
     strip-ansi "^4.0.0"
9183 9061
 
9184
-string.prototype.padend@^3.0.0:
9185
-  version "3.0.0"
9186
-  resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz#f3aaef7c1719f170c5eab1c32bf780d96e21f2f0"
9187
-  integrity sha1-86rvfBcZ8XDF6rHDK/eA2W4h8vA=
9188
-  dependencies:
9189
-    define-properties "^1.1.2"
9190
-    es-abstract "^1.4.3"
9191
-    function-bind "^1.0.2"
9192
-
9193 9062
 string.prototype.trim@^1.1.2:
9194 9063
   version "1.1.2"
9195 9064
   resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea"
@@ -9407,7 +9276,7 @@ through2@^2.0.0:
9407 9276
     readable-stream "^2.1.5"
9408 9277
     xtend "~4.0.1"
9409 9278
 
9410
-through@2, through@^2.3.6, through@^2.3.8, through@~2.3, through@~2.3.4:
9279
+through@2, through@^2.3.6:
9411 9280
   version "2.3.8"
9412 9281
   resolved "http://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
9413 9282
   integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=