@modern-js/plugin-testing 1.5.5 → 1.5.6

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @modern-js/plugin-testing
2
2
 
3
+ ## 1.5.6
4
+
5
+ ### Patch Changes
6
+
7
+ - a1198d509: feat: bump babel 7.18.0
8
+ - Updated dependencies [8d508c6ed]
9
+ - Updated dependencies [a1198d509]
10
+ - Updated dependencies [29728812e]
11
+ - Updated dependencies [147e090f7]
12
+ - Updated dependencies [18892c65c]
13
+ - Updated dependencies [a1198d509]
14
+ - @modern-js/webpack@1.10.0
15
+ - @modern-js/testing@1.5.4
16
+ - @modern-js/testing-plugin-bff@1.4.4
17
+ - @modern-js/runtime-core@1.4.9
18
+ - @modern-js/bff-utils@1.2.9
19
+ - @modern-js/babel-compiler@1.2.6
20
+
3
21
  ## 1.5.5
4
22
 
5
23
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
2
3
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
- import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  import path from 'path';
5
5
  import { PLUGIN_SCHEMAS, createRuntimeExportsUtils, isApiOnly } from '@modern-js/utils';
6
6
  import { testingHooks, getModuleNameMapper, DEFAULT_RESOLVER_PATH } from '@modern-js/testing';
@@ -27,8 +27,8 @@ export default (function () {
27
27
  return {
28
28
  commands: function commands(_ref) {
29
29
  var program = _ref.program;
30
- program.command('test').allowUnknownOption().usage('<regexForTestFiles> --[options]').action( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
31
- return _regeneratorRuntime.wrap(function _callee$(_context) {
30
+ program.command('test').allowUnknownOption().usage('<regexForTestFiles> --[options]').action( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
32
32
  while (1) {
33
33
  switch (_context.prev = _context.next) {
34
34
  case 0:
@@ -62,10 +62,10 @@ export default (function () {
62
62
  testingExportsUtils.addExport("export * from '".concat(testingPath, "'"));
63
63
  },
64
64
  jestConfig: function () {
65
- var _jestConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(utils, next) {
65
+ var _jestConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(utils, next) {
66
66
  var appContext, userConfig, apiOnly, webpackConfig, _webpackConfig$resolv, alias;
67
67
 
68
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
68
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
69
69
  while (1) {
70
70
  switch (_context2.prev = _context2.next) {
71
71
  case 0:
@@ -1,13 +1,13 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
1
2
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
2
- import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import path from 'path';
4
4
  import { compiler } from '@modern-js/babel-compiler';
5
5
  import { runTest } from '@modern-js/testing';
6
6
 
7
7
  var test = /*#__PURE__*/function () {
8
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(api) {
8
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(api) {
9
9
  var userConfig, appContext, jest, runtimeExportsPath;
10
- return _regeneratorRuntime.wrap(function _callee$(_context) {
10
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
11
11
  while (1) {
12
12
  switch (_context.prev = _context.next) {
13
13
  case 0:
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.5.5",
14
+ "version": "1.5.6",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -78,26 +78,26 @@
78
78
  }
79
79
  },
80
80
  "dependencies": {
81
- "@babel/core": "^7.17.0",
82
- "@babel/preset-env": "^7.17.0",
83
- "@babel/runtime": "^7",
81
+ "@babel/core": "^7.18.0",
82
+ "@babel/preset-env": "^7.18.0",
83
+ "@babel/runtime": "^7.18.0",
84
84
  "@modern-js-reduck/plugin-auto-actions": "^1.0.2",
85
85
  "@modern-js-reduck/plugin-effects": "^1.0.2",
86
86
  "@modern-js-reduck/plugin-immutable": "^1.0.1",
87
87
  "@modern-js-reduck/store": "^1.0.3",
88
- "@modern-js/babel-compiler": "^1.2.5",
89
- "@modern-js/bff-utils": "^1.2.6",
90
- "@modern-js/runtime-core": "^1.4.6",
91
- "@modern-js/testing": "^1.5.2",
92
- "@modern-js/testing-plugin-bff": "^1.4.3",
93
- "@modern-js/utils": "^1.7.3",
94
- "@modern-js/webpack": "^1.7.0",
88
+ "@modern-js/babel-compiler": "^1.2.6",
89
+ "@modern-js/bff-utils": "^1.2.9",
90
+ "@modern-js/runtime-core": "^1.4.9",
91
+ "@modern-js/testing": "^1.5.4",
92
+ "@modern-js/testing-plugin-bff": "^1.4.4",
93
+ "@modern-js/utils": "^1.7.6",
94
+ "@modern-js/webpack": "^1.10.0",
95
95
  "@testing-library/jest-dom": "^5.14.1",
96
96
  "@testing-library/react": "^12.0.0",
97
97
  "@types/testing-library__jest-dom": "^5.14.3"
98
98
  },
99
99
  "devDependencies": {
100
- "@modern-js/core": "1.10.2",
100
+ "@modern-js/core": "1.11.2",
101
101
  "@scripts/build": "0.0.0",
102
102
  "@scripts/jest-config": "0.0.0",
103
103
  "@types/jest": "^27",
@@ -132,7 +132,8 @@
132
132
  "files": [
133
133
  "src/**/*",
134
134
  "tsconfig.json",
135
- "package.json"
135
+ "package.json",
136
+ "tests/**/*"
136
137
  ],
137
138
  "output": []
138
139
  }