ts-jest 28.0.6 → 29.0.0-next.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.
- package/.ts-jest-digest +1 -1
- package/CHANGELOG.md +32 -0
- package/dist/constants.js +3 -3
- package/dist/utils/version-checkers.js +2 -2
- package/package.json +19 -16
package/.ts-jest-digest
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4f1d53e87643275a0adbce1d32b732e3f45e0ac2
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
# [29.0.0-next.0](https://github.com/kulshekhar/ts-jest/compare/v28.0.8...v29.0.0-next.0) (2022-08-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* support Jest 29 ([#3767](https://github.com/kulshekhar/ts-jest/issues/3767)) ([94b553b](https://github.com/kulshekhar/ts-jest/commit/94b553ba085c52db60f7a7078e3a74d9a02121b1))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **Jest 29** is required.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [28.0.8](https://github.com/kulshekhar/ts-jest/compare/v28.0.7...v28.0.8) (2022-08-14)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* allow `.mts` to be processed ([#3713](https://github.com/kulshekhar/ts-jest/issues/3713)) ([effae71](https://github.com/kulshekhar/ts-jest/commit/effae717369860e16cb0ccbf24027651493b9bf1)), closes [#3702](https://github.com/kulshekhar/ts-jest/issues/3702)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [28.0.7](https://github.com/kulshekhar/ts-jest/compare/v28.0.6...v28.0.7) (2022-07-15)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* update `@jest/types` to be an optional peer dependency ([#3690](https://github.com/kulshekhar/ts-jest/issues/3690)) ([8a8c3fa](https://github.com/kulshekhar/ts-jest/commit/8a8c3fafecffd19380171c661e94246024cae2ff)), closes [#3689](https://github.com/kulshekhar/ts-jest/issues/3689)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
1
33
|
## [28.0.6](https://github.com/kulshekhar/ts-jest/compare/v28.0.5...v28.0.6) (2022-07-13)
|
|
2
34
|
|
|
3
35
|
|
package/dist/constants.js
CHANGED
|
@@ -4,8 +4,8 @@ exports.DEFAULT_JEST_TEST_MATCH = exports.JS_EXT_TO_TREAT_AS_ESM = exports.TS_EX
|
|
|
4
4
|
exports.LINE_FEED = '\n';
|
|
5
5
|
exports.DECLARATION_TYPE_EXT = '.d.ts';
|
|
6
6
|
exports.JS_JSX_EXTENSIONS = ['.js', '.jsx'];
|
|
7
|
-
exports.TS_TSX_REGEX = /\.tsx?$/;
|
|
8
|
-
exports.JS_JSX_REGEX = /\.jsx?$/;
|
|
9
|
-
exports.TS_EXT_TO_TREAT_AS_ESM = ['.ts', '.tsx'];
|
|
7
|
+
exports.TS_TSX_REGEX = /\.m?tsx?$/;
|
|
8
|
+
exports.JS_JSX_REGEX = /\.m?jsx?$/;
|
|
9
|
+
exports.TS_EXT_TO_TREAT_AS_ESM = ['.ts', '.tsx', '.mts'];
|
|
10
10
|
exports.JS_EXT_TO_TREAT_AS_ESM = ['.jsx'];
|
|
11
11
|
exports.DEFAULT_JEST_TEST_MATCH = ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'];
|
|
@@ -7,9 +7,9 @@ var logger_1 = require("./logger");
|
|
|
7
7
|
var messages_1 = require("./messages");
|
|
8
8
|
var logger = logger_1.rootLogger.child({ namespace: 'versions' });
|
|
9
9
|
exports.VersionCheckers = {
|
|
10
|
-
jest: createVersionChecker('jest', ">=
|
|
10
|
+
jest: createVersionChecker('jest', ">=29.0.0 <30"),
|
|
11
11
|
typescript: createVersionChecker('typescript', ">=4.3 <5"),
|
|
12
|
-
babelJest: createVersionChecker('babel-jest', ">=
|
|
12
|
+
babelJest: createVersionChecker('babel-jest', ">=29.0.0 <30"),
|
|
13
13
|
babelCore: createVersionChecker('@babel/core', ">=7.0.0-beta.0 <8"),
|
|
14
14
|
};
|
|
15
15
|
function checkVersion(name, expectedRange, action) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-jest",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "29.0.0-next.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"bs-logger": "0.x",
|
|
55
55
|
"fast-json-stable-stringify": "2.x",
|
|
56
|
-
"jest-util": "^
|
|
56
|
+
"jest-util": "^29.0.0",
|
|
57
57
|
"json5": "^2.2.1",
|
|
58
58
|
"lodash.memoize": "4.x",
|
|
59
59
|
"make-error": "1.x",
|
|
@@ -62,15 +62,18 @@
|
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@babel/core": ">=7.0.0-beta.0 <8",
|
|
65
|
-
"@jest/types": "^
|
|
66
|
-
"babel-jest": "^
|
|
67
|
-
"jest": "^
|
|
65
|
+
"@jest/types": "^29.0.0",
|
|
66
|
+
"babel-jest": "^29.0.0",
|
|
67
|
+
"jest": "^29.0.0",
|
|
68
68
|
"typescript": ">=4.3"
|
|
69
69
|
},
|
|
70
70
|
"peerDependenciesMeta": {
|
|
71
71
|
"@babel/core": {
|
|
72
72
|
"optional": true
|
|
73
73
|
},
|
|
74
|
+
"@jest/types": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
74
77
|
"babel-jest": {
|
|
75
78
|
"optional": true
|
|
76
79
|
},
|
|
@@ -87,9 +90,9 @@
|
|
|
87
90
|
},
|
|
88
91
|
"devDependencies": {
|
|
89
92
|
"@commitlint/cli": "17.x",
|
|
90
|
-
"@commitlint/config-angular": "^17.0
|
|
91
|
-
"@jest/transform": "^
|
|
92
|
-
"@jest/types": "^
|
|
93
|
+
"@commitlint/config-angular": "^17.1.0",
|
|
94
|
+
"@jest/transform": "^29.0.1",
|
|
95
|
+
"@jest/types": "^29.0.1",
|
|
93
96
|
"@types/babel__core": "7.x",
|
|
94
97
|
"@types/cross-spawn": "latest",
|
|
95
98
|
"@types/fs-extra": "latest",
|
|
@@ -105,13 +108,13 @@
|
|
|
105
108
|
"@types/semver": "latest",
|
|
106
109
|
"@types/yargs": "latest",
|
|
107
110
|
"@types/yargs-parser": "21.x",
|
|
108
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
109
|
-
"@typescript-eslint/parser": "^5.
|
|
110
|
-
"babel-jest": "^
|
|
111
|
+
"@typescript-eslint/eslint-plugin": "^5.35.1",
|
|
112
|
+
"@typescript-eslint/parser": "^5.35.1",
|
|
113
|
+
"babel-jest": "^29.0.1",
|
|
111
114
|
"conventional-changelog-cli": "2.x",
|
|
112
115
|
"cross-spawn": "latest",
|
|
113
|
-
"esbuild": "~0.
|
|
114
|
-
"eslint": "^8.
|
|
116
|
+
"esbuild": "~0.15.5",
|
|
117
|
+
"eslint": "^8.23.0",
|
|
115
118
|
"eslint-config-prettier": "latest",
|
|
116
119
|
"eslint-plugin-import": "latest",
|
|
117
120
|
"eslint-plugin-jest": "latest",
|
|
@@ -123,14 +126,14 @@
|
|
|
123
126
|
"glob": "^8.0.3",
|
|
124
127
|
"glob-gitignore": "latest",
|
|
125
128
|
"husky": "4.x",
|
|
126
|
-
"jest": "^
|
|
129
|
+
"jest": "^29.0.1",
|
|
127
130
|
"jest-snapshot-serializer-raw": "^1.2.0",
|
|
128
131
|
"js-yaml": "latest",
|
|
129
|
-
"json-schema-to-typescript": "^11.0.
|
|
132
|
+
"json-schema-to-typescript": "^11.0.2",
|
|
130
133
|
"lint-staged": "latest",
|
|
131
134
|
"lodash.camelcase": "^4.3.0",
|
|
132
135
|
"lodash.set": "^4.3.2",
|
|
133
|
-
"node-fetch": "^3.2.
|
|
136
|
+
"node-fetch": "^3.2.10",
|
|
134
137
|
"prettier": "^2.7.1",
|
|
135
138
|
"typescript": "~4.7.4"
|
|
136
139
|
},
|