Skip to content
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(deps): update dependency ts-jest to v27 - autoclosed #8325

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 29, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-jest (source) 26.5.6 -> 27.0.7 age adoption passing confidence

Release Notes

kulshekhar/ts-jest

v27.0.7

Compare Source

Bug Fixes

v27.0.6

Compare Source

Bug Fixes

v27.0.5

Compare Source

Bug Fixes
Code Refactoring

v27.0.4

Compare Source

Bug Fixes
  • add @types/jest as optional peerDependencies to solve yarn 2 (#​2756) (5fbf43e)
  • add babel-jest as optional peerDependencies to solve yarn 2 (#​2751) (8bede2e)
  • config: include AST transformer's name and version into cache key (#​2755) (310fb9a), closes #​2753
Features

v27.0.3

Compare Source

Bug Fixes
Features

v27.0.2

Compare Source

Bug Fixes

v27.0.1

Compare Source

Bug Fixes

v27.0.0

Compare Source

Bug Fixes
Features
Performance Improvements
  • reuse jest file system cache for isolatedModules: false (#​2189) (68f446b)
Code Refactoring

BREAKING CHANGES

import type { TsCompilerInstance } from 'ts-jest/dist/types'

export function factory(compilerInstance: TsCompilerInstance) {
   //...
}
  • One is currently using pathRegex should use exclude with glob patterns.
  • If one currently relies on type check for js files, please set checkJs: true in your tsconfig.
  • Now both isolatedModules: true and isolatedModule: false codes are in one single class TsCompiler which is an instance created in TsJestCompiler based on config option compiler with value typescript or ttypescript.
  • config: packageJson config option is not used in internal ts-jest so this option is now removed.
  • config: One is defining ast transformers in jest.config.js/package.json should change to
// jest.config.js
module.exports = {
   //...
   globals: {
      'ts-jest': {
         astTransformers: {
           before: ['your_before_transformer_path'],
           after: ['your_after_transformer_path'],
           afterDeclarations: ['your_afterDeclarations_transformer_path'],
         }
      }
   }
}

or

// package.json
{
  "jest": {
     "globals": {
        "ts-jest": {
           "astTransformers": {
              "before": ["your_before_transformer_path"],
              "after": ["your_after_transformer_path"],
              "afterDeclarations": ["your_afterDeclarations_transformer_path"]
           }
        }
     }
  }
}
  • One currently refers type in jest.config.js
/** @​typedef {import('ts-jest')} */
module.exports = {
  //...
}

should change to

/** @​typedef {import('ts-jest/dist/types')} */
module.exports = {
  //...
}
  • Remove possibilities to import mocked, createJestPreset, pathsToModuleNameMapper from package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper } from 'ts-jest/utils'
  • config: One currently uses tsConfig should change to tsconfig in your jest.config.js or package.json.

26.5.6 (2021-05-05)

Code Refactoring
  • refactor(config): show warning message for sourceMap: false (#​2557) (cf60990).

Configuration

📅 Schedule: "every weekend" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch from d88a92d to 6f73317 Compare May 29, 2021 09:53
@benjamn
Copy link
Member

benjamn commented Jun 1, 2021

Looks like we need to update ts-jest and jest at the same time to avoid these test failures: #8324 (comment)

@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 4 times, most recently from 0d1eda6 to ac5a3e6 Compare June 6, 2021 16:58
@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 7 times, most recently from 7b8b852 to b1e8e04 Compare June 19, 2021 09:08
@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 4 times, most recently from 4621d93 to 2e1e407 Compare June 26, 2021 07:49
@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 7 times, most recently from 81e1901 to 6f2fbe2 Compare July 3, 2021 09:45
@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 5 times, most recently from 512847b to ecd447a Compare July 10, 2021 11:05
@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 5 times, most recently from f53622e to 2196026 Compare October 23, 2021 08:56
@renovate
Copy link
Contributor Author

renovate bot commented Oct 23, 2021

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you check the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm notice 
npm notice New major version of npm available! 7.24.2 -> 8.1.3
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.1.3>
npm notice Run `npm install -g [email protected]` to update!
npm notice 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @apollo/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/jest
npm ERR!   dev jest@"26.6.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer jest@"^27.0.0" from [email protected]
npm ERR! node_modules/ts-jest
npm ERR!   dev ts-jest@"27.0.7" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2021-11-06T18_56_44_130Z-debug.log

@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 9 times, most recently from 38d1ac7 to 78cb6df Compare October 30, 2021 10:25
@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 8 times, most recently from 5ea492f to 57e688f Compare November 1, 2021 05:49
@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch from 57e688f to a0292e4 Compare November 6, 2021 18:56
@renovate renovate bot changed the title chore(deps): update dependency ts-jest to v27 chore(deps): update dependency ts-jest to v27 - autoclosed Nov 8, 2021
@renovate renovate bot closed this Nov 8, 2021
@renovate renovate bot deleted the renovate/ts-jest-27.x branch November 8, 2021 23:13
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants