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

Move GraphQL to peer dependencies #1705

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions packages/sitecore-jss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@types/node": "^22.9.0",
"@types/sinon": "^17.0.3",
"@types/url-parse": "1.4.8",
"axios": "^0.21.1",
"chai": "^4.2.0",
"chai-spies": "^1.0.0",
"chai-string": "^1.5.0",
Expand All @@ -57,12 +58,15 @@
"dependencies": {
"chalk": "^4.1.0",
"debug": "^4.3.1",
"graphql": "^16.5.0",
"graphql-request": "^4.2.0",
"lodash.unescape": "^4.0.1",
"memory-cache": "^0.2.0",
"url-parse": "^1.5.9"
},
"peerDependencies": {
"axios": "^0.21.1",
"graphql": "^16.5.0",
"graphql-request": "^4.2.0"
},
"description": "",
"types": "types/index.d.ts",
"gitHead": "2f4820efddf4454eeee58ed1b2cc251969efdf5b",
Expand Down
56 changes: 15 additions & 41 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6930,6 +6930,7 @@ __metadata:
"@types/node": ^22.9.0
"@types/sinon": ^17.0.3
"@types/url-parse": 1.4.8
axios: ^0.21.1
chai: ^4.2.0
chai-spies: ^1.0.0
chai-string: ^1.5.0
Expand All @@ -6938,8 +6939,6 @@ __metadata:
del-cli: ^5.0.0
eslint: ^8.56.0
eslint-plugin-jsdoc: 48.7.0
graphql: ^16.5.0
graphql-request: ^4.2.0
lodash.unescape: ^4.0.1
memory-cache: ^0.2.0
mocha: ^10.2.0
Expand All @@ -6950,6 +6949,10 @@ __metadata:
tslib: ^1.10.0
typescript: ~5.6.3
url-parse: ^1.5.9
peerDependencies:
axios: ^0.21.1
graphql: ^16.5.0
graphql-request: ^4.2.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -9912,6 +9915,15 @@ __metadata:
languageName: node
linkType: hard

"axios@npm:^0.21.1":
version: 0.21.4
resolution: "axios@npm:0.21.4"
dependencies:
follow-redirects: ^1.14.0
checksum: 44245f24ac971e7458f3120c92f9d66d1fc695e8b97019139de5b0cc65d9b8104647db01e5f46917728edfc0cfd88eb30fc4c55e6053eef4ace76768ce95ff3c
languageName: node
linkType: hard

"axios@npm:^1.0.0":
version: 1.7.7
resolution: "axios@npm:1.7.7"
Expand Down Expand Up @@ -14935,13 +14947,6 @@ __metadata:
languageName: node
linkType: hard

"extract-files@npm:^9.0.0":
version: 9.0.0
resolution: "extract-files@npm:9.0.0"
checksum: c31781d090f8d8f62cc541f1023b39ea863f24bd6fb3d4011922d71cbded70cef8191f2b70b43ec6cb5c5907cdad1dc5e9f29f78228936c10adc239091d8ab64
languageName: node
linkType: hard

"extract-zip@npm:^2.0.1":
version: 2.0.1
resolution: "extract-zip@npm:2.0.1"
Expand Down Expand Up @@ -15348,7 +15353,7 @@ __metadata:
languageName: node
linkType: hard

"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.15.6":
"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.15.6":
version: 1.15.9
resolution: "follow-redirects@npm:1.15.9"
peerDependenciesMeta:
Expand Down Expand Up @@ -15401,17 +15406,6 @@ __metadata:
languageName: node
linkType: hard

"form-data@npm:^3.0.0":
version: 3.0.2
resolution: "form-data@npm:3.0.2"
dependencies:
asynckit: ^0.4.0
combined-stream: ^1.0.8
mime-types: ^2.1.12
checksum: 25ffdeed693c8fc59b56082d15ad63f11688fabac2d14918fb339170020f66295e520a6659f3a698217f15c7924fbc593117ecd61d8391a146ea06d686793622
languageName: node
linkType: hard

"form-data@npm:^4.0.0":
version: 4.0.1
resolution: "form-data@npm:4.0.1"
Expand Down Expand Up @@ -16039,26 +16033,6 @@ __metadata:
languageName: node
linkType: hard

"graphql-request@npm:^4.2.0":
version: 4.3.0
resolution: "graphql-request@npm:4.3.0"
dependencies:
cross-fetch: ^3.1.5
extract-files: ^9.0.0
form-data: ^3.0.0
peerDependencies:
graphql: 14 - 16
checksum: 3124afd01aee781cd5a2e9ac30063526b677a6754032566104fc36270b5f9be03f17a32e49f34c71ca968d533151550c37f7a0194d11c36ff59977bd73e2abc3
languageName: node
linkType: hard

"graphql@npm:^16.5.0":
version: 16.9.0
resolution: "graphql@npm:16.9.0"
checksum: 8cb3d54100e9227310383ce7f791ca48d12f15ed9f2021f23f8735f1121aafe4e5e611a853081dd935ce221724ea1ae4638faef5d2921fb1ad7c26b5f46611e9
languageName: node
linkType: hard

"growly@npm:^1.3.0":
version: 1.3.0
resolution: "growly@npm:1.3.0"
Expand Down
Loading