@eldrajs/sdk 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +52 -0
- package/dist/{client-CP-xWxRN.js → client-BREAy8rQ.js} +2 -1
- package/dist/index.d.ts +2 -5
- package/dist/index.js +2 -5
- package/dist/types-Bq1jUVcz.d.ts +261 -0
- package/dist/vite.d.ts +20 -4
- package/dist/vite.js +121 -30
- package/package.json +7 -6
- package/dist/types-DNiJpmSn.d.ts +0 -6006
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eldrajs/sdk",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "Framework-free client for the Eldra Web Studio public storefront API: CMS, catalog, cart, checkout handoff, orders, inventory. Types generated from
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Framework-free client for the Eldra Web Studio public storefront API: CMS, catalog, cart, checkout handoff, orders, inventory. Types generated from your gateway's OpenAPI document and CMS schemas at build time.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
7
7
|
"commerce",
|
|
@@ -40,8 +40,10 @@
|
|
|
40
40
|
"access": "public",
|
|
41
41
|
"provenance": true
|
|
42
42
|
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"openapi-typescript": "^7.13.0"
|
|
45
|
+
},
|
|
43
46
|
"devDependencies": {
|
|
44
|
-
"openapi-typescript": "^7.13.0",
|
|
45
47
|
"vite": "^8.0.8"
|
|
46
48
|
},
|
|
47
49
|
"peerDependencies": {
|
|
@@ -57,9 +59,8 @@
|
|
|
57
59
|
},
|
|
58
60
|
"scripts": {
|
|
59
61
|
"build": "tsdown",
|
|
60
|
-
"typecheck": "tsc -p tsconfig.json",
|
|
62
|
+
"typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.generated.json",
|
|
61
63
|
"test": "vitest run",
|
|
62
|
-
"
|
|
63
|
-
"contract:check": "node scripts/contract.mjs --check"
|
|
64
|
+
"fixture": "node scripts/fixture.mjs"
|
|
64
65
|
}
|
|
65
66
|
}
|