Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Restore @spree/sdk-core dependency in SDK package.json

Damian Legawiec0aca12067a9c
diff --git a/packages/sdk/package.json b/packages/sdk/package.json
index fbffb1018a..4ab8ecc3e7 100644
--- a/packages/sdk/package.json
+++ b/packages/sdk/package.json
@@ -91,13 +91,14 @@
"devDependencies": {
"@changesets/changelog-github": "^0.6.0",
"@changesets/cli": "^2.30.0",
- "@types/node": "^25.5.0",
- "@vitest/coverage-v8": "^4.1.2",
- "msw": "^2.12.14",
- "tsup": "^8.0.0",
- "tsx": "^4.0.0",
+ "@spree/sdk-core": "workspace:*",
+ "@types/node": "^25.5.2",
+ "@vitest/coverage-v8": "^4.1.4",
+ "msw": "^2.13.2",
+ "tsup": "^8.5.1",
+ "tsx": "^4.21.0",
"typescript": "^6.0.2",
- "vitest": "^4.1.2",
+ "vitest": "^4.1.4",
"zod": "^4.3.6"
},
"peerDependencies": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9b1f660398..71871d286c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -203,7 +203,7 @@ importers:
version: 6.0.2
vitest:
specifier: ^4.1.4
packages/create-spree-app:
dependencies:
@@ -240,13 +240,13 @@ importers:
version: 6.0.2
vitest:
specifier: ^4.1.4
packages/docs:
devDependencies:
vitest:
specifier: ^4.1.4
packages/sdk:
devDependencies:
@@ -256,27 +256,30 @@ importers:
'@changesets/cli':
specifier: ^2.30.0
version: 2.30.0(@types/[email protected])
+ '@spree/sdk-core':
+ specifier: workspace:*
+ version: link:../sdk-core
'@types/node':
- specifier: ^25.5.0
+ specifier: ^25.5.2
version: 25.5.2
'@vitest/coverage-v8':
- specifier: ^4.1.2
+ specifier: ^4.1.4
+ version: 4.1.4([email protected])
msw:
- specifier: ^2.12.14
- version: 2.12.14(@types/[email protected])([email protected])
+ specifier: ^2.13.2
+ version: 2.13.2(@types/[email protected])([email protected])
tsup:
- specifier: ^8.0.0
+ specifier: ^8.5.1
tsx:
- specifier: ^4.0.0
+ specifier: ^4.21.0
version: 4.21.0
typescript:
specifier: ^6.0.2
version: 6.0.2
vitest:
- specifier: ^4.1.2
+ specifier: ^4.1.4
zod:
specifier: ^4.3.6
version: 4.3.6
@@ -2271,12 +2274,18 @@ packages:
'@vitest/browser':
optional: true
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-x7FptB5oDruxNPDNY2+S8tCh0pcq7ymCe1gTHcsp733jYjrJl8V1gMUlVysuCD9Kz46Xz9t1akkv08dPcYDs1w==}
+ peerDependencies:
+ '@vitest/browser': 4.1.4
+ vitest: 4.1.4
+ peerDependenciesMeta:
+ '@vitest/browser':
+ optional: true
+
'@vitest/[email protected]':
resolution: {integrity: sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-gbu+7B0YgUJ2nkdsRJrFFW6X7NTP44WlhiclHniUhxADQJH5Szt9mZ9hWnJPJ8YwOK5zUOSSlSvyzRf0u1DSBQ==}
-
'@vitest/[email protected]':
resolution: {integrity: sha512-iPBpra+VDuXmBFI3FMKHSFXp3Gx5HfmSCE8X67Dn+bwephCnQCaB7qWK2ldHa+8ncN8hJU8VTMcxjPpyMkUjww==}
@@ -2291,17 +2300,6 @@ packages:
vite:
optional: true
- '@vitest/[email protected]':
- resolution: {integrity: sha512-Ize4iQtEALHDttPRCmN+FKqOl2vxTiNUhzobQFFt/BM1lRUTG7zRCLOykG/6Vo4E4hnUdfVLo5/eqKPukcWW7Q==}
- peerDependencies:
- msw: ^2.4.9
- vite: ^6.0.0 || ^7.0.0 || ^8.0.0
- peerDependenciesMeta:
- msw:
- optional: true
- vite:
- optional: true
-
'@vitest/[email protected]':
resolution: {integrity: sha512-R9HTZBhW6yCSGbGQnDnH3QHfJxokKN4KB+Yvk9Q1le7eQNYwiCyKxmLmurSpFy6BzJanSLuEUDrD+j97Q+ZLPg==}
peerDependencies:
@@ -2325,27 +2323,18 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-rpk9y12PGa22Jg6g5M3UVVnTS7+zycIGk9ZNGN+m6tZHKQb7jrP7/77WfZy13Y/EUDd52NDsLRQhYKtv7XfPQw==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-Gr+FQan34CdiYAwpGJmQG8PgkyFVmARK8/xSijia3eTFgVfpcpztWLuP6FttGNfPLJhaZVP/euvujeNYar36OQ==}
-
'@vitest/[email protected]':
resolution: {integrity: sha512-xTp7VZ5aXP5ZJrn15UtJUWlx6qXLnGtF6jNxHepdPHpMfz/aVPx+htHtgcAL2mDXJgKhpoo2e9/hVJsIeFbytQ==}
'@vitest/[email protected]':
resolution: {integrity: sha512-PCiV0rcl7jKQjbgYqjtakly6T1uwv/5BQ9SwBLekVg/EaYeQFPiXcgrC2Y7vDMA8dM1SUEAEV82kgSQIlXNMvA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-g7yfUmxYS4mNxk31qbOYsSt2F4m1E02LFqO53Xpzg3zKMhLAPZAjjfyl9e6z7HrW6LvUdTwAQR3HHfLjpko16A==}
-
'@vitest/[email protected]':
resolution: {integrity: sha512-MCjCFgaS8aZz+m5nTcEcgk/xhWv0rEH4Yl53PPlMXOZ1/Ka2VcZU6CJ+MgYCZbcJvzGhQRjVrGQNZqkGPttIKw==}
'@vitest/[email protected]':
resolution: {integrity: sha512-cbQt3PTSD7P2OARdVW3qWER5EGq7PHlvE+QfzSC0lbwO+xnt7+XH06ZzFjFRgzUX//JmpxrCu92VdwvEPlWSNw==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-DU4fBnbVCJGNBwVA6xSToNXrkZNSiw59H8tcuUspVMsBDBST4nfvsPsEHDHGtWRRnqBERBQu7TrTKskmjqTXKA==}
-
'@vitest/[email protected]':
resolution: {integrity: sha512-XxNdAsKW7C+FLydqFJLb5KhJtl3PGCMmYwFRfhvIgxJvLSXhhVI1zM8f1qD3Zg7RCjTSzDVyct6sghs9UEgBEQ==}
@@ -3491,6 +3480,16 @@ packages:
typescript:
optional: true
+ resolution: {integrity: sha512-go2H1TIERKkC48pXiwec5l6sbNqYuvqOk3/vHGo1Zd+pq/H63oFawDQerH+WQdUw/flJFHDG7F+QdWMwhntA/A==}
+ engines: {node: '>=18'}
+ hasBin: true
+ peerDependencies:
+ typescript: '>= 4.8.x'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==}
engines: {node: ^18.17.0 || >=20.5.0}
@@ -4462,41 +4461,6 @@ packages:
jsdom:
optional: true
- resolution: {integrity: sha512-xjR1dMTVHlFLh98JE3i/f/WePqJsah4A0FK9cc8Ehp9Udk0AZk6ccpIZhh1qJ/yxVWRZ+Q54ocnD8TXmkhspGg==}
- engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
- hasBin: true
- peerDependencies:
- '@edge-runtime/vm': '*'
- '@opentelemetry/api': ^1.9.0
- '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0
- '@vitest/browser-playwright': 4.1.2
- '@vitest/browser-preview': 4.1.2
- '@vitest/browser-webdriverio': 4.1.2
- '@vitest/ui': 4.1.2
- happy-dom: '*'
- jsdom: '*'
- vite: ^6.0.0 || ^7.0.0 || ^8.0.0
- peerDependenciesMeta:
- '@edge-runtime/vm':
- optional: true
- '@opentelemetry/api':
- optional: true
- '@types/node':
- optional: true
- '@vitest/browser-playwright':
- optional: true
- '@vitest/browser-preview':
- optional: true
- '@vitest/browser-webdriverio':
- optional: true
- '@vitest/ui':
- optional: true
- happy-dom:
- optional: true
- jsdom:
- optional: true
-
resolution: {integrity: sha512-tFuJqTxKb8AvfyqMfnavXdzfy3h3sWZRWwfluGbkeR7n0HUev+FmNgZ8SDrRBTVrVCjgH5cA21qGbCffMNtWvg==}
engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
@@ -6740,10 +6704,10 @@ snapshots:
tinyrainbow: 3.1.0
dependencies:
'@bcoe/v8-coverage': 1.0.2
- '@vitest/utils': 4.1.2
+ '@vitest/utils': 4.1.4
ast-v8-to-istanbul: 1.0.0
istanbul-lib-coverage: 3.2.2
istanbul-lib-report: 3.0.1
@@ -6752,7 +6716,7 @@ snapshots:
obug: 2.1.1
std-env: 4.0.0
tinyrainbow: 3.1.0
'@vitest/[email protected]':
dependencies:
@@ -6763,15 +6727,6 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
- '@vitest/[email protected]':
- dependencies:
- '@standard-schema/spec': 1.1.0
- '@types/chai': 5.2.3
- '@vitest/spy': 4.1.2
- '@vitest/utils': 4.1.2
- chai: 6.2.2
- tinyrainbow: 3.1.0
-
'@vitest/[email protected]':
dependencies:
'@standard-schema/spec': 1.1.0
@@ -6790,22 +6745,13 @@ snapshots:
msw: 2.12.14(@types/[email protected])([email protected])
- dependencies:
- '@vitest/spy': 4.1.2
- estree-walker: 3.0.3
- magic-string: 0.30.21
- optionalDependencies:
- msw: 2.12.14(@types/[email protected])([email protected])
-
dependencies:
'@vitest/spy': 4.1.4
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
- msw: 2.12.14(@types/[email protected])([email protected])
+ msw: 2.13.2(@types/[email protected])([email protected])
'@vitest/[email protected]':
@@ -6825,11 +6771,6 @@ snapshots:
'@vitest/utils': 4.0.18
pathe: 2.0.3
- '@vitest/[email protected]':
- dependencies:
- '@vitest/utils': 4.1.2
- pathe: 2.0.3
-
'@vitest/[email protected]':
dependencies:
'@vitest/utils': 4.1.4
@@ -6841,13 +6782,6 @@ snapshots:
magic-string: 0.30.21
pathe: 2.0.3
- '@vitest/[email protected]':
- dependencies:
- '@vitest/pretty-format': 4.1.2
- '@vitest/utils': 4.1.2
- magic-string: 0.30.21
- pathe: 2.0.3
-
'@vitest/[email protected]':
dependencies:
'@vitest/pretty-format': 4.1.4
@@ -6857,8 +6791,6 @@ snapshots:
'@vitest/[email protected]': {}
- '@vitest/[email protected]': {}
-
'@vitest/[email protected]': {}
'@vitest/[email protected]':
@@ -7911,6 +7843,31 @@ snapshots:
transitivePeerDependencies:
- '@types/node'
+ dependencies:
+ '@inquirer/confirm': 5.1.21(@types/[email protected])
+ '@mswjs/interceptors': 0.41.2
+ '@open-draft/deferred-promise': 2.2.0
+ '@types/statuses': 2.0.6
+ cookie: 1.1.1
+ graphql: 16.13.2
+ headers-polyfill: 4.0.3
+ is-node-process: 1.2.0
+ outvariant: 1.4.3
+ path-to-regexp: 6.3.0
+ picocolors: 1.1.1
+ rettime: 0.10.1
+ statuses: 2.0.2
+ strict-event-emitter: 0.5.1
+ tough-cookie: 6.0.0
+ type-fest: 5.4.4
+ until-async: 3.0.2
+ yargs: 17.7.2
+ optionalDependencies:
+ typescript: 6.0.2
+ transitivePeerDependencies:
+ - '@types/node'
+
@@ -8937,37 +8894,10 @@ snapshots:
- tsx
- yaml
- dependencies:
- '@vitest/expect': 4.1.2
- '@vitest/pretty-format': 4.1.2
- '@vitest/runner': 4.1.2
- '@vitest/snapshot': 4.1.2
- '@vitest/spy': 4.1.2
- '@vitest/utils': 4.1.2
- es-module-lexer: 2.0.0
- expect-type: 1.3.0
- magic-string: 0.30.21
- obug: 2.1.1
- pathe: 2.0.3
- picomatch: 4.0.4
- std-env: 4.0.0
- tinybench: 2.9.0
- tinyexec: 1.1.1
- tinyglobby: 0.2.16
- tinyrainbow: 3.1.0
- why-is-node-running: 2.3.0
- optionalDependencies:
- '@types/node': 25.5.2
- transitivePeerDependencies:
- - msw
-
dependencies:
'@vitest/expect': 4.1.4
'@vitest/pretty-format': 4.1.4
'@vitest/runner': 4.1.4
'@vitest/snapshot': 4.1.4
@@ -8988,6 +8918,7 @@ snapshots:
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 25.5.2
+ '@vitest/coverage-v8': 4.1.4([email protected])
transitivePeerDependencies:
- msw