Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dashlane-cli to 6.2447.0 #9

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading