|
1 | 1 | class Asyncapi < Formula |
2 | 2 | desc "All in one CLI for all AsyncAPI tools" |
3 | 3 | homepage "https://github.com/asyncapi/cli" |
4 | | - url "https://registry.npmjs.org/@asyncapi/cli/-/cli-2.16.7.tgz" |
5 | | - sha256 "640f1b843bed71d4e663bf37d337acb384e28bf55491c8d007b2ec6bf04e9f95" |
| 4 | + url "https://registry.npmjs.org/@asyncapi/cli/-/cli-2.16.8.tgz" |
| 5 | + sha256 "6e70d5dfe0edf4726e869ed42ae59047fc958517001d41af32f7dcc088e8ddfa" |
6 | 6 | license "Apache-2.0" |
7 | 7 |
|
8 | 8 | bottle do |
9 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "c1e5906545467115f4a3c4433bb1edb5c5a3a809820b0b729d7564034a76b8b1" |
10 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "c1e5906545467115f4a3c4433bb1edb5c5a3a809820b0b729d7564034a76b8b1" |
11 | | - sha256 cellar: :any_skip_relocation, arm64_ventura: "c1e5906545467115f4a3c4433bb1edb5c5a3a809820b0b729d7564034a76b8b1" |
12 | | - sha256 cellar: :any_skip_relocation, sonoma: "2dc4ed64496568f8250238ef211e05ead02af9b4721a991c3bdfdbf1ab58e84b" |
13 | | - sha256 cellar: :any_skip_relocation, ventura: "2dc4ed64496568f8250238ef211e05ead02af9b4721a991c3bdfdbf1ab58e84b" |
14 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "c1e5906545467115f4a3c4433bb1edb5c5a3a809820b0b729d7564034a76b8b1" |
| 9 | + sha256 cellar: :any, arm64_sequoia: "dfa8bdd6db5e1a13dbdf3b9c6bf5db2e3ebd07aaef5e9d9bcf4264dcdfdf0b6f" |
| 10 | + sha256 cellar: :any, arm64_sonoma: "dfa8bdd6db5e1a13dbdf3b9c6bf5db2e3ebd07aaef5e9d9bcf4264dcdfdf0b6f" |
| 11 | + sha256 cellar: :any, arm64_ventura: "dfa8bdd6db5e1a13dbdf3b9c6bf5db2e3ebd07aaef5e9d9bcf4264dcdfdf0b6f" |
| 12 | + sha256 cellar: :any, sonoma: "30d8d0b2e3e5a13a813610678d60b31028910ef64c03e853dbb771c74796ade7" |
| 13 | + sha256 cellar: :any, ventura: "30d8d0b2e3e5a13a813610678d60b31028910ef64c03e853dbb771c74796ade7" |
| 14 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "2f92e697b3413265a6c327a646bdcb673a2b43be056c46358bf206b941834730" |
15 | 15 | end |
16 | 16 |
|
17 | 17 | depends_on "node" |
18 | 18 |
|
19 | 19 | def install |
20 | 20 | system "npm", "install", *std_npm_args |
21 | 21 | bin.install_symlink Dir["#{libexec}/bin/*"] |
| 22 | + |
| 23 | + # Cleanup .pnpm folder |
| 24 | + node_modules = libexec/"lib/node_modules/@asyncapi/cli/node_modules" |
| 25 | + rm_r (node_modules/"@asyncapi/studio/build/standalone/node_modules/.pnpm") if OS.linux? |
22 | 26 | end |
23 | 27 |
|
24 | 28 | test do |
|
0 commit comments