medusa-test-utils 1.1.45-preview-20241015150603 → 1.1.45-rc-20241015165116

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 } = await (0, utils_1.getConfigFile)(entryDirectory, "medusa-config");
7
+ const { configModule, error } = (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,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"}
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,EAE3C,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": "1.1.45-preview-20241015150603",
3
+ "version": "1.1.45-rc-20241015165116",
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": "0.0.2-preview-20241015150603",
28
+ "@medusajs/framework": "0.0.2-rc-20241015165116",
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": "0.0.2-preview-20241015150603",
49
- "@medusajs/medusa": "1.20.6-preview-20241015150603",
48
+ "@medusajs/framework": "0.0.2-rc-20241015165116",
49
+ "@medusajs/medusa": "1.20.6-rc-20241015165116",
50
50
  "@mikro-orm/postgresql": "5.9.7",
51
51
  "awilix": "^8.0.1"
52
52
  },