Skip to content

Commit

Permalink
Update dashlane-cli to 6.2447.0
Browse files Browse the repository at this point in the history
Signed-off-by: Corentin Mors <[email protected]>
  • Loading branch information
Corentin Mors authored Nov 21, 2024
1 parent 83910af commit 56fd254
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Formula/dashlane-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
class DashlaneCli < Formula
desc "Command-line interface for Dashlane"
homepage "https://dashlane.com"
url "https://github.com/Dashlane/dashlane-cli/archive/refs/tags/v6.2436.0.tar.gz"
sha256 "1e9e0a44b3630ffa288166f16c7f2447620f6c077bf4663bec4c856edaa91b39"
url "https://github.com/Dashlane/dashlane-cli/archive/refs/tags/v6.2447.0.tar.gz"
sha256 "42784a46f661c5b8e9085bd7717dcb4ddb2fbef3e89b0c80db3fcd73da8d3d81"
license "Apache-2.0"

livecheck do
Expand All @@ -14,7 +14,7 @@ class DashlaneCli < Formula

option "with-corepack", "Use yarn from corepack instead of installing it"

depends_on "node@18" => :build
depends_on "node@22" => :build

# Needed for node-gyp packages
depends_on "python" => :build
Expand All @@ -32,12 +32,12 @@ def install
ENV["COMMIT_HASH"] = "c377153edeacd7a328204fd73cad8a825f228cc3"
Language::Node.setup_npm_environment
platform = OS.linux? ? "linux" : "macos"
system "yarn", "set", "version", "4.2.2"
system "yarn", "set", "version", "4.5.1"
system "yarn", "install", "--frozen-lockfile"
system "yarn", "run", "build"
system "yarn", "workspaces", "focus", "--production"
system "yarn", "dlx", "@yao-pkg/pkg@5.12.0", "./dist",
"-t", "node18-#{platform}-#{Hardware::CPU.arch}", "-o", "bin/dcli",
system "yarn", "dlx", "@yao-pkg/pkg@6.1.1", "./dist",
"-t", "node22-#{platform}-#{Hardware::CPU.arch}", "-o", "bin/dcli",
"--no-bytecode", "--public", "--public-packages", "tslib,thirty-two,node-hkdf-sync,vows"
bin.install "bin/dcli"
end
Expand Down

0 comments on commit 56fd254

Please sign in to comment.