browserslist / update-db

CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
https://browsersl.ist/
MIT License
365 stars 71 forks source link

Feat(yarn-detection): detect the presence of yarn and hadoop installations #34

Closed mralaminahamed closed 7 months ago

mralaminahamed commented 7 months ago

This pull request addresses two main issues:

  1. Fix: yarnpkg not found with collect latest info

    • The issue where the yarnpkg command was not found when trying to collect the latest information has been resolved.
    • The problem was caused by a missing dependency or an outdated version of Yarn installed on the system.
  2. Feat(yarn-detection): detect the presence of yarn and hadoop installations

    • A new feature has been added to detect the presence of yarn and hadoop installations in the current environment.
    • This feature helps to avoid potential conflicts or confusion caused by the yarn CLI name being used by other DevOps tools.

Changes:

How to Test:

  1. Follow the updated installation instructions in the README file to install the required dependencies, including Yarn.
  2. Run the build script or the command that was previously failing due to the missing yarnpkg command.
  3. Verify that the build process completes successfully and that the latest information is collected correctly.
  4. Test the new yarn and hadoop detection feature by running the appropriate command or script.
  5. Ensure that the detection feature correctly identifies the presence or absence of yarn and hadoop installations.

Additional Notes:

Closes https://github.com/browserslist/update-db/issues/27, https://github.com/browserslist/update-db/issues/33

Please review the changes and let me know if you have any questions or concerns.

mralaminahamed commented 7 months ago

@ai, Kindly review the PR at your convenience.

I have fix testing issue from previous PR #32.

ai commented 7 months ago

Thanks. Released in 1.0.14.

mralaminahamed commented 7 months ago

working as expected

image