@hartl-services/medusa-payload-sync 0.4.1 → 0.5.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/README.md +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -645,5 +645,5 @@ path, Storefront client, or runtime Payload-credential contract.
|
|
|
645
645
|
|
|
646
646
|
If this component gains a Medusa HTTP route, define its request/query/response
|
|
647
647
|
DTOs with `@medusajs/framework/zod`, derive public types from those schemas,
|
|
648
|
-
add them and a small path object to `@hartl-services/medusa-
|
|
648
|
+
add them and a small path object to `@hartl-services/medusa-contracts`, and
|
|
649
649
|
let consumers use their own Medusa SDK with `sdk.client.fetch<T>`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hartl-services/medusa-payload-sync",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Mirrors Medusa product and variant facts into Payload CMS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://gitlab.com/hartl-services-gmbh/services/
|
|
13
|
+
"url": "git+https://gitlab.com/hartl-services-gmbh/services/medusa-plugins.git",
|
|
14
14
|
"directory": "plugins/medusa-payload-sync"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@medusajs/framework": "^2.19.0",
|
|
30
30
|
"@medusajs/medusa": "^2.19.0",
|
|
31
|
-
"@hartl-services/medusa-base": "^
|
|
31
|
+
"@hartl-services/medusa-base": "^5.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@medusajs/cli": "2.19.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@types/node": "^20.12.11",
|
|
41
41
|
"jest": "^29.7.0",
|
|
42
42
|
"typescript": "^5.6.2",
|
|
43
|
-
"@hartl-services/medusa-base": "
|
|
43
|
+
"@hartl-services/medusa-base": "5.0.0"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=20"
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
"typecheck": "tsc --noEmit",
|
|
51
51
|
"test:unit": "sh ../../scripts/dev-capped.sh jest --config jest.config.js",
|
|
52
52
|
"test:contract": "jest --config jest.contract.config.js --runInBand",
|
|
53
|
-
"pretest:unit": "pnpm --filter @hartl-services/medusa-
|
|
53
|
+
"pretest:unit": "pnpm --filter @hartl-services/medusa-contracts build && pnpm --filter @hartl-services/medusa-base build"
|
|
54
54
|
}
|
|
55
55
|
}
|