fix(notion): resolve @notionhq/client dependency conflict (#2097)

This commit is contained in:
Terry Zhao
2025-07-12 11:04:06 -07:00
committed by GitHub
parent 50acb4821e
commit b02847ae91
3 changed files with 16 additions and 8 deletions
+5
View File
@@ -43,6 +43,11 @@
"vitest": "^3.1.1"
},
"packageManager": "pnpm@10.8.1",
"pnpm": {
"overrides": {
"@notionhq/client": "4.0.0"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
+3 -3
View File
@@ -26,12 +26,12 @@
},
"devDependencies": {
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*",
"@notionhq/client": "^4.0.0"
"@llamaindex/env": "workspace:*"
},
"peerDependencies": {
"@llamaindex/core": "workspace:*",
"@llamaindex/env": "workspace:*"
"@llamaindex/env": "workspace:*",
"@notionhq/client": "^4.0.0"
},
"dependencies": {
"notion-md-crawler": "^1.0.2"
+8 -5
View File
@@ -4,6 +4,9 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
overrides:
'@notionhq/client': 4.0.0
importers:
.:
@@ -750,7 +753,7 @@ importers:
specifier: ^0.0.11
version: link:../packages/providers/xai
'@notionhq/client':
specifier: ^4.0.0
specifier: 4.0.0
version: 4.0.0
'@pinecone-database/pinecone':
specifier: ^4.0.0
@@ -854,7 +857,7 @@ importers:
specifier: workspace:* || ^1.0.25
version: link:../../packages/readers
'@notionhq/client':
specifier: ^4.0.0
specifier: 4.0.0
version: 4.0.0
llamaindex:
specifier: workspace:* || ^0.8.37
@@ -1365,6 +1368,9 @@ importers:
packages/providers/notion:
dependencies:
'@notionhq/client':
specifier: 4.0.0
version: 4.0.0
notion-md-crawler:
specifier: ^1.0.2
version: 1.0.2
@@ -1375,9 +1381,6 @@ importers:
'@llamaindex/env':
specifier: workspace:*
version: link:../../env
'@notionhq/client':
specifier: ^4.0.0
version: 4.0.0
packages/providers/ollama:
dependencies: