Skip to content

Commit 191fd5d

Browse files
committed
Move cross-env dep to the root
Multiple packages use it.
1 parent 6b4adde commit 191fd5d

File tree

4 files changed

+13
-46
lines changed

4 files changed

+13
-46
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@types/fs-extra": "^5.0.4",
1717
"@types/node": "^10.12.18",
1818
"@types/trash": "^4.3.1",
19+
"cross-env": "^5.2.0",
1920
"crypto-browserify": "^3.12.0",
2021
"css-loader": "^2.1.0",
2122
"file-loader": "^3.0.1",

packages/server/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"@types/mime-types": "^2.1.0",
2929
"@types/pem": "^1.9.4",
3030
"@types/ws": "^6.0.1",
31-
"cross-env": "^5.2.0",
3231
"fs-extra": "^7.0.1",
3332
"nexe": "^2.0.0-rc.34",
3433
"string-replace-webpack-plugin": "^0.1.3",

packages/server/yarn.lock

+3-44
Original file line numberDiff line numberDiff line change
@@ -800,25 +800,6 @@ [email protected], core-util-is@~1.0.0:
800800
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
801801
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
802802

803-
cross-env@^5.2.0:
804-
version "5.2.0"
805-
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2"
806-
integrity sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==
807-
dependencies:
808-
cross-spawn "^6.0.5"
809-
is-windows "^1.0.0"
810-
811-
cross-spawn@^6.0.5:
812-
version "6.0.5"
813-
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
814-
integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==
815-
dependencies:
816-
nice-try "^1.0.4"
817-
path-key "^2.0.1"
818-
semver "^5.5.0"
819-
shebang-command "^1.2.0"
820-
which "^1.2.9"
821-
822803
crypt@~0.0.1:
823804
version "0.0.2"
824805
resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b"
@@ -2071,7 +2052,7 @@ is-typedarray@~1.0.0:
20712052
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
20722053
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
20732054

2074-
is-windows@^1.0.0, is-windows@^1.0.2:
2055+
is-windows@^1.0.2:
20752056
version "1.0.2"
20762057
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
20772058
integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==
@@ -2537,11 +2518,6 @@ nexe@^2.0.0-rc.34:
25372518
uglify-es "^3.3.9"
25382519
uglify-js "3.0.28"
25392520

2540-
nice-try@^1.0.4:
2541-
version "1.0.5"
2542-
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
2543-
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
2544-
25452521
node-netstat@^1.6.0:
25462522
version "1.6.0"
25472523
resolved "https://registry.yarnpkg.com/node-netstat/-/node-netstat-1.6.0.tgz#38c36b5f966b00ffaa2ed6f6321e6ad4487d8c89"
@@ -2803,11 +2779,6 @@ path-is-absolute@^1.0.0:
28032779
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
28042780
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
28052781

2806-
path-key@^2.0.1:
2807-
version "2.0.1"
2808-
resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
2809-
integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=
2810-
28112782
28122783
version "0.1.7"
28132784
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
@@ -3194,7 +3165,7 @@ seek-bzip@^1.0.5:
31943165
dependencies:
31953166
commander "~2.8.1"
31963167

3197-
semver@^5.3.0, semver@^5.5.0, semver@^5.6.0:
3168+
semver@^5.3.0, semver@^5.6.0:
31983169
version "5.6.0"
31993170
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
32003171
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
@@ -3258,18 +3229,6 @@ [email protected]:
32583229
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"
32593230
integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==
32603231

3261-
shebang-command@^1.2.0:
3262-
version "1.2.0"
3263-
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
3264-
integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=
3265-
dependencies:
3266-
shebang-regex "^1.0.0"
3267-
3268-
shebang-regex@^1.0.0:
3269-
version "1.0.0"
3270-
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
3271-
integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=
3272-
32733232
32743233
version "0.0.2"
32753234
resolved "https://registry.yarnpkg.com/shorthash/-/shorthash-0.0.2.tgz#59b268eecbde59038b30da202bcfbddeb2c4a4eb"
@@ -3850,7 +3809,7 @@ watch@^1.0.1:
38503809
exec-sh "^0.2.0"
38513810
minimist "^1.2.0"
38523811

3853-
which@^1.2.9, which@^1.3.1:
3812+
which@^1.3.1:
38543813
version "1.3.1"
38553814
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
38563815
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==

yarn.lock

+9-1
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,14 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
10731073
safe-buffer "^5.0.1"
10741074
sha.js "^2.4.8"
10751075

1076+
cross-env@^5.2.0:
1077+
version "5.2.0"
1078+
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2"
1079+
integrity sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==
1080+
dependencies:
1081+
cross-spawn "^6.0.5"
1082+
is-windows "^1.0.0"
1083+
10761084
cross-spawn-async@^2.1.1:
10771085
version "2.2.5"
10781086
resolved "https://registry.yarnpkg.com/cross-spawn-async/-/cross-spawn-async-2.2.5.tgz#845ff0c0834a3ded9d160daca6d390906bb288cc"
@@ -2740,7 +2748,7 @@ is-utf8@^0.2.0:
27402748
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
27412749
integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=
27422750

2743-
is-windows@^1.0.1, is-windows@^1.0.2:
2751+
is-windows@^1.0.0, is-windows@^1.0.1, is-windows@^1.0.2:
27442752
version "1.0.2"
27452753
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
27462754
integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==

0 commit comments

Comments
 (0)