-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update dependency ts-jest to v27 (master) #1831
Conversation
92c7cf7
to
192f137
Compare
...in order to additionally enable the new major version 27.
1844: feat: update Jest to version 27 r=ZauberNerd a=herschel666 The Canarist tests aren't helpful here, because the dependency tree of the Canarist test monorepo contains both Jest v26 & Jest v27 packages. This won't work. closes #1760 #1761 #1831 #1832 #1838 #1839 <details> <summary>Bors merge bot cheat sheet</summary> We are using [bors-ng](https://github.com/bors-ng/bors-ng) to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of `bors delegate+` or `bors delegate=[list]`). | Syntax | Description | | --- | --- | | bors merge | Run the test suite and push to master if it passes. Short for "reviewed: looks good." | | bors merge- | Cancel an r+, r=, merge, or merge= | | bors try | Run the test suite without pushing to master. | | bors try- | Cancel a try | | bors delegate+ | Allow the pull request author to merge their changes. | | bors delegate=[list] | Allow the listed users to r+ this pull request's changes. | | bors retry | Run the previous command a second time. | This is a short collection of opinionated commands. For a full list of the commands read the [bors reference](https://bors.tech/documentation/). </details> Co-authored-by: Emanuel Kluge <[email protected]>
1844: feat: update Jest to version 27 r=herschel666 a=herschel666 The Canarist tests aren't helpful here, because the dependency tree of the Canarist test monorepo contains both Jest v26 & Jest v27 packages. This won't work. closes #1760 #1761 #1831 #1832 #1838 #1839 <details> <summary>Bors merge bot cheat sheet</summary> We are using [bors-ng](https://github.com/bors-ng/bors-ng) to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of `bors delegate+` or `bors delegate=[list]`). | Syntax | Description | | --- | --- | | bors merge | Run the test suite and push to master if it passes. Short for "reviewed: looks good." | | bors merge- | Cancel an r+, r=, merge, or merge= | | bors try | Run the test suite without pushing to master. | | bors try- | Cancel a try | | bors delegate+ | Allow the pull request author to merge their changes. | | bors delegate=[list] | Allow the listed users to r+ this pull request's changes. | | bors retry | Run the previous command a second time. | This is a short collection of opinionated commands. For a full list of the commands read the [bors reference](https://bors.tech/documentation/). </details> Co-authored-by: Emanuel Kluge <[email protected]>
Autoclosing SkippedThis PR has been flagged for autoclosing, however it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
superseded by #1844 |
Renovate Ignore NotificationAs this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 27.x releases. However, if you upgrade to 27.x manually then Renovate will then reenable updates for minor and patch updates automatically. If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened. |
This PR contains the following updates:
^26.0.0
->^27.0.0
Release Notes
kulshekhar/ts-jest
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).v26.5.6
Compare Source
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: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.