medusa-test-utils 1.1.37 → 1.1.38-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ medusa-test-utils:build: cache hit, replaying output acedbb28a64a2600
2
+ medusa-test-utils:build: Successfully compiled 4 files with Babel (304ms).
@@ -0,0 +1,2 @@
1
+ medusa-test-utils:test: cache hit, replaying output cfe7da12653c72f7
2
+ medusa-test-utils:test: No tests found, exiting with code 0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.1.38-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`7dc8d3a0c`](https://github.com/medusajs/medusa/commit/7dc8d3a0c90ce06e3f11a6a46dec1f9ec3f26e81)]:
8
+ - medusa-core-utils@1.1.32-alpha.0
9
+
3
10
  All notable changes to this project will be documented in this file.
4
11
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
12
 
@@ -7,28 +14,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
7
14
 
8
15
  **Note:** Version bump only for package medusa-test-utils
9
16
 
10
-
11
-
12
-
13
-
14
17
  ## [1.1.36](https://github.com/medusajs/medusa/compare/medusa-test-utils@1.1.35...medusa-test-utils@1.1.36) (2021-12-29)
15
18
 
16
19
  **Note:** Version bump only for package medusa-test-utils
17
20
 
18
-
19
-
20
-
21
-
22
21
  ## [1.1.35](https://github.com/medusajs/medusa/compare/medusa-test-utils@1.1.34...medusa-test-utils@1.1.35) (2021-12-17)
23
22
 
24
-
25
23
  ### Features
26
24
 
27
- * add medusa-react ([#913](https://github.com/medusajs/medusa/issues/913)) ([d0d8dd7](https://github.com/medusajs/medusa/commit/d0d8dd7bf62eaac71df8714c2dfb4f204d192f51))
28
-
29
-
30
-
31
-
25
+ - add medusa-react ([#913](https://github.com/medusajs/medusa/issues/913)) ([d0d8dd7](https://github.com/medusajs/medusa/commit/d0d8dd7bf62eaac71df8714c2dfb4f204d192f51))
32
26
 
33
27
  ## [1.1.34](https://github.com/medusajs/medusa/compare/medusa-test-utils@1.1.33...medusa-test-utils@1.1.34) (2021-12-08)
34
28
 
package/dist/id-map.js CHANGED
@@ -13,7 +13,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
13
13
 
14
14
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
15
 
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
16
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
17
 
18
18
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
19
 
package/dist/index.js CHANGED
@@ -9,16 +9,16 @@ Object.defineProperty(exports, "IdMap", {
9
9
  return _idMap["default"];
10
10
  }
11
11
  });
12
- Object.defineProperty(exports, "MockRepository", {
12
+ Object.defineProperty(exports, "MockManager", {
13
13
  enumerable: true,
14
14
  get: function get() {
15
- return _mockRepository["default"];
15
+ return _mockManager["default"];
16
16
  }
17
17
  });
18
- Object.defineProperty(exports, "MockManager", {
18
+ Object.defineProperty(exports, "MockRepository", {
19
19
  enumerable: true,
20
20
  get: function get() {
21
- return _mockManager["default"];
21
+ return _mockRepository["default"];
22
22
  }
23
23
  });
24
24
 
@@ -9,7 +9,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
9
9
 
10
10
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
11
11
 
12
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
13
 
14
14
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "medusa-test-utils",
3
- "version": "1.1.37",
3
+ "version": "1.1.38-alpha.0",
4
4
  "description": "Test utils for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -9,10 +9,10 @@
9
9
  "directory": "packages/medusa-test-utils"
10
10
  },
11
11
  "scripts": {
12
- "test": "jest",
13
- "build": "babel src --out-dir dist/ --ignore **/__tests__",
14
- "prepare": "cross-env NODE_ENV=production npm run build",
15
- "watch": "babel -w src --out-dir dist/ --ignore **/__tests__"
12
+ "prepare": "cross-env NODE_ENV=production yarn run build",
13
+ "build": "babel src --out-dir dist/",
14
+ "watch": "babel -w src --out-dir dist/",
15
+ "test": "jest --passWithNoTests"
16
16
  },
17
17
  "author": "Sebastian Rindom",
18
18
  "license": "MIT",
@@ -24,13 +24,12 @@
24
24
  "@babel/preset-env": "^7.7.5",
25
25
  "@babel/runtime": "^7.9.6",
26
26
  "cross-env": "^5.2.1",
27
- "eslint": "^6.8.0",
28
27
  "jest": "^25.5.2"
29
28
  },
30
29
  "dependencies": {
31
30
  "@babel/plugin-transform-classes": "^7.9.5",
32
- "medusa-core-utils": "^1.1.31",
31
+ "medusa-core-utils": "^1.1.32-alpha.0",
33
32
  "randomatic": "^3.1.1"
34
33
  },
35
- "gitHead": "c16df9383c08288f3643fde7aadad1becb2e4c9d"
34
+ "gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808"
36
35
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2021 Medusajs
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.