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

chore(deps): update dependency sherif to v1 #7999

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sherif ^0.10.0 -> ^1.0.0 age adoption passing confidence

Release Notes

QuiiBz/sherif (sherif)

v1.0.0

Compare Source

New unordered-dependencies rule

Dependencies should be ordered alphabetically to prevent complex diffs when installing a new dependency via a package manager. This rule is auto-fixable with --fix:

Screenshot 2024-08-31 at 14 22 09

Automatically run your package manager's install command when autofixing

When running Sherif with --fix, your lockfile might need to be refreshed (e.g. when a dependency version is updated, or moved from normal dependencies to devDependencies). Sherif will now automatically run your package manager's install command for you.

Your package manager is auto-detected based on its lockfile - if none is found, Sherif will ask you to choose one. The following package managers are supported:

  • NPM
  • PNPM
  • Yarn
  • Bun

This feature is disabled in CI environments, and can be disabled with the --no-install flag.

Support nested packages in the workspace using **

Sherif now supports expanding packages defined in the workspace using **. For example, packages/**/* is now a supported syntax:

{
  "name": "example-workspace",
  "workspaces": [
    "packages/*", // already supported
    "packages/**/*" // new!
  ]
}

What's Changed

Full Changelog: QuiiBz/sherif@v0.11.0...v1.0.0

v0.11.0

Compare Source

Ignore a specific dependency and version

Let's say your monorepo has two versions of react: 18.3.1 and 19.0.0. One of your application is expected to use the new react 19.0.0, but you still want to make sure you keep the same react 18.* version on all your other applications

Previously, you had to ignore completely the react dependency from the multiple-dependency-versions rule, which means you would completely loose track of potentially different react 18.* versions:

sherif -i react

But now, you can ignore a specific set of dependency and version, so the multiple-dependency-versions rule will keep detecting any other react version and alert you:

Report dependency versions mismatch with the root package.json

Previously, Sherif didn't check the multiple-dependency-versions in the root package.json. It now does, meaning you can deduplicate more dependency versions if they are present in both a package in a workspace, and the root package.json.

What's Changed

New Contributors

Full Changelog: QuiiBz/sherif@v0.10.0...v0.11.0


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 1, 2024
Copy link

nx-cloud bot commented Sep 1, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 4ed3710. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link

pkg-pr-new bot commented Sep 1, 2024

Open in Stackblitz

More templates

@tanstack/angular-query-devtools-experimental

pnpm add https://pkg.pr.new/@tanstack/angular-query-devtools-experimental@7999

@tanstack/eslint-plugin-query

pnpm add https://pkg.pr.new/@tanstack/eslint-plugin-query@7999

@tanstack/angular-query-experimental

pnpm add https://pkg.pr.new/@tanstack/angular-query-experimental@7999

@tanstack/query-async-storage-persister

pnpm add https://pkg.pr.new/@tanstack/query-async-storage-persister@7999

@tanstack/query-broadcast-client-experimental

pnpm add https://pkg.pr.new/@tanstack/query-broadcast-client-experimental@7999

@tanstack/query-core

pnpm add https://pkg.pr.new/@tanstack/query-core@7999

@tanstack/query-devtools

pnpm add https://pkg.pr.new/@tanstack/query-devtools@7999

@tanstack/query-persist-client-core

pnpm add https://pkg.pr.new/@tanstack/query-persist-client-core@7999

@tanstack/query-sync-storage-persister

pnpm add https://pkg.pr.new/@tanstack/query-sync-storage-persister@7999

@tanstack/react-query-devtools

pnpm add https://pkg.pr.new/@tanstack/react-query-devtools@7999

@tanstack/react-query

pnpm add https://pkg.pr.new/@tanstack/react-query@7999

@tanstack/react-query-next-experimental

pnpm add https://pkg.pr.new/@tanstack/react-query-next-experimental@7999

@tanstack/react-query-persist-client

pnpm add https://pkg.pr.new/@tanstack/react-query-persist-client@7999

@tanstack/solid-query

pnpm add https://pkg.pr.new/@tanstack/solid-query@7999

@tanstack/solid-query-devtools

pnpm add https://pkg.pr.new/@tanstack/solid-query-devtools@7999

@tanstack/solid-query-persist-client

pnpm add https://pkg.pr.new/@tanstack/solid-query-persist-client@7999

@tanstack/svelte-query

pnpm add https://pkg.pr.new/@tanstack/svelte-query@7999

@tanstack/svelte-query-devtools

pnpm add https://pkg.pr.new/@tanstack/svelte-query-devtools@7999

@tanstack/vue-query

pnpm add https://pkg.pr.new/@tanstack/vue-query@7999

@tanstack/svelte-query-persist-client

pnpm add https://pkg.pr.new/@tanstack/svelte-query-persist-client@7999

@tanstack/vue-query-devtools

pnpm add https://pkg.pr.new/@tanstack/vue-query-devtools@7999

commit: 4ed3710

Copy link
Contributor Author

renovate bot commented Sep 4, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.51%. Comparing base (4977296) to head (4ed3710).
Report is 11 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           main    #7999       +/-   ##
=========================================
+ Coverage      0   44.51%   +44.51%     
=========================================
  Files         0      195      +195     
  Lines         0     7279     +7279     
  Branches      0     1632     +1632     
=========================================
+ Hits          0     3240     +3240     
- Misses        0     3662     +3662     
- Partials      0      377      +377     
Components Coverage Δ
@tanstack/angular-query-devtools-experimental ∅ <ø> (∅)
@tanstack/angular-query-experimental 86.58% <ø> (∅)
@tanstack/eslint-plugin-query 86.30% <ø> (∅)
@tanstack/query-async-storage-persister 43.85% <ø> (∅)
@tanstack/query-broadcast-client-experimental ∅ <ø> (∅)
@tanstack/query-codemods 0.00% <ø> (∅)
@tanstack/query-core 92.86% <ø> (∅)
@tanstack/query-devtools 4.86% <ø> (∅)
@tanstack/query-persist-client-core 57.73% <ø> (∅)
@tanstack/query-sync-storage-persister 82.50% <ø> (∅)
@tanstack/react-query 92.50% <ø> (∅)
@tanstack/react-query-devtools 10.00% <ø> (∅)
@tanstack/react-query-next-experimental ∅ <ø> (∅)
@tanstack/react-query-persist-client 100.00% <ø> (∅)
@tanstack/solid-query 78.20% <ø> (∅)
@tanstack/solid-query-devtools ∅ <ø> (∅)
@tanstack/solid-query-persist-client 100.00% <ø> (∅)
@tanstack/svelte-query 87.33% <ø> (∅)
@tanstack/svelte-query-devtools ∅ <ø> (∅)
@tanstack/svelte-query-persist-client 100.00% <ø> (∅)
@tanstack/vue-query 71.94% <ø> (∅)
@tanstack/vue-query-devtools ∅ <ø> (∅)

@lachlancollins lachlancollins merged commit 0f86b4d into main Sep 4, 2024
8 checks passed
@lachlancollins lachlancollins deleted the renovate/sherif-1.x branch September 4, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file package: solid-query
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant