Fix pnpm format command failing with some files (#622)

* Fix `pnpm format` command failure
 - Update prettier and plugins dependencies
 - Add auto-install-peers to .npmrc
 - Fix formating of previously failing files
 - Some basic security mitigations (`pnpm audit --fix`)

* setup-system.sh: Don't do a full system update on ArchLinux

* Revert "Some basic security mitigations (`pnpm audit --fix`)"
This commit is contained in:
Vítor Vasconcellos
2023-03-19 16:47:10 +00:00
committed by GitHub
parent d811266793
commit d4f3fdc186
15 changed files with 53 additions and 50 deletions

View File

@@ -121,7 +121,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# Protobuf compiler - https://github.com/archlinux/svntogit-packages/blob/packages/protobuf/trunk/PKGBUILD provides `libprotoc`
ARCH_LIBP2P_DEPS="protobuf"
sudo pacman -Syu
sudo pacman -Sy
sudo pacman -S --needed $ARCH_TAURI_DEPS $ARCH_FFMPEG_DEPS $ARCH_BINDGEN_DEPS $ARCH_LIBP2P_DEPS
elif command -v dnf >/dev/null; then
echo "Detected dnf!"