@medusajs/core-flows 2.23.0 → 2.23.1-snapshot-20261124145306

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/AGENTS.md +1 -0
  2. package/package.json +5 -4
package/AGENTS.md CHANGED
@@ -5,6 +5,7 @@ Library of Medusa's prebuilt workflows and steps (cart, order, product, payment,
5
5
  ## Using this package
6
6
 
7
7
  - Import from `@medusajs/medusa/core-flows` in apps and plugins (re-export of this package). Inside the monorepo, `packages/medusa` imports `@medusajs/core-flows` directly.
8
+ - `@medusajs/core-flows/defaults` exports only the `defaults` domain (`createDefaultsWorkflow`), without evaluating every other workflow; the Medusa boot sequence uses it when a build manifest is set.
8
9
  - Every workflow and step has an exported ID constant next to it: `createProductsWorkflow` / `createProductsWorkflowId`, `createProductsStep` / `createProductsStepId`.
9
10
  - Find the right workflow: read the matching API route in `packages/medusa/src/api/{admin,store}/...` to see which workflow it runs, or browse https://docs.medusajs.com/resources/medusa-workflows-reference.md (generated from the TSDoc in this package).
10
11
 
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@medusajs/core-flows",
3
- "version": "2.23.0",
3
+ "version": "2.23.1-snapshot-20261124145306",
4
4
  "description": "Set of workflow definitions for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
- ".": "./dist/index.js"
7
+ ".": "./dist/index.js",
8
+ "./defaults": "./dist/defaults/index.js"
8
9
  },
9
10
  "repository": {
10
11
  "type": "git",
@@ -33,7 +34,7 @@
33
34
  "author": "Medusa",
34
35
  "license": "SEE LICENSE IN LICENSE",
35
36
  "devDependencies": {
36
- "@medusajs/framework": "2.23.0"
37
+ "@medusajs/framework": "2.23.1-snapshot-20261124145306"
37
38
  },
38
39
  "dependencies": {
39
40
  "csv-parse": "^7.0.2",
@@ -41,7 +42,7 @@
41
42
  "json-2-csv": "^5.6.0"
42
43
  },
43
44
  "peerDependencies": {
44
- "@medusajs/framework": "2.23.0"
45
+ "@medusajs/framework": "2.23.1-snapshot-20261124145306"
45
46
  },
46
47
  "scripts": {
47
48
  "build": "yarn run -T rimraf dist && yarn run -T tsc --build",