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(packageRules): matchJsonata #31826

Merged
merged 28 commits into from
Oct 8, 2024
Merged

feat(packageRules): matchJsonata #31826

merged 28 commits into from
Oct 8, 2024

Commits on Oct 7, 2024

  1. feat(packageRules): matchJsonata

    Fixes #31820
    
    Add `matchJsonata` configuration option to `packageRules`.
    
    * Add new option `matchJsonata` of type string with parent `packageRules` in `lib/config/options/index.ts`.
    * Create `JsonataMatcher` class in `lib/util/package-rules/jsonata.ts` extending `Matcher` and implement `matches` method using JSONata.
    * Import `JsonataMatcher` in `lib/util/package-rules/matchers.ts` and add it to the `matchers` array.
    * Add tests for `JsonataMatcher` class in `lib/util/package-rules/jsonata.spec.ts`.
    * Update types to include `matchJsonata` under `packageRules` in `lib/config/types.ts`.
    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7d81ee1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd0e881 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7fc673 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1fbfe97 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2bc5de8 View commit details
    Browse the repository at this point in the history
  6. types

    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e6991af View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f15badf View commit details
    Browse the repository at this point in the history
  8. typo

    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    846fb2a View commit details
    Browse the repository at this point in the history
  9. fix/simplify ereror case

    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    39067b4 View commit details
    Browse the repository at this point in the history
  10. coverage

    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    56e3e24 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ed13b7f View commit details
    Browse the repository at this point in the history
  12. abstract evaluate

    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    271f723 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    359374d View commit details
    Browse the repository at this point in the history
  14. use abstraction

    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    bd30d92 View commit details
    Browse the repository at this point in the history
  15. less abstraction

    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    08bf7ec View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f4df5d1 View commit details
    Browse the repository at this point in the history
  17. hash input

    rarkins committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    a38d6e4 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f7ac694 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    01f0ef0 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    49e8ee2 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. add validation

    rarkins committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    3aa2261 View commit details
    Browse the repository at this point in the history
  2. allow multi

    rarkins committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    08c92f1 View commit details
    Browse the repository at this point in the history
  3. update docs for array

    rarkins committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    af99565 View commit details
    Browse the repository at this point in the history
  4. fix lint

    rarkins committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b743319 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b912051 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bb2f674 View commit details
    Browse the repository at this point in the history
  7. Update lib/config/validation.ts

    Co-authored-by: Sebastian Poxhofer <[email protected]>
    rarkins and secustor authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7ad1bc7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    20f48a6 View commit details
    Browse the repository at this point in the history