chore(): Move peer deps into a single package and re export from framework (#13439)
* chore(): Move peer deps into a single package and re export from framework * WIP * update core packages * update cli and deps * update medusa * update exports path * remove analyze * update modules deps * finalise changes * fix yarn * fix import * Refactor peer dependencies into a single package Consolidate peer dependencies into one package and re-export from the framework. * update changeset * Update .changeset/brown-cows-sleep.md Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> * rm deps * fix deps * increase timeout * upgrade version * update versions * update versions * fixes * update lock * fix missing import * fix missing import --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Oli Juhl
parent
55f89b2151
commit
12a96a7c70
@@ -14,7 +14,12 @@ import {
|
||||
LockingIdentifiersRegistrationName,
|
||||
LockingProviderRegistrationPrefix,
|
||||
} from "@types"
|
||||
import { Lifetime, aliasTo, asFunction, asValue } from "awilix"
|
||||
import {
|
||||
Lifetime,
|
||||
aliasTo,
|
||||
asFunction,
|
||||
asValue,
|
||||
} from "@medusajs/framework/awilix"
|
||||
import { InMemoryLockingProvider } from "../providers/in-memory"
|
||||
|
||||
const registrationFn = async (klass, container, { id }) => {
|
||||
|
||||
@@ -3,8 +3,8 @@ import {
|
||||
ILockingModule,
|
||||
InternalModuleDeclaration,
|
||||
Logger,
|
||||
} from "@medusajs/framework/types"
|
||||
import { EntityManager } from "@mikro-orm/core"
|
||||
} from "@medusajs/types"
|
||||
import { EntityManager } from "@medusajs/framework/mikro-orm/core"
|
||||
import { LockingDefaultProvider } from "@types"
|
||||
import LockingProviderService from "./locking-provider"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user