build: Move resolutions sections to workspace package.json

Yarn throws a warning on every `yarn install` that the resolutions
from respective packages' manifests are ignored.
This commit is contained in:
Michcio 2022-09-06 23:18:15 +02:00
parent 5a9d4a3759
commit abef030a24
4 changed files with 12 additions and 145 deletions

View file

@ -30,6 +30,10 @@
"clean-all": "yarn workspaces foreach run clean-all && rm -rf built/ node_modules/", "clean-all": "yarn workspaces foreach run clean-all && rm -rf built/ node_modules/",
"cleanall": "yarn clean-all" "cleanall": "yarn clean-all"
}, },
"resolutions": {
"chokidar": "^3.3.1",
"lodash": "^4.17.21"
},
"dependencies": { "dependencies": {
"execa": "5.1.1", "execa": "5.1.1",
"gulp": "4.0.2", "gulp": "4.0.2",

View file

@ -16,10 +16,6 @@
"start:test": "cross-env NODE_ENV=test node --experimental-json-modules ./built/index.js", "start:test": "cross-env NODE_ENV=test node --experimental-json-modules ./built/index.js",
"test": "npm run mocha" "test": "npm run mocha"
}, },
"resolutions": {
"chokidar": "^3.3.1",
"lodash": "^4.17.21"
},
"dependencies": { "dependencies": {
"@bull-board/api": "^4.2.2", "@bull-board/api": "^4.2.2",
"@bull-board/koa": "4.0.0", "@bull-board/koa": "4.0.0",

View file

@ -9,10 +9,6 @@
"clean": "rm -rf built/", "clean": "rm -rf built/",
"clean-all": "yarn clean && rm -rf node_modules/" "clean-all": "yarn clean && rm -rf node_modules/"
}, },
"resolutions": {
"chokidar": "^3.3.1",
"lodash": "^4.17.21"
},
"dependencies": { "dependencies": {
"@discordapp/twemoji": "14.0.2", "@discordapp/twemoji": "14.0.2",
"@fortawesome/fontawesome-free": "6.1.1", "@fortawesome/fontawesome-free": "6.1.1",

145
yarn.lock
View file

@ -3041,7 +3041,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"anymatch@npm:^3.0.3, anymatch@npm:~3.1.2": "anymatch@npm:^3.0.3":
version: 3.1.2 version: 3.1.2
resolution: "anymatch@npm:3.1.2" resolution: "anymatch@npm:3.1.2"
dependencies: dependencies:
@ -3368,13 +3368,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"async-each@npm:^1.0.1":
version: 1.0.3
resolution: "async-each@npm:1.0.3"
checksum: 868651cfeb209970b367fbb96df1e1c8dc0b22c681cda7238417005ab2a5fbd944ee524b43f2692977259a57b7cc2547e03ff68f2b5113dbdf953d48cc078dc3
languageName: node
linkType: hard
"async-settle@npm:^1.0.0": "async-settle@npm:^1.0.0":
version: 1.0.0 version: 1.0.0
resolution: "async-settle@npm:1.0.0" resolution: "async-settle@npm:1.0.0"
@ -3846,13 +3839,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"binary-extensions@npm:^1.0.0":
version: 1.13.1
resolution: "binary-extensions@npm:1.13.1"
checksum: ad7747f33c07e94ba443055de130b50c8b8b130a358bca064c580d91769ca6a69c7ac65ca008ff044ed4541d2c6ad45496e1fadbef5218a68770996b6a2194d7
languageName: node
linkType: hard
"binary-extensions@npm:^2.0.0": "binary-extensions@npm:^2.0.0":
version: 2.0.0 version: 2.0.0
resolution: "binary-extensions@npm:2.0.0" resolution: "binary-extensions@npm:2.0.0"
@ -3877,15 +3863,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"bindings@npm:^1.5.0":
version: 1.5.0
resolution: "bindings@npm:1.5.0"
dependencies:
file-uri-to-path: 1.0.0
checksum: 65b6b48095717c2e6105a021a7da4ea435aa8d3d3cd085cb9e85bcb6e5773cf318c4745c3f7c504412855940b585bdf9b918236612a1c7a7942491de176f1ae7
languageName: node
linkType: hard
"bl@npm:^4.0.3": "bl@npm:^4.0.3":
version: 4.1.0 version: 4.1.0
resolution: "bl@npm:4.1.0" resolution: "bl@npm:4.1.0"
@ -3958,7 +3935,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"braces@npm:^2.3.1, braces@npm:^2.3.2": "braces@npm:^2.3.1":
version: 2.3.2 version: 2.3.2
resolution: "braces@npm:2.3.2" resolution: "braces@npm:2.3.2"
dependencies: dependencies:
@ -4544,26 +4521,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"chokidar@npm:3.5.3, chokidar@npm:^3.5.3": "chokidar@npm:^3.3.1":
version: 3.5.3
resolution: "chokidar@npm:3.5.3"
dependencies:
anymatch: ~3.1.2
braces: ~3.0.2
fsevents: ~2.3.2
glob-parent: ~5.1.2
is-binary-path: ~2.1.0
is-glob: ~4.0.1
normalize-path: ~3.0.0
readdirp: ~3.6.0
dependenciesMeta:
fsevents:
optional: true
checksum: b49fcde40176ba007ff361b198a2d35df60d9bb2a5aab228279eb810feae9294a6b4649ab15981304447afe1e6ffbf4788ad5db77235dc770ab777c6e771980c
languageName: node
linkType: hard
"chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.3.1":
version: 3.3.1 version: 3.3.1
resolution: "chokidar@npm:3.3.1" resolution: "chokidar@npm:3.3.1"
dependencies: dependencies:
@ -4582,29 +4540,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"chokidar@npm:^2.0.0":
version: 2.1.8
resolution: "chokidar@npm:2.1.8"
dependencies:
anymatch: ^2.0.0
async-each: ^1.0.1
braces: ^2.3.2
fsevents: ^1.2.7
glob-parent: ^3.1.0
inherits: ^2.0.3
is-binary-path: ^1.0.0
is-glob: ^4.0.0
normalize-path: ^3.0.0
path-is-absolute: ^1.0.0
readdirp: ^2.2.1
upath: ^1.1.1
dependenciesMeta:
fsevents:
optional: true
checksum: 0c43e89cbf0268ef1e1f41ce8ec5233c7ba022c6f3282c2ef6530e351d42396d389a1148c5a040f291cf1f4083a4c6b2f51dad3f31c726442ea9a337de316bcf
languageName: node
linkType: hard
"chownr@npm:^1.1.1": "chownr@npm:^1.1.1":
version: 1.1.4 version: 1.1.4
resolution: "chownr@npm:1.1.4" resolution: "chownr@npm:1.1.4"
@ -7639,13 +7574,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"file-uri-to-path@npm:1.0.0":
version: 1.0.0
resolution: "file-uri-to-path@npm:1.0.0"
checksum: b648580bdd893a008c92c7ecc96c3ee57a5e7b6c4c18a9a09b44fb5d36d79146f8e442578bc0e173dc027adf3987e254ba1dfd6e3ec998b7c282873010502144
languageName: node
linkType: hard
"filelist@npm:^1.0.1": "filelist@npm:^1.0.1":
version: 1.0.4 version: 1.0.4
resolution: "filelist@npm:1.0.4" resolution: "filelist@npm:1.0.4"
@ -8030,17 +7958,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"fsevents@npm:^1.2.7":
version: 1.2.13
resolution: "fsevents@npm:1.2.13"
dependencies:
bindings: ^1.5.0
nan: ^2.12.1
checksum: ae855aa737aaa2f9167e9f70417cf6e45a5cd11918e1fee9923709a0149be52416d765433b4aeff56c789b1152e718cd1b13ddec6043b78cdda68260d86383c1
conditions: os=darwin
languageName: node
linkType: hard
"fsevents@npm:^2.3.2, fsevents@npm:~2.3.2": "fsevents@npm:^2.3.2, fsevents@npm:~2.3.2":
version: 2.3.2 version: 2.3.2
resolution: "fsevents@npm:2.3.2" resolution: "fsevents@npm:2.3.2"
@ -8061,16 +7978,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"fsevents@patch:fsevents@^1.2.7#~builtin<compat/fsevents>":
version: 1.2.13
resolution: "fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=18f3a7"
dependencies:
bindings: ^1.5.0
nan: ^2.12.1
conditions: os=darwin
languageName: node
linkType: hard
"fsevents@patch:fsevents@^2.3.2#~builtin<compat/fsevents>, fsevents@patch:fsevents@~2.3.2#~builtin<compat/fsevents>": "fsevents@patch:fsevents@^2.3.2#~builtin<compat/fsevents>, fsevents@patch:fsevents@~2.3.2#~builtin<compat/fsevents>":
version: 2.3.2 version: 2.3.2
resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>::version=2.3.2&hash=18f3a7" resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>::version=2.3.2&hash=18f3a7"
@ -8287,7 +8194,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": "glob-parent@npm:^5.1.2":
version: 5.1.2 version: 5.1.2
resolution: "glob-parent@npm:5.1.2" resolution: "glob-parent@npm:5.1.2"
dependencies: dependencies:
@ -9383,15 +9290,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"is-binary-path@npm:^1.0.0":
version: 1.0.1
resolution: "is-binary-path@npm:1.0.1"
dependencies:
binary-extensions: ^1.0.0
checksum: a803c99e9d898170c3b44a86fbdc0736d3d7fcbe737345433fb78e810b9fe30c982657782ad0e676644ba4693ddf05601a7423b5611423218663d6b533341ac9
languageName: node
linkType: hard
"is-binary-path@npm:~2.1.0": "is-binary-path@npm:~2.1.0":
version: 2.1.0 version: 2.1.0
resolution: "is-binary-path@npm:2.1.0" resolution: "is-binary-path@npm:2.1.0"
@ -11509,7 +11407,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"lodash@npm:^4.17.11, lodash@npm:^4.17.21, lodash@npm:^4.7.0, lodash@npm:~4.17.15": "lodash@npm:^4.17.21":
version: 4.17.21 version: 4.17.21
resolution: "lodash@npm:4.17.21" resolution: "lodash@npm:4.17.21"
checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7
@ -11779,7 +11677,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"micromatch@npm:^3.0.4, micromatch@npm:^3.1.10, micromatch@npm:^3.1.4": "micromatch@npm:^3.0.4, micromatch@npm:^3.1.4":
version: 3.1.10 version: 3.1.10
resolution: "micromatch@npm:3.1.10" resolution: "micromatch@npm:3.1.10"
dependencies: dependencies:
@ -12228,7 +12126,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"nan@npm:^2.12.1, nan@npm:^2.16.0": "nan@npm:^2.16.0":
version: 2.16.0 version: 2.16.0
resolution: "nan@npm:2.16.0" resolution: "nan@npm:2.16.0"
dependencies: dependencies:
@ -13325,7 +13223,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.3.1": "picomatch@npm:^2.2.2, picomatch@npm:^2.3.1":
version: 2.3.1 version: 2.3.1
resolution: "picomatch@npm:2.3.1" resolution: "picomatch@npm:2.3.1"
checksum: 050c865ce81119c4822c45d3c84f1ced46f93a0126febae20737bd05ca20589c564d6e9226977df859ed5e03dc73f02584a2b0faad36e896936238238b0446cf checksum: 050c865ce81119c4822c45d3c84f1ced46f93a0126febae20737bd05ca20589c564d6e9226977df859ed5e03dc73f02584a2b0faad36e896936238238b0446cf
@ -14474,17 +14372,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"readdirp@npm:^2.2.1":
version: 2.2.1
resolution: "readdirp@npm:2.2.1"
dependencies:
graceful-fs: ^4.1.11
micromatch: ^3.1.10
readable-stream: ^2.0.2
checksum: 3879b20f1a871e0e004a14fbf1776e65ee0b746a62f5a416010808b37c272ac49b023c47042c7b1e281cba75a449696635bc64c397ed221ea81d853a8f2ed79a
languageName: node
linkType: hard
"readdirp@npm:~3.3.0": "readdirp@npm:~3.3.0":
version: 3.3.0 version: 3.3.0
resolution: "readdirp@npm:3.3.0" resolution: "readdirp@npm:3.3.0"
@ -14494,15 +14381,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"readdirp@npm:~3.6.0":
version: 3.6.0
resolution: "readdirp@npm:3.6.0"
dependencies:
picomatch: ^2.2.1
checksum: 1ced032e6e45670b6d7352d71d21ce7edf7b9b928494dcaba6f11fba63180d9da6cd7061ebc34175ffda6ff529f481818c962952004d273178acd70f7059b320
languageName: node
linkType: hard
"rechoir@npm:^0.6.2": "rechoir@npm:^0.6.2":
version: 0.6.2 version: 0.6.2
resolution: "rechoir@npm:0.6.2" resolution: "rechoir@npm:0.6.2"
@ -17184,13 +17062,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"upath@npm:^1.1.1":
version: 1.2.0
resolution: "upath@npm:1.2.0"
checksum: 4c05c094797cb733193a0784774dbea5b1889d502fc9f0572164177e185e4a59ba7099bf0b0adf945b232e2ac60363f9bf18aac9b2206fb99cbef971a8455445
languageName: node
linkType: hard
"update-browserslist-db@npm:^1.0.5": "update-browserslist-db@npm:^1.0.5":
version: 1.0.5 version: 1.0.5
resolution: "update-browserslist-db@npm:1.0.5" resolution: "update-browserslist-db@npm:1.0.5"