-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from alphasights/VT/lerna
Adds lerna, .gitignore, updates README
- Loading branch information
Showing
3 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
require "language/node" | ||
|
||
class Lerna < Formula | ||
desc "Tool for managing JavaScript projects with multiple packages" | ||
homepage "https://lerna.js.org" | ||
url "https://registry.npmjs.org/lerna/-/lerna-5.1.8.tgz" | ||
sha256 "96a2982e085ac6aa6966a71a615143f37ca923b80eb79c232cafcfe2594f8b2e" | ||
license "MIT" | ||
|
||
bottle do | ||
sha256 cellar: :any_skip_relocation, arm64_ventura: "848bd852dff3144fbb64e86d2360e7fdf48956cad43d2db8f6ab07a2ec32cbf0" | ||
sha256 cellar: :any_skip_relocation, arm64_monterey: "3c83fd1b45bedae4abee157231b5fe78331ac14948e3e99c183a71eda10ce4d0" | ||
sha256 cellar: :any_skip_relocation, arm64_big_sur: "3c83fd1b45bedae4abee157231b5fe78331ac14948e3e99c183a71eda10ce4d0" | ||
sha256 cellar: :any_skip_relocation, ventura: "e543b304f8cae65e7910c34ad9199b350a0fc4b47be6ce062e9402abde4f4d0c" | ||
sha256 cellar: :any_skip_relocation, monterey: "a6c8f333fd0d643184f63379826daf456f29566fd754393fd3330837abf93d6a" | ||
sha256 cellar: :any_skip_relocation, big_sur: "a6c8f333fd0d643184f63379826daf456f29566fd754393fd3330837abf93d6a" | ||
sha256 cellar: :any_skip_relocation, catalina: "a6c8f333fd0d643184f63379826daf456f29566fd754393fd3330837abf93d6a" | ||
sha256 cellar: :any_skip_relocation, x86_64_linux: "3c83fd1b45bedae4abee157231b5fe78331ac14948e3e99c183a71eda10ce4d0" | ||
end | ||
|
||
depends_on "node" | ||
|
||
def install | ||
system "npm", "install", *Language::Node.std_npm_install_args(libexec) | ||
bin.install_symlink Dir["#{libexec}/bin/*"] | ||
end | ||
|
||
test do | ||
assert_match version.to_s, shell_output("#{bin}/lerna --version") | ||
|
||
output = shell_output("#{bin}/lerna init --independent 2>&1") | ||
assert_match "lerna success Initialized Lerna files", output | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
# tap | ||
Homebrew repository for alphasights dependencies | ||
Homebrew repository for alphasights legacy dependencies | ||
|
||
# Example on how to install `lerna` | ||
## Uninstall any old versions | ||
`brew uninstall -f lerna` | ||
## Add this repository | ||
`brew tap alphasights/tap https://github.com/alphasights/tap` | ||
## Install this reposotory's specific version | ||
`brew install alphasights/tap/lerna` |