Skip to content

Commit

Permalink
code-server 4.91.1
Browse files Browse the repository at this point in the history
Co-authored-by: Branch Vincent <[email protected]>
  • Loading branch information
BrewTestBot and branchvincent committed Jul 20, 2024
1 parent e41b3ac commit 35b7eef
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Formula/c/code-server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
class CodeServer < Formula
desc "Access VS Code through the browser"
homepage "https://github.com/coder/code-server"
url "https://registry.npmjs.org/code-server/-/code-server-4.22.1.tgz"
sha256 "46638c295b35b5212ed3e4a5d92206fec6e3c75f5d69f24764413e6358aaca6b"
url "https://registry.npmjs.org/code-server/-/code-server-4.91.1.tgz"
sha256 "caff899580267b4020c9cde70eda1f0d465f6ee6c134177ad4334de783918ccc"
license "MIT"

bottle do
Expand All @@ -18,7 +18,7 @@ class CodeServer < Formula
end

depends_on "yarn" => :build
depends_on "node@18"
depends_on "node@20"

uses_from_macos "python" => :build

Expand All @@ -30,7 +30,10 @@ class CodeServer < Formula
end

def install
node = Formula["node@18"]
# Fix broken node-addon-api: https://github.com/nodejs/node/issues/52229
ENV.append "CXXFLAGS", "-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT"

node = Formula["node@20"]
system "npm", "install", *Language::Node.local_npm_install_args, "--unsafe-perm", "--omit", "dev"

# @parcel/watcher bundles all binaries for other platforms & architectures
Expand Down

0 comments on commit 35b7eef

Please sign in to comment.