[PR #942] [MERGED] Fix unsync-similar-dependencies error #1716

Closed
opened 2026-03-02 11:58:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/942
Author: @henrikno
Created: 1/28/2025
Status: Merged
Merged: 1/28/2025
Merged by: @MohamedBassem

Base: mainHead: fix-unsynced-dependencies


📝 Commits (2)

  • 6b7d972 Fix unsync-similar-dependencies error
  • aeaba9f update lockfile

📊 Changes

2 files changed (+12 additions, -12 deletions)

View changed files

📝 apps/web/package.json (+1 -1)
📝 pnpm-lock.yaml (+11 -11)

📄 Description

Running pnpm i or pnpm lint:ws fails with

../.. postinstall:  ⨯ error Similar Tanstack Query dependencies should use the same version. unsync-similar-dependencies
../.. postinstall:   │ {
../.. postinstall:   │   "dependencies": {
../.. postinstall:   ~      "@tanstack/react-query": "^5.24.8",
../.. postinstall:   ~      "@tanstack/react-query-devtools": "^5.21.0"
../.. postinstall:   │   }
../.. postinstall:   │ }

This is a sherif rule that just got added
https://newreleases.io/project/npm/sherif/release/1.2.0
and the lint is using using sherif@latest so it got picked up automatically.

Discovered when running the proxmox install script https://github.com/community-scripts/ProxmoxVE/issues/1786
but installing using the install script is also affected. This also affects existing releases. Should probably pin sherif to avoid that.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/942 **Author:** [@henrikno](https://github.com/henrikno) **Created:** 1/28/2025 **Status:** ✅ Merged **Merged:** 1/28/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `fix-unsynced-dependencies` --- ### 📝 Commits (2) - [`6b7d972`](https://github.com/karakeep-app/karakeep/commit/6b7d972313d70ee367999d2753847ab843bd986d) Fix unsync-similar-dependencies error - [`aeaba9f`](https://github.com/karakeep-app/karakeep/commit/aeaba9f3093215821319e1be63fe35bc3d1cc15a) update lockfile ### 📊 Changes **2 files changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+11 -11) </details> ### 📄 Description Running `pnpm i` or `pnpm lint:ws` fails with ``` ../.. postinstall: ⨯ error Similar Tanstack Query dependencies should use the same version. unsync-similar-dependencies ../.. postinstall: │ { ../.. postinstall: │ "dependencies": { ../.. postinstall: ~ "@tanstack/react-query": "^5.24.8", ../.. postinstall: ~ "@tanstack/react-query-devtools": "^5.21.0" ../.. postinstall: │ } ../.. postinstall: │ } ``` This is a sherif rule that just got added https://newreleases.io/project/npm/sherif/release/1.2.0 and the lint is using using sherif@latest so it got picked up automatically. Discovered when running the proxmox install script https://github.com/community-scripts/ProxmoxVE/issues/1786 but installing using the [install script](https://docs.hoarder.app/Installation/debuntu) is also affected. This also affects existing releases. Should probably pin sherif to avoid that. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:58:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1716
No description provided.