From 576d2dc69ad99c72137791aafa5b79e0de0d03b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Sat, 30 Jul 2022 17:55:04 +0100 Subject: [PATCH] Update update notes --- README.md | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 68e13e2..696a7da 100644 --- a/README.md +++ b/README.md @@ -4,29 +4,10 @@ Website templates bundled with parcel. ## Updating -Firstly, updating the npm dependencies needs: - ```sh -npm update --package-lock-only +npm-check-updates -u +rm node_modules # Yeah, npm gets confused if it can't write here +npm install --package-lock-only +rm -rf node_modules +direnv reload ``` - -After that, the NixOS derivations can be updated by running -`generate.sh` in the `nix` subdirectory. - -### Note - -[Sharp](https://github.com/lovell/sharp/releases) is gloriously hard -to install, because it depends on the most cutting-edge patch version -of `vips`. - -Check which version it needs in the `package.json` of sharp, and then -match this up which major sharp version matches up to which OS version -of vips. - -Known versions: - -| Sharp | vips | NixOS | -| ----: | ---------: | ----: | -| 28.* | 8.10.6 | | -| 27.* | 8.10.5 | 21.05 | -| 26.* | 8.10.0 | 20.09 |