From 6175781744f140b3b6e2ecba6c388e3ef30fc0a5 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 21 Jan 2025 23:13:06 +0000 Subject: [PATCH 1/2] tailwindcss 4.0.0 tailwindcss: add @tailwindcss/cli package as resource --- Formula/t/tailwindcss.rb | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/Formula/t/tailwindcss.rb b/Formula/t/tailwindcss.rb index 93c5ca7ef9697..4379db263b50a 100644 --- a/Formula/t/tailwindcss.rb +++ b/Formula/t/tailwindcss.rb @@ -1,10 +1,15 @@ class Tailwindcss < Formula desc "Utility-first CSS framework" homepage "https://tailwindcss.com" - url "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz" - sha256 "c42aab85fa6442055980e2ce61b4328f64a25abef44907feb75bd90681331d2a" + url "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.0.0.tgz" + sha256 "72309ed7264bb66a0e4ed4171a064f9f4ea3b92906afe67b8afedbd8f9e78b28" license "MIT" + livecheck do + url "https://github.com/tailwindlabs/tailwindcss" + strategy :github_latest + end + bottle do rebuild 1 sha256 cellar: :any_skip_relocation, arm64_sequoia: "6642f35504e8ab8ce029025e265972bb9a74d9030bd879973388ba245f5707ce" @@ -17,7 +22,17 @@ class Tailwindcss < Formula depends_on "node" + resource "tailwind-cli" do + url "https://registry.npmjs.org/@tailwindcss/cli/-/cli-4.0.0.tgz" + sha256 "a6a772944d048966e9db2bdc7521053ea3d8bd06cfdff7931fdc4bb2313e6369" + end + def install + # install the dedicated tailwind-cli package + resource("tailwind-cli").stage do + system "npm", "install", *std_npm_args + end + system "npm", "install", *std_npm_args bin.install_symlink libexec.glob("bin/*") end From 56c29daec4de56265892eebabdbec24f00ffce57 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 23 Jan 2025 11:14:03 +0000 Subject: [PATCH 2/2] tailwindcss: update 4.0.0 bottle. --- Formula/t/tailwindcss.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Formula/t/tailwindcss.rb b/Formula/t/tailwindcss.rb index 4379db263b50a..67d297432011f 100644 --- a/Formula/t/tailwindcss.rb +++ b/Formula/t/tailwindcss.rb @@ -11,13 +11,12 @@ class Tailwindcss < Formula end bottle do - rebuild 1 - sha256 cellar: :any_skip_relocation, arm64_sequoia: "6642f35504e8ab8ce029025e265972bb9a74d9030bd879973388ba245f5707ce" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "6642f35504e8ab8ce029025e265972bb9a74d9030bd879973388ba245f5707ce" - sha256 cellar: :any_skip_relocation, arm64_ventura: "6642f35504e8ab8ce029025e265972bb9a74d9030bd879973388ba245f5707ce" - sha256 cellar: :any_skip_relocation, sonoma: "470d9bbfd904d02d77d565faa66afddcb033b7030ff41baf28ad47294c65c4b5" - sha256 cellar: :any_skip_relocation, ventura: "470d9bbfd904d02d77d565faa66afddcb033b7030ff41baf28ad47294c65c4b5" - sha256 cellar: :any_skip_relocation, x86_64_linux: "6642f35504e8ab8ce029025e265972bb9a74d9030bd879973388ba245f5707ce" + sha256 arm64_sequoia: "6a0c3745b4c7006283ae59f9a456bd3061d31838eab5c02ddc90f62c8a381ecc" + sha256 arm64_sonoma: "c97e47d897aa2b72420224639af7e7843ad6277564ae6e570c79cbc50e8cc5e6" + sha256 arm64_ventura: "5508f6e69acfc9edd08303948327aebd434d9acbdd66bea745ccfbd6f1ce8aca" + sha256 sonoma: "12d7fae1500719207be8f1afa619e9f8ab0222b76712f9f02da43e6b7c181b8e" + sha256 ventura: "fae76c41673de7042fd257448fbc58b43b23cf56559c1e86f6ef662e753448fd" + sha256 cellar: :any_skip_relocation, x86_64_linux: "9781a9730ee133a7218f96d5bd720ca96aed67d70bd0ae5ec9d0a56a5036930e" end depends_on "node"