medusa-test-utils 2.0.0-rc-20241014170024 → 2.0.0-rc-20241015170251
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ exports.configLoaderOverride = configLoaderOverride;
|
|
4
4
|
const utils_1 = require("@medusajs/framework/utils");
|
5
5
|
async function configLoaderOverride(entryDirectory, override) {
|
6
6
|
const { configManager } = await import("@medusajs/framework/config");
|
7
|
-
const { configModule, error } = (0, utils_1.getConfigFile)(entryDirectory, "medusa-config");
|
7
|
+
const { configModule, error } = await (0, utils_1.getConfigFile)(entryDirectory, "medusa-config");
|
8
8
|
if (error) {
|
9
9
|
throw new Error(error.message || "Error during config loading");
|
10
10
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/config.ts"],"names":[],"mappings":";;AAEA,oDA8BC;AAhCD,qDAAyD;AAElD,KAAK,UAAU,oBAAoB,CACxC,cAAsB,EACtB,QAAgD;IAEhD,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,MAAM,CAAC,4BAA4B,CAAC,CAAA;IACpE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,IAAA,qBAAa,
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/config.ts"],"names":[],"mappings":";;AAEA,oDA8BC;AAhCD,qDAAyD;AAElD,KAAK,UAAU,oBAAoB,CACxC,cAAsB,EACtB,QAAgD;IAEhD,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,MAAM,CAAC,4BAA4B,CAAC,CAAA;IACpE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,MAAM,IAAA,qBAAa,EAEjD,cAAc,EAAE,eAAe,CAAC,CAAA;IAElC,IAAI,KAAK,EAAE,CAAC;QACV,MAAM,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,6BAA6B,CAAC,CAAA;IACjE,CAAC;IAED,YAAY,CAAC,aAAa,CAAC,qBAAqB,CAAA;IAChD,YAAY,CAAC,aAAa,CAAC,WAAW,GAAG,QAAQ,CAAC,SAAS,CAAA;IAC3D,YAAY,CAAC,aAAa,CAAC,eAAe,GAAG,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAA;IAC7D,YAAY,CAAC,aAAa,CAAC,qBAAqB;QAC9C,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC;YACtC,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC;gBACE,UAAU,EAAE;oBACV,GAAG,EAAE,EAAE,kBAAkB,EAAE,KAAK,EAAE;iBACnC;gBACD,mCAAmC,EAAE,KAAK;aAC3C,CAAA;IAEP,aAAa,CAAC,UAAU,CAAC;QACvB,aAAa,EAAE,YAAY;QAC3B,OAAO,EAAE,cAAc;KACxB,CAAC,CAAA;AACJ,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "medusa-test-utils",
|
3
|
-
"version": "2.0.0-rc-
|
3
|
+
"version": "2.0.0-rc-20241015170251",
|
4
4
|
"description": "Test utils for Medusa",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"repository": {
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"author": "Medusa",
|
26
26
|
"license": "MIT",
|
27
27
|
"devDependencies": {
|
28
|
-
"@medusajs/framework": "1.0.0-rc-
|
28
|
+
"@medusajs/framework": "1.0.0-rc-20241015170251",
|
29
29
|
"@mikro-orm/core": "5.9.7",
|
30
30
|
"@mikro-orm/knex": "5.9.7",
|
31
31
|
"@mikro-orm/migrations": "5.9.7",
|
@@ -45,8 +45,8 @@
|
|
45
45
|
"randomatic": "^3.1.1"
|
46
46
|
},
|
47
47
|
"peerDependencies": {
|
48
|
-
"@medusajs/framework": "1.0.0-rc-
|
49
|
-
"@medusajs/medusa": "2.0.0-rc-
|
48
|
+
"@medusajs/framework": "1.0.0-rc-20241015170251",
|
49
|
+
"@medusajs/medusa": "2.0.0-rc-20241015170251",
|
50
50
|
"@mikro-orm/postgresql": "5.9.7",
|
51
51
|
"awilix": "^8.0.1"
|
52
52
|
},
|