@hartl-services/medusa-payload-sync 0.4.0 → 0.5.0

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -25,7 +25,7 @@ remain pinned to `2.19.0`.
25
25
  pnpm add @hartl-services/medusa-payload-sync @hartl-services/medusa-base
26
26
  ```
27
27
 
28
- `@hartl-services/medusa-base` (>= 2.7.0) is a required peer: it stores the
28
+ `@hartl-services/medusa-base` (>= 3.0.0) is a required peer: it stores the
29
29
  plugin switch (see [Feature toggles](#feature-toggles)), the connection
30
30
  settings (see [Settings in the Admin](#settings-in-the-admin)) and runs the
31
31
  [`sync_now` action](#admin-action-jetzt-synchronisieren). Register it as a
@@ -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-food-supplements-contracts`, and
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.4.0",
3
+ "version": "0.5.0",
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/food-supplements-e-commerce.git",
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": "^2.7.0"
31
+ "@hartl-services/medusa-base": "^4.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": "2.7.0"
43
+ "@hartl-services/medusa-base": "4.0.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=20"
@@ -48,8 +48,8 @@
48
48
  "scripts": {
49
49
  "build": "medusa plugin:build",
50
50
  "typecheck": "tsc --noEmit",
51
- "test:unit": "jest --config jest.config.js",
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-food-supplements-contracts build && pnpm --filter @hartl-services/medusa-base build"
53
+ "pretest:unit": "pnpm --filter @hartl-services/medusa-contracts build && pnpm --filter @hartl-services/medusa-base build"
54
54
  }
55
55
  }