From 2b47f35eba824287f62bc8b8a6c5837531bc2e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Sat, 29 Aug 2020 10:18:29 +0200 Subject: [PATCH] Update readme for new Yarn release --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 366e8c6..c3093a1 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,9 @@ zero-install). - Preloading of your Yarn cache into the Nix store, speeding up local `nix-build`. +- Automatically keeps your Nix expression up-to-date as you `yarn add` / + `yarn remove` dependencies. + - **No Nix installation required** for the plugin itself, so it should be safe to add to your project even if some developers don't use Nix. @@ -26,12 +29,15 @@ zero-install). ## Usage -**This plugin currently depends on Yarn v2 master.** - -To get a compatible version, run the following in your project folder: +The minimum version of Yarn is 2.2.0. Run the following in your project folder +to check: ```sh -yarn set version from sources +# Check your Yarn version +yarn --version + +# Upgrade to the latest version, if necessary +yarn set version berry ``` To then use the Nixify plugin: