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

feat: add yarn berry support #679

Draft
wants to merge 23 commits into
base: develop
Choose a base branch
from

Commits on May 3, 2024

  1. feat: add yarn berry support

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    fe3feca View commit details
    Browse the repository at this point in the history
  2. test: fix unit tests

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    03e5a2b View commit details
    Browse the repository at this point in the history
  3. test: run mockgen for npm, supply, and yarn mock_test.go

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    c47b013 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    18add18 View commit details
    Browse the repository at this point in the history
  5. test: update yarn_test.go to cover yarn berry

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    08dfec6 View commit details
    Browse the repository at this point in the history
  6. refactor: revert to separate s.IsVendored check

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    966f9e8 View commit details
    Browse the repository at this point in the history
  7. chore: revert variable name

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    f02197c View commit details
    Browse the repository at this point in the history
  8. test: try disabling global cache by writing to the file instead of ex…

    …ecuting a command
    
    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    47ef5a1 View commit details
    Browse the repository at this point in the history
  9. chore: better messages for the user

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    18cba95 View commit details
    Browse the repository at this point in the history
  10. style: restore test import order

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    0955a63 View commit details
    Browse the repository at this point in the history
  11. test: force global cache to be enabled for the relevant tests

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    8a9f29a View commit details
    Browse the repository at this point in the history
  12. test: add logging for unit tests in GH actions, no idea why it is fai…

    …ling
    
    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    7a72e84 View commit details
    Browse the repository at this point in the history
  13. test: change logging because I'm still baffled why this fails in CI

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    d38507c View commit details
    Browse the repository at this point in the history
  14. fix: run commands where stdout needs to be parsed with TERM=dumb to e…

    …nsure it won't have ANSI color escape codes
    
    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    66765ba View commit details
    Browse the repository at this point in the history
  15. fix: manually parse out ANSI escape codes using regexp

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    27d1e44 View commit details
    Browse the repository at this point in the history
  16. fix: resolved term issues and cleaned up code (#1)

    Signed-off-by: Jeroen Claassens <[email protected]>
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    ce7bdf2 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e03ae46 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    93e0975 View commit details
    Browse the repository at this point in the history
  19. chore: change log line

    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    7056ecc View commit details
    Browse the repository at this point in the history
  20. fix: check if s.IsVendored is enabled before telling people to vend…

    …or their dependencies
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    138cecc View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    5f7191b View commit details
    Browse the repository at this point in the history
  22. fix: better message for when prebuild is detected

    Yarn in PnP mode strictly speaking does not use node_modules so this way the log line doesn't "lie" about what it may have found
    favna committed May 3, 2024
    Configuration menu
    Copy the full SHA
    2d4c4f4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2c0f1b4 View commit details
    Browse the repository at this point in the history