setup-cpp/packages/setup-brew
Amin Yahyaabadi 19bf09e888
feat!: support addAptKey options through installAptPack
BREAKING no default keys are added during apt installations anymore. Explicitly pass the keys needed.
BREAKING the arguments to addAptKeyViaServer and addAptKeyViaDownload has changed. addAptKeyViaDownload renamed to addAptKeyViaURL
2024-08-28 13:55:40 -07:00
..
__tests__ feat: introduce setup-brew package 2024-08-23 15:20:37 -07:00
src feat: introduce setup-brew package 2024-08-23 15:20:37 -07:00
.eslintrc.json feat: introduce setup-brew package 2024-08-23 15:20:37 -07:00
README.md feat: introduce setup-brew package 2024-08-23 15:20:37 -07:00
jest.config.mjs fix: add module type to packages + fix running the packages tests 2024-08-26 14:46:06 -07:00
package.json feat!: support addAptKey options through installAptPack 2024-08-28 13:55:40 -07:00
tsconfig.json feat: introduce setup-brew package 2024-08-23 15:20:37 -07:00

README.md

setup-brew

Version License: Apache--2.0

Setup brew and brew packages

Install

npm install --save setup-brew

Usage

InstallationInfo (type)

The information about an installation result

SetupBrewOptions (type)

setupBrew (function)

Parameters:

  • options (SetupBrewOptions)

returns: Promise

getBrewBinDir (function)

Get the path where brew is installed

returns: "/opt/homebrew/bin/" | "/usr/local/bin/" | "/home/linuxbrew/.linuxbrew/bin/"

BrewPackOptions (type)

installBrewPack (function)

A function that installs a package using brew

Parameters:

  • name (string)
  • version (string)
  • givenOptions (BrewPackOptions)

returns: Promise

🤝 Contributing

You can sponsor my work here:

https://github.com/sponsors/aminya

Pull requests, issues and feature requests are welcome. See the Contributing guide.