diff --git a/integration-tests/api/medusa-config.js b/integration-tests/api/medusa-config.js index d22ed9574d418..299d7f31e8561 100644 --- a/integration-tests/api/medusa-config.js +++ b/integration-tests/api/medusa-config.js @@ -53,11 +53,11 @@ module.exports = { options: { ttl: 0 }, // Cache disabled }, [Modules.STOCK_LOCATION]: { - resolve: "@medusajs/stock-location-next", + resolve: "@medusajs/stock-location", options: {}, }, [Modules.INVENTORY]: { - resolve: "@medusajs/inventory-next", + resolve: "@medusajs/inventory", options: {}, }, [Modules.FILE]: { @@ -65,7 +65,7 @@ module.exports = { options: { providers: [ { - resolve: "@medusajs/file-local-next", + resolve: "@medusajs/file-local", id: "local", }, ], diff --git a/integration-tests/http/medusa-config.js b/integration-tests/http/medusa-config.js index a041a846e3244..4789cc00504f0 100644 --- a/integration-tests/http/medusa-config.js +++ b/integration-tests/http/medusa-config.js @@ -51,7 +51,7 @@ module.exports = defineConfig({ options: { providers: [ { - resolve: "@medusajs/file-local-next", + resolve: "@medusajs/file-local", id: "local", options: { // This is the directory where we can reliably write in CI environments diff --git a/integration-tests/modules/medusa-config.js b/integration-tests/modules/medusa-config.js index 08f890690bd25..f71ce493ca058 100644 --- a/integration-tests/modules/medusa-config.js +++ b/integration-tests/modules/medusa-config.js @@ -63,11 +63,11 @@ module.exports = { options: { ttl: 0 }, // Cache disabled }, [Modules.STOCK_LOCATION]: { - resolve: "@medusajs/stock-location-next", + resolve: "@medusajs/stock-location", options: {}, }, [Modules.INVENTORY]: { - resolve: "@medusajs/inventory-next", + resolve: "@medusajs/inventory", options: {}, }, [Modules.PRODUCT]: true, diff --git a/packages/core/utils/src/common/__tests__/define-config.spec.ts b/packages/core/utils/src/common/__tests__/define-config.spec.ts index 926cf516dc94c..40361c1321536 100644 --- a/packages/core/utils/src/common/__tests__/define-config.spec.ts +++ b/packages/core/utils/src/common/__tests__/define-config.spec.ts @@ -20,7 +20,7 @@ describe("defineConfig", function () { "providers": [ { "id": "emailpass", - "resolve": "@medusajs/auth-emailpass", + "resolve": "@medusajs/medusa/auth-emailpass", }, ], }, @@ -57,7 +57,7 @@ describe("defineConfig", function () { "providers": [ { "id": "manual", - "resolve": "@medusajs/fulfillment-manual", + "resolve": "@medusajs/medusa/fulfillment-manual", }, ], }, @@ -77,7 +77,7 @@ describe("defineConfig", function () { ], "name": "Local Notification Provider", }, - "resolve": "@medusajs/notification-local", + "resolve": "@medusajs/medusa/notification-local", }, ], }, @@ -167,7 +167,7 @@ describe("defineConfig", function () { "providers": [ { "id": "emailpass", - "resolve": "@medusajs/auth-emailpass", + "resolve": "@medusajs/medusa/auth-emailpass", }, ], }, @@ -204,7 +204,7 @@ describe("defineConfig", function () { "providers": [ { "id": "manual", - "resolve": "@medusajs/fulfillment-manual", + "resolve": "@medusajs/medusa/fulfillment-manual", }, ], }, @@ -224,7 +224,7 @@ describe("defineConfig", function () { ], "name": "Local Notification Provider", }, - "resolve": "@medusajs/notification-local", + "resolve": "@medusajs/medusa/notification-local", }, ], }, @@ -322,7 +322,7 @@ describe("defineConfig", function () { "providers": [ { "id": "emailpass", - "resolve": "@medusajs/auth-emailpass", + "resolve": "@medusajs/medusa/auth-emailpass", }, ], }, @@ -359,7 +359,7 @@ describe("defineConfig", function () { "providers": [ { "id": "manual", - "resolve": "@medusajs/fulfillment-manual", + "resolve": "@medusajs/medusa/fulfillment-manual", }, ], }, @@ -379,7 +379,7 @@ describe("defineConfig", function () { ], "name": "Local Notification Provider", }, - "resolve": "@medusajs/notification-local", + "resolve": "@medusajs/medusa/notification-local", }, ], }, @@ -478,7 +478,7 @@ describe("defineConfig", function () { "providers": [ { "id": "emailpass", - "resolve": "@medusajs/auth-emailpass", + "resolve": "@medusajs/medusa/auth-emailpass", }, ], }, @@ -515,7 +515,7 @@ describe("defineConfig", function () { "providers": [ { "id": "manual", - "resolve": "@medusajs/fulfillment-manual", + "resolve": "@medusajs/medusa/fulfillment-manual", }, ], }, @@ -535,7 +535,7 @@ describe("defineConfig", function () { ], "name": "Local Notification Provider", }, - "resolve": "@medusajs/notification-local", + "resolve": "@medusajs/medusa/notification-local", }, ], }, @@ -622,7 +622,7 @@ describe("defineConfig", function () { "providers": [ { "id": "emailpass", - "resolve": "@medusajs/auth-emailpass", + "resolve": "@medusajs/medusa/auth-emailpass", }, ], }, @@ -659,7 +659,7 @@ describe("defineConfig", function () { "providers": [ { "id": "manual", - "resolve": "@medusajs/fulfillment-manual", + "resolve": "@medusajs/medusa/fulfillment-manual", }, ], }, @@ -679,7 +679,7 @@ describe("defineConfig", function () { ], "name": "Local Notification Provider", }, - "resolve": "@medusajs/notification-local", + "resolve": "@medusajs/medusa/notification-local", }, ], }, @@ -769,7 +769,7 @@ describe("defineConfig", function () { "providers": [ { "id": "emailpass", - "resolve": "@medusajs/auth-emailpass", + "resolve": "@medusajs/medusa/auth-emailpass", }, ], }, @@ -803,7 +803,7 @@ describe("defineConfig", function () { "providers": [ { "id": "manual", - "resolve": "@medusajs/fulfillment-manual", + "resolve": "@medusajs/medusa/fulfillment-manual", }, ], }, @@ -823,7 +823,7 @@ describe("defineConfig", function () { ], "name": "Local Notification Provider", }, - "resolve": "@medusajs/notification-local", + "resolve": "@medusajs/medusa/notification-local", }, ], },