From a7c35c0d0e4b346cd623df6d858ac54c850404fd Mon Sep 17 00:00:00 2001 From: Corentin Mors Date: Mon, 4 Sep 2023 10:14:09 +0200 Subject: [PATCH] Fix yarn version --- Formula/dashlane-cli.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/dashlane-cli.rb b/Formula/dashlane-cli.rb index a788581..463e8bf 100644 --- a/Formula/dashlane-cli.rb +++ b/Formula/dashlane-cli.rb @@ -25,8 +25,8 @@ class DashlaneCli < Formula def install Language::Node.setup_npm_environment platform = OS.linux? ? "linux" : "macos" - system "yarn", "set", "version", "berry" - system "YARN_ENABLE_IMMUTABLE_INSTALLS=false", "yarn" + system "yarn", "set", "version", "3.4.1" + system "yarn", "install", "--frozen-lockfile" system "yarn", "run", "build" system "yarn", "workspaces", "focus", "--production" system "yarn", "dlx", "pkg", ".",