Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^26.2.0
->^27.0.0
27.0.7
->27.1.3
Release Notes
kulshekhar/ts-jest
v27.1.3
Compare Source
Bug Fixes
v27.1.2
Compare Source
Bug Fixes
esbuild
type to avoid importingesbuild
directly (#3147) (9ace0a9)v27.1.1
Compare Source
Bug Fixes
afterProcess
hook (#3132) (2b6b86e)esbuild
as optional peer dependency (#3129) (20258de)v27.1.0
Compare Source
Features
processAsync
andgetCacheKeyAsync
(#3047) (571a880)ts-jest
public apis fromindex.js
(#3080) (53175dd), closes #3045Code Refactoring
mocked
util function (#3102) (55e69f1)compiler
option (#3087) (cc42daf)path-mapping
AST transformer (#3088) (d8f6b96)factory
API forhoisting
AST transformer (#3058) (a72f51d)DEPRECATIONS
path-mapping
AST transformer is deprecated and will be removed in v28.0.0. One should use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.mocked
function is deprecated and will be removed in v28.0.0. The function has been integrated intojest-mock
package as a part of Jest 27.4.0, see https://github.com/facebook/jest/pull/12089. One should use the one from Jest instead27.0.7 (2021-10-16)
Bug Fixes
lodash
import (#2978) (8b60679), closes #297727.0.6 (2021-10-14)
Bug Fixes
lodash
package instead of full packagelodash
(#2959) (dc89fe5), closes #295427.0.5 (2021-08-14)
Bug Fixes
tsConfig
option forts-jest
config options (#2794) (781710b), closes #2764config:init
genarate invalid type comment (#2773) (ede8a20), closes #2772./
in tsconfigpaths
forpathsToModuleNameMapper
(#2797) (42ff5e4), closes #2709Code Refactoring
Buffer.from
andmkdird
(#2774) (4869660)27.0.4 (2021-07-21)
Bug Fixes
@types/jest
as optionalpeerDependencies
to solve yarn 2 (#2756) (5fbf43e)babel-jest
as optionalpeerDependencies
to solve yarn 2 (#2751) (8bede2e)name
andversion
into cache key (#2755) (310fb9a), closes #2753Features
npx ts-jest:init
(#2742) (f51ba05)TS_JEST
to allow detecting ofts-jest
(#2717) (56c137a), closes #271627.0.3 (2021-06-06)
Bug Fixes
exports
field to support all node versions (#2658) (132c8ba)Features
27.0.2 (2021-05-30)
Bug Fixes
exclude
should only exclude files which match glob values (#2637) (c5ce979), closes #263427.0.1 (2021-05-26)
Bug Fixes
testMatch
if old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: false
use updated compiler options (#2628) (348e30f), closes #2629presets
(#2624) (0ea025e), closes #2623v27.0.7
Compare Source
Bug Fixes
lodash
import (#2978) (8b60679), closes #2977v27.0.6
Compare Source
Bug Fixes
lodash
package instead of full packagelodash
(#2959) (dc89fe5), closes #2954v27.0.5
Compare Source
Bug Fixes
tsConfig
option forts-jest
config options (#2794) (781710b), closes #2764config:init
genarate invalid type comment (#2773) (ede8a20), closes #2772./
in tsconfigpaths
forpathsToModuleNameMapper
(#2797) (42ff5e4), closes #2709Code Refactoring
Buffer.from
andmkdird
(#2774) (4869660)v27.0.4
Compare Source
Bug Fixes
@types/jest
as optionalpeerDependencies
to solve yarn 2 (#2756) (5fbf43e)babel-jest
as optionalpeerDependencies
to solve yarn 2 (#2751) (8bede2e)name
andversion
into cache key (#2755) (310fb9a), closes #2753Features
npx ts-jest:init
(#2742) (f51ba05)TS_JEST
to allow detecting ofts-jest
(#2717) (56c137a), closes #2716v27.0.3
Compare Source
Bug Fixes
exports
field to support all node versions (#2658) (132c8ba)Features
v27.0.2
Compare Source
Bug Fixes
exclude
should only exclude files which match glob values (#2637) (c5ce979), closes #2634v27.0.1
Compare Source
Bug Fixes
testMatch
if old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: false
use updated compiler options (#2628) (348e30f), closes #2629presets
(#2624) (0ea025e), closes #2623v27.0.0
Compare Source
Bug Fixes
.ts
/.tsx
/.d.ts
files only (#2458) (a89f0e2), closes #2445undefined
(#2433) (c6d6e4c), closes #2085@types/jest
from direct dep (#2409) (8913120), closes #2406 #2411outDir
from compiler source files (#2375) (ec68c74), closes #2350 #2374tsconfig
option (#2383) (584324a), closes #2368astTransformers
value changes (#2345) (d726016)node_modules
when addingts-jest
(#2263) (8e0675c)Features
TsCompiler
as public api (#2344) (871cd6a)presets
entry point (#2337) (1a3058f)Program
(#2299) (387964f)pathRegex
withexclude
(#2295) (f2f99c3)js
files based oncheckJs
(#2283) (1e04433)isolatedModules: false
(#2269) (9bb0c05), closes #1709isolatedModule: true
(#2219) (e101db0), closes #1709TsJestTransformer
to have version checking (#2176) (ca8d7c4)Performance Improvements
isolatedModules: false
(#2189) (68f446b)Code Refactoring
astTransformers
string array (#2129) (1e0b2ce)packageJson
option (#2128) (05916b9)tsConfig
option (#2127) (3cc9b80)BREAKING CHANGES
ts-jest
will usesourceMap
option from yourtsconfig
. If users want to have sourcemap on, they need to setsourceMap: true
intsconfig
.exports
field topackage.json
, see https://nodejs.org/api/packages.html#packages_package_entry_points (#2467) (d3aba3e)ts-jest
custom AST transformer function signature has changed topathRegex
should useexclude
withglob
patterns.js
files, please setcheckJs: true
in your tsconfig.isolatedModules: true
andisolatedModule: false
codes are in one single classTsCompiler
which is an instance created inTsJestCompiler
based on config optioncompiler
with valuetypescript
orttypescript
.packageJson
config option is not used in internalts-jest
so this option is now removed.jest.config.js
/package.json
should change toor
jest.config.js
should change to
mocked
,createJestPreset
,pathsToModuleNameMapper
from package entry. One should change totsConfig
should change totsconfig
in yourjest.config.js
orpackage.json
.26.5.6 (2021-05-05)
Code Refactoring
sourceMap: false
(#2557) (cf60990).Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.