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:
Adrien de Peretti
2025-09-22 18:36:22 +02:00
committed by GitHub
parent 55f89b2151
commit 12a96a7c70
349 changed files with 641 additions and 1062 deletions

View File

@@ -1,5 +1,5 @@
import { FeatureFlag, defineFileConfig } from "@medusajs/framework/utils"
import { Migration } from "@mikro-orm/migrations"
import { Migration } from "@medusajs/framework/mikro-orm/migrations"
defineFileConfig({
isDisabled: () => !FeatureFlag.isFeatureEnabled("custom_ff"),

View File

@@ -16,6 +16,7 @@
"@medusajs/core-flows": "workspace:*",
"@medusajs/customer": "workspace:^",
"@medusajs/event-bus-local": "workspace:*",
"@medusajs/framework": "workspace:*",
"@medusajs/fulfillment": "workspace:^",
"@medusajs/fulfillment-manual": "workspace:^",
"@medusajs/inventory": "workspace:^",

View File

@@ -1,4 +1,4 @@
import { Migration } from '@mikro-orm/migrations';
import { Migration } from "@medusajs/framework/mikro-orm/migrations";
export class Migration20240907134741 extends Migration {

View File

@@ -17,7 +17,7 @@
"@medusajs/currency": "workspace:^",
"@medusajs/customer": "workspace:^",
"@medusajs/event-bus-local": "workspace:*",
"@medusajs/framework": "workspace:^",
"@medusajs/framework": "workspace:*",
"@medusajs/fulfillment": "workspace:^",
"@medusajs/fulfillment-manual": "workspace:^",
"@medusajs/inventory": "workspace:^",

View File

@@ -1,4 +1,4 @@
import { Migration } from "@mikro-orm/migrations"
import { Migration } from "@medusajs/framework/mikro-orm/migrations"
export class Migration20250805184935 extends Migration {
override async up(): Promise<void> {

View File

@@ -21,10 +21,6 @@
"scrypt-kdf": "^2.0.1",
"jsonwebtoken": "^9.0.2",
"@medusajs/framework": "^1.0.1",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/knex": "6.4.3",
"@mikro-orm/migrations": "6.4.3",
"@mikro-orm/postgresql": "6.4.3",
"awilix": "^8.0.1",
"ioredis": "^5.4.1",
"pg": "^8.13.0",