chore: Update modules deps (#9286)
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { ISalesChannelModuleService } from "@medusajs/types"
|
||||
import { Module, Modules } from "@medusajs/utils"
|
||||
import { ISalesChannelModuleService } from "@medusajs/framework/types"
|
||||
import { Module, Modules } from "@medusajs/framework/utils"
|
||||
import { SalesChannelModuleService } from "@services"
|
||||
import { moduleIntegrationTestRunner } from "medusa-test-utils"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as entities from "./src/models"
|
||||
import { defineMikroOrmCliConfig, Modules } from "@medusajs/utils"
|
||||
import { defineMikroOrmCliConfig, Modules } from "@medusajs/framework/utils"
|
||||
|
||||
export default defineMikroOrmCliConfig(Modules.SALES_CHANNEL, {
|
||||
entities: Object.values(entities),
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@medusajs/types": "^1.11.14",
|
||||
"@medusajs/framework": "^0.0.1",
|
||||
"@mikro-orm/cli": "5.9.7",
|
||||
"cross-env": "^5.2.1",
|
||||
"jest": "^29.7.0",
|
||||
@@ -47,10 +47,8 @@
|
||||
"tsc-alias": "^1.8.6",
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@medusajs/utils": "^1.11.9"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@medusajs/framework": "^0.0.1",
|
||||
"@mikro-orm/core": "5.9.7",
|
||||
"@mikro-orm/migrations": "5.9.7",
|
||||
"@mikro-orm/postgresql": "5.9.7",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Module, Modules } from "@medusajs/utils"
|
||||
import { Module, Modules } from "@medusajs/framework/utils"
|
||||
import { SalesChannelModuleService } from "@services"
|
||||
|
||||
export default Module(Modules.SALES_CHANNEL, {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { defineJoinerConfig, Modules } from "@medusajs/utils"
|
||||
import { defineJoinerConfig, Modules } from "@medusajs/framework/utils"
|
||||
import { default as schema } from "./schema"
|
||||
|
||||
export const joinerConfig = defineJoinerConfig(Modules.SALES_CHANNEL, {
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
import { DALUtils, Searchable, generateEntityId } from "@medusajs/utils"
|
||||
import {
|
||||
DALUtils,
|
||||
Searchable,
|
||||
generateEntityId,
|
||||
} from "@medusajs/framework/utils"
|
||||
|
||||
import { DAL } from "@medusajs/types"
|
||||
import { DAL } from "@medusajs/framework/types"
|
||||
import {
|
||||
BeforeCreate,
|
||||
Entity,
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
SalesChannelDTO,
|
||||
UpdateSalesChannelDTO,
|
||||
UpsertSalesChannelDTO,
|
||||
} from "@medusajs/types"
|
||||
} from "@medusajs/framework/types"
|
||||
import {
|
||||
InjectManager,
|
||||
InjectTransactionManager,
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
MedusaContext,
|
||||
MedusaService,
|
||||
promiseAll,
|
||||
} from "@medusajs/utils"
|
||||
} from "@medusajs/framework/utils"
|
||||
|
||||
import { SalesChannel } from "@models"
|
||||
import { UpdateSalesChanneInput } from "@types"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Logger, UpdateSalesChannelDTO } from "@medusajs/types"
|
||||
import { Logger, UpdateSalesChannelDTO } from "@medusajs/framework/types"
|
||||
|
||||
export type InitializeModuleInjectableDependencies = {
|
||||
logger?: Logger
|
||||
}
|
||||
|
||||
export type UpdateSalesChanneInput = UpdateSalesChannelDTO & { id: string }
|
||||
export type UpdateSalesChanneInput = UpdateSalesChannelDTO & { id: string }
|
||||
|
||||
Reference in New Issue
Block a user