chore: dependecies reorg (#8535)

This commit is contained in:
Carlos R. L. Rodrigues
2024-08-23 07:16:04 -03:00
committed by GitHub
parent 59599ac237
commit 058378970a
126 changed files with 958 additions and 1266 deletions

View File

@@ -30,9 +30,11 @@
"dependencies": {
"@medusajs/modules-sdk": "^1.12.11",
"@medusajs/orchestration": "^0.5.7",
"@medusajs/utils": "^1.11.9",
"awilix": "^8.0.1",
"ulid": "^2.3.0"
"@medusajs/utils": "^1.11.9"
},
"peerDependencies": {
"awilix": "*",
"ulid": "*"
},
"scripts": {
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",

View File

@@ -16,7 +16,7 @@ import {
import { EOL } from "os"
import { ulid } from "ulid"
import { MedusaWorkflow } from "../medusa-workflow"
import { resolveValue } from "../utils/composer"
import { resolveValue } from "../utils/composer/helpers/resolve-value"
import {
ExportedWorkflow,
FlowCancelOptions,

View File

@@ -4,19 +4,19 @@ import {
WorkflowManager,
} from "@medusajs/orchestration"
import { LoadedModule, MedusaContainer } from "@medusajs/types"
import { isString, OrchestrationUtils } from "@medusajs/utils"
import { OrchestrationUtils, isString } from "@medusajs/utils"
import { exportWorkflow } from "../../helper"
import { createStep } from "./create-step"
import { StepResponse } from "./helpers"
import { proxify } from "./helpers/proxy"
import { StepResponse } from "./helpers/step-response"
import { WorkflowResponse } from "./helpers/workflow-response"
import {
CreateWorkflowComposerContext,
HookHandler,
ReturnWorkflow,
StepFunction,
WorkflowData,
HookHandler,
} from "./type"
import { WorkflowResponse } from "./helpers/workflow-response"
global[OrchestrationUtils.SymbolMedusaWorkflowComposerContext] = null