Skip to content

chore(deps): update dependency jest-preset-angular to v11 #140

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 7, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
jest-preset-angular (source) 8.3.2 -> 11.1.2 age adoption passing confidence

Release Notes

thymikee/jest-preset-angular (jest-preset-angular)

v11.1.2

Compare Source

Bug Fixes
Features

BREAKING CHANGES

  • Since Angular 11, the minimum version of zone.js is 0.11.x and Angular 10 is EOL, so now we can use zone patch directly from zone.js.
    If one is not using [email protected], please upgrade.
  • Now we are using Angular AST transformers, reflect-metadata is not needed anymore.
  • Jest 28 correctly resolves Angular package format files so the ng-jest-resolver is now optional.
  • Node 12 is no longer support
  • Previously, we always checked file extension .mjs and any files from node_modules excluding tslib to be processed with esbuild.
    With the new option processWithEsbuild, now we put default all .mjs files to be processed by esbuild. Files like lodash-es default isn't processed by esbuild.
    If you wish to use esbuild to process such files, please configure in your Jest config like
// jest.config.js
module.exports = {
    //...
    globals: {
         ngJest: {
              processWithEsbuild: ['**/node_modules/lodash-es/*.js],
         }
    }
}
  • Angular 10 is no longer support
  • Require Jest 28
  • ngcc-jest-processor entry file is now removed. One should use jest-preset-angular/global-setup instead.

11.1.2 (2022-04-24)

Bug Fixes
  • correct deprecation message of ngcc-jest-processor (3899abf), closes #​1411

11.1.1 (2022-02-11)

Performance Improvements

v11.1.1

Compare Source

Bug Fixes
Features

BREAKING CHANGES

  • Since Angular 11, the minimum version of zone.js is 0.11.x and Angular 10 is EOL, so now we can use zone patch directly from zone.js.
    If one is not using [email protected], please upgrade.
  • Now we are using Angular AST transformers, reflect-metadata is not needed anymore.
  • Jest 28 correctly resolves Angular package format files so the ng-jest-resolver is now optional.
  • Node 12 is no longer support
  • Previously, we always checked file extension .mjs and any files from node_modules excluding tslib to be processed with esbuild.
    With the new option processWithEsbuild, now we put default all .mjs files to be processed by esbuild. Files like lodash-es default isn't processed by esbuild.
    If you wish to use esbuild to process such files, please configure in your Jest config like
// jest.config.js
module.exports = {
    //...
    globals: {
         ngJest: {
              processWithEsbuild: ['**/node_modules/lodash-es/*.js],
         }
    }
}
  • Angular 10 is no longer support
  • Require Jest 28
  • ngcc-jest-processor entry file is now removed. One should use jest-preset-angular/global-setup instead.

11.1.2 (2022-04-24)

Bug Fixes
  • correct deprecation message of ngcc-jest-processor (3899abf), closes #​1411

11.1.1 (2022-02-11)

Performance Improvements

v11.1.0

Compare Source

Bug Fixes
DEPRECATIONS
  • ngcc-jest-processor is deprecated in favor of globalSetup file (#​1275) (75e7368)

11.0.1 (2021-11-22)

Bug Fixes

v11.0.1

Compare Source

Bug Fixes
Features

BREAKING CHANGES

  • Since Angular 11, the minimum version of zone.js is 0.11.x and Angular 10 is EOL, so now we can use zone patch directly from zone.js.
    If one is not using [email protected], please upgrade.
  • Now we are using Angular AST transformers, reflect-metadata is not needed anymore.
  • Jest 28 correctly resolves Angular package format files so the ng-jest-resolver is now optional.
  • Node 12 is no longer support
  • Previously, we always checked file extension .mjs and any files from node_modules excluding tslib to be processed with esbuild.
    With the new option processWithEsbuild, now we put default all .mjs files to be processed by esbuild. Files like lodash-es default isn't processed by esbuild.
    If you wish to use esbuild to process such files, please configure in your Jest config like
// jest.config.js
module.exports = {
    //...
    globals: {
         ngJest: {
              processWithEsbuild: ['**/node_modules/lodash-es/*.js],
         }
    }
}
  • Angular 10 is no longer support
  • Require Jest 28
  • ngcc-jest-processor entry file is now removed. One should use jest-preset-angular/global-setup instead.

11.1.2 (2022-04-24)

Bug Fixes
  • correct deprecation message of ngcc-jest-processor (3899abf), closes #​1411

11.1.1 (2022-02-11)

Performance Improvements

v11.0.0

Compare Source

Bug Fixes
DEPRECATIONS
  • ngcc-jest-processor is deprecated in favor of globalSetup file (#​1275) (75e7368)

11.0.1 (2021-11-22)

Bug Fixes

v10.1.0

Compare Source

Features

BREAKING CHANGES

Special Thanks

Alan Agius, Pete Bacon Darwin from Angular team

10.1.0 (2021-10-26)

Bug Fixes
Code Refactoring
  • transformers use Angular downlevel-ctor transformer (#​1099) (3c26aba)
  • transformers remove workaround for ts < 4.0 in replace-resource transformer (#​1100) (ce68298)
  • transformers migrate html-comment to new Jest serializer (#​1114) (3005330)

10.0.1 (2021-09-27)

Bug Fixes
  • utils: allow skipping ngcc-jest-processor via some Jest args (#​1013) (7d3a712)

v10.0.1

Compare Source

Features

BREAKING CHANGES

Special Thanks

Alan Agius, Pete Bacon Darwin from Angular team

10.1.0 (2021-10-26)

Bug Fixes
Code Refactoring
  • transformers use Angular downlevel-ctor transformer (#​1099) (3c26aba)
  • transformers remove workaround for ts < 4.0 in replace-resource transformer (#​1100) (ce68298)
  • transformers migrate html-comment to new Jest serializer (#​1114) (3005330)

10.0.1 (2021-09-27)

Bug Fixes
  • utils: allow skipping ngcc-jest-processor via some Jest args (#​1013) (7d3a712)

v10.0.0

Compare Source

Features

BREAKING CHANGES

Special Thanks

Alan Agius, Pete Bacon Darwin from Angular team

10.1.0 (2021-10-26)

Bug Fixes
Code Refactoring
  • transformers use Angular downlevel-ctor transformer (#​1099) (3c26aba)
  • transformers remove workaround for ts < 4.0 in replace-resource transformer (#​1100) (ce68298)
  • transformers migrate html-comment to new Jest serializer (#​1114) (3005330)

10.0.1 (2021-09-27)

Bug Fixes
  • utils: allow skipping ngcc-jest-processor via some Jest args (#​1013) (7d3a712)

v9.0.7

Compare Source

Build

BREAKING CHANGES

Angular 9 is no longer supported, see https://angular.io/guide/releases#support-policy-and-schedule The minimum support Angular version now is 10

9.0.7 (2021-08-20)

Bug Fixes

9.0.6 (2021-08-17)

Bug Fixes
  • config: set allowJs: true internally always (#​976) (9900c8b), closes #​974
  • utils: throw error when cannot find @angular/core for ngcc-jest-preprocessor util (#​981) (c35d3f2)

9.0.5 (2021-07-22)

Features
Code Refactoring
  • remove webpack and @angular-devkit/build-angular from peer dependencies and optional dependencies (#​973) (ce7fc60)

9.0.4 (2021-06-15)

Bug Fixes

9.0.3 (2021-06-08)

Bug Fixes
  • add missing @angular/platform-browser-dynamic to peer dep (c1729e4)

9.0.2 (2021-06-06)

Bug Fixes

9.0.1 (2021-05-28)

Bug Fixes

v9.0.6

Compare Source

Build

BREAKING CHANGES

Angular 9 is no longer supported, see https://angular.io/guide/releases#support-policy-and-schedule The minimum support Angular version now is 10

9.0.7 (2021-08-20)

Bug Fixes

9.0.6 (2021-08-17)

Bug Fixes
  • config: set allowJs: true internally always (#​976) (9900c8b), closes #​974
  • utils: throw error when cannot find @angular/core for ngcc-jest-preprocessor util (#​981) (c35d3f2)

9.0.5 (2021-07-22)

Features
Code Refactoring
  • remove webpack and @angular-devkit/build-angular from peer dependencies and optional dependencies (#​973) (ce7fc60)

9.0.4 (2021-06-15)

Bug Fixes

9.0.3 (2021-06-08)

Bug Fixes
  • add missing @angular/platform-browser-dynamic to peer dep (c1729e4)

9.0.2 (2021-06-06)

Bug Fixes

9.0.1 (2021-05-28)

Bug Fixes

v9.0.5

Compare Source

Build

BREAKING CHANGES

Angular 9 is no longer supported, see https://angular.io/guide/releases#support-policy-and-schedule The minimum support Angular version now is 10

9.0.7 (2021-08-20)

Bug Fixes

9.0.6 (2021-08-17)

Bug Fixes
  • config: set allowJs: true internally always (#​976) (9900c8b), closes #​974
  • utils: throw error when cannot find @angular/core for ngcc-jest-preprocessor util (#​981) (c35d3f2)

9.0.5 (2021-07-22)

Features
Code Refactoring
  • remove webpack and @angular-devkit/build-angular from peer dependencies and optional dependencies (#​973) (ce7fc60)

9.0.4 (2021-06-15)

Bug Fixes

9.0.3 (2021-06-08)

Bug Fixes
  • add missing @angular/platform-browser-dynamic to peer dep (c1729e4)

9.0.2 (2021-06-06)

Bug Fixes

9.0.1 (2021-05-28)

Bug Fixes

v9.0.4

Compare Source

Build

BREAKING CHANGES

Angular 9 is no longer supported, see https://angular.io/guide/releases#support-policy-and-schedule The minimum support Angular version now is 10

9.0.7 (2021-08-20)

Bug Fixes

9.0.6 (2021-08-17)

Bug Fixes
  • config: set allowJs: true internally always (#​976) (9900c8b), closes #​974
  • utils: throw error when cannot find @angular/core for ngcc-jest-preprocessor util (#​981) (c35d3f2)

9.0.5 (2021-07-22)

Features
Code Refactoring
  • remove webpack and @angular-devkit/build-angular from peer dependencies and optional dependencies (#​973) (ce7fc60)

9.0.4 (2021-06-15)

Bug Fixes

9.0.3 (2021-06-08)

Bug Fixes
  • add missing @angular/platform-browser-dynamic to peer dep (c1729e4)

9.0.2 (2021-06-06)

Bug Fixes

9.0.1 (2021-05-28)

Bug Fixes

v9.0.3

Compare Source

Build

BREAKING CHANGES

Angular 9 is no longer supported, see https://angular.io/guide/releases#support-policy-and-schedule The minimum support Angular version now is 10

9.0.7 (2021-08-20)

Bug Fixes

9.0.6 (2021-08-17)

Bug Fixes
  • config: set allowJs: true internally always (#​976) (9900c8b), closes #​974
  • utils: throw error when cannot find @angular/core for ngcc-jest-preprocessor util (#​981) (c35d3f2)

9.0.5 (2021-07-22)

Features
Code Refactoring
  • remove webpack and @angular-devkit/build-angular from peer dependencies and optional dependencies (#​973) (ce7fc60)

9.0.4 (2021-06-15)

Bug Fixes

9.0.3 (2021-06-08)

Bug Fixes
  • add missing @angular/platform-browser-dynamic to peer dep (c1729e4)

9.0.2 (2021-06-06)

Bug Fixes

9.0.1 (2021-05-28)

Bug Fixes

v9.0.2

Compare Source

Build

BREAKING CHANGES

Angular 9 is no longer supported, see https://angular.io/guide/releases#support-policy-and-schedule The minimum support Angular version now is 10

9.0.7 (2021-08-20)

Bug Fixes

9.0.6 (2021-08-17)

Bug Fixes
  • config: set allowJs: true internally always (#​976) (9900c8b), closes #​974
  • utils: throw error when cannot find @angular/core for ngcc-jest-preprocessor util (#​981) (c35d3f2)

9.0.5 (2021-07-22)

Features
Code Refactoring
  • remove webpack and @angular-devkit/build-angular from peer dependencies and optional dependencies (#​973) (ce7fc60)

9.0.4 (2021-06-15)

Bug Fixes

9.0.3 (2021-06-08)

Bug Fixes
  • add missing @angular/platform-browser-dynamic to peer dep (c1729e4)

9.0.2 (2021-06-06)

Bug Fixes

9.0.1 (2021-05-28)

Bug Fixes

v9.0.1

Compare Source

Build

BREAKING CHANGES

Angular 9 is no longer supported, see https://angular.io/guide/releases#support-policy-and-schedule The minimum support Angular version now is 10

9.0.7 (2021-08-20)

Bug Fixes

9.0.6 (2021-08-17)

Bug Fixes
  • config: set allowJs: true internally always (#​976) (9900c8b), closes #​974
  • utils: throw error when cannot find @angular/core for ngcc-jest-preprocessor util (#​981) (c35d3f2)

[9.0.5](https://redirect.github.com/thymikee/jest-preset-angular/compare/


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot assigned C0ZEN Mar 7, 2022
@nx-cloud
Copy link

nx-cloud bot commented Mar 7, 2022

☁️ Nx Cloud Report

Attention: This version of the Nx Cloud GitHub bot will cease to function on July 1st, 2023. An organization admin can update your integration here.

We didn't find any information for the current pull request with the commit 7c7312a.
You might need to set the 'NX_BRANCH' environment variable in your CI pipeline.

Check the Nx Cloud Github Integration documentation for more information.


Sent with 💌 from NxCloud.

@renovate renovate bot requested a review from C0ZEN March 7, 2022 09:22
@renovate
Copy link
Author

renovate bot commented Mar 7, 2022

⚠ 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 click 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 ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/typescript
npm ERR!   dev typescript@"4.1.5" from the root project
npm ERR!   peer typescript@">=4.0 <4.2" from @angular/[email protected]
npm ERR!   node_modules/@angular/compiler-cli
npm ERR!     dev @angular/compiler-cli@"11.1.2" from the root project
npm ERR!     peer @angular/compiler-cli@">=10.0.0" from [email protected]
npm ERR!     node_modules/jest-preset-angular
npm ERR!       dev jest-preset-angular@"11.1.2" from the root project
npm ERR!     2 more (@angular-devkit/build-angular, ng-packagr)
npm ERR!   2 more (ng-packagr, tslint)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@"~4.0.0" from @angular-devkit/[email protected]
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev @angular-devkit/build-angular@"0.1100.7" from the root project
npm ERR!   peer @angular-devkit/build-angular@">=0.1002.4" from [email protected]
npm ERR!   node_modules/jest-preset-angular
npm ERR!     dev jest-preset-angular@"11.1.2" 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/2022-09-25T15_40_35_771Z-debug-0.log

@renovate renovate bot force-pushed the renovate/jest-preset-angular-11.x branch from 3bdd646 to b9ba39f Compare April 25, 2022 02:07
@renovate renovate bot force-pushed the renovate/jest-preset-angular-11.x branch from b9ba39f to 7c7312a Compare September 25, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant