Update dependencies, for real this time

Just why doesn't yarn do this automatically?
this is stupid
This commit is contained in:
rubikscraft 2022-12-28 14:31:09 +01:00
parent 221d7c1072
commit f794c724c0
No known key found for this signature in database
GPG Key ID: 1463EBE9200A5CD4
2 changed files with 312 additions and 269 deletions

22
support/actual-update.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash
# Really yarn, why the hell am I supposed to do this?
# If I tell you to upgrade, upgrade everything
# Go to this script parent
cd "$(dirname "${BASH_SOURCE[0]}")/.."
# Print a list of all packages
# Get ndjson stream from yarn
# Strip the quotes from the package names
# Strip the version from the package names
# Concat all package names into a single line with spaces
# Run "yarn up -R {all-packages}" to update all packages
yarn info --name-only -R -A --json | \
jq | \
sed 's/\"//g' | \
sed 's/@.*//g' | \
sort | \
uniq | \
xargs yarn up -R

559
yarn.lock

File diff suppressed because it is too large Load Diff