Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yo 5.0.0 (new formula) #165919

Merged
merged 2 commits into from Mar 18, 2024
Merged

yo 5.0.0 (new formula) #165919

merged 2 commits into from Mar 18, 2024

Conversation

Anselmoo
Copy link
Contributor

Introduce Yo formula version 5.0.0, see also: https://yeoman.io

This commit introduces the Yo formula version 5.0.0. The details include:

  • The URL points to the version 5.0.0 of Yo in the npm registry.
  • The SHA256 hash matches the version's hash.
  • The formula depends on Node.
  • Three tests have been added to check the output of yo --help, yo --version, and yo doctor commands.

The Yo formula is a Homebrew formula for the Yo CLI tool, which is used for running Yeoman generators.

The tests ensure that the Yo tool is installed correctly and functioning as expected. They check the usage instructions, version number, and the output of the yo doctor command.

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@github-actions github-actions bot added autosquash Automatically squash pull request commits according to Homebrew style. nodejs Node or npm use is a significant feature of the PR or issue new formula PR adds a new formula to Homebrew/homebrew-core labels Mar 12, 2024
@chenrui333 chenrui333 changed the title Add Yo formula for running Yeoman generators yo 5.0.0 (new formula) Mar 12, 2024
Formula/y/yo.rb Outdated Show resolved Hide resolved
Formula/y/yo.rb Outdated Show resolved Hide resolved
@Anselmoo Anselmoo closed this Mar 12, 2024
@Anselmoo Anselmoo reopened this Mar 12, 2024
@github-actions github-actions bot added the automerge-skip `brew pr-automerge` will skip this pull request label Mar 12, 2024
@Anselmoo Anselmoo force-pushed the yeoman branch 3 times, most recently from b092663 to 7fe38fe Compare March 13, 2024 05:10
@github-actions github-actions bot added macos-only Formula depends on macOS and removed automerge-skip `brew pr-automerge` will skip this pull request macos-only Formula depends on macOS labels Mar 13, 2024
@Anselmoo Anselmoo mentioned this pull request Mar 15, 2024
6 tasks
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Mar 18, 2024
@chenrui333 chenrui333 added ready to merge PR can be merged once CI is green CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. labels Mar 18, 2024
Add Yo formula for running Yeoman generators

Introduce **Yo** formula version `5.0.0`, see also: https://yeoman.io

This commit introduces the Yo formula version `5.0.0`. The details include:

- The URL points to the version `5.0.0` of Yo in the npm registry.
- The SHA256 hash matches the version's hash.
- The formula depends on Node.
- Three tests have been added to check the output of `yo --help`, `yo --version`, and `yo doctor` commands.

The **Yo** formula is a Homebrew formula for the Yo CLI tool, which is used for running Yeoman generators.

> The tests ensure that the Yo tool is installed correctly and functioning as expected. They check the usage instructions, version number, and the output of the `yo doctor` command.

Update Yo formula test

Fix assert_match syntax in test method
Merge three single tests into one

Fix conflict with cask: yo

- Remove unnecessary test assertion
- Change to builtin version test

Add macOS only dependency to Yo formula

Revert "Add macOS only dependency to Yo formula"

This reverts commit fde6b20.

Signed-off-by: Rui Chen <rui@chenrui.dev>

autobump: add yo

Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333 chenrui333 removed the automerge-skip `brew pr-automerge` will skip this pull request label Mar 18, 2024
@chenrui333
Copy link
Member

@Anselmoo, thanks for your contribution to Homebrew! 🎉 🥇

Without awesome contributors like you, it would be impossible to maintain Homebrew to the high level of quality users have come to expect. Thank you!!!!

Copy link
Contributor

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Mar 18, 2024
@BrewTestBot BrewTestBot added this pull request to the merge queue Mar 18, 2024
Merged via the queue into Homebrew:master with commit 7f92b47 Mar 18, 2024
13 checks passed
@Anselmoo
Copy link
Contributor Author

@Anselmoo, thanks for your contribution to Homebrew! 🎉 🥇

Without awesome contributors like you, it would be impossible to maintain Homebrew to the high level of quality users have come to expect. Thank you!!!!

Thank you @chenrui333 for being patient with me 👍

@github-actions github-actions bot added the outdated PR was locked due to age label Apr 19, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autobump CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. new formula PR adds a new formula to Homebrew/homebrew-core nodejs Node or npm use is a significant feature of the PR or issue outdated PR was locked due to age ready to merge PR can be merged once CI is green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants