brysgo / angular-monoquery

0 stars 0 forks source link

Bump jest-preset-angular from 5.2.2 to 8.0.0 #38

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps jest-preset-angular from 5.2.2 to 8.0.0.

Release notes *Sourced from [jest-preset-angular's releases](https://github.com/thymikee/jest-preset-angular/releases).* > ## v8.0.0 > ### Features > * (**BREAKING**): Refine ast-transformer behavior: only transform `styles`-assignments inside [@​Component](https://github.com/Component) ([#261](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/261)) and TypeScript v2.9 `createStringLiteral` is polyfilled if an older version is used ([#272](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/272)). > * (**BREAKING**): Restructure project with `src` and `build` folder ([#307](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/307)). > * (**BREAKING**): Support `tsconfig.spec.json` in root folder by default ([#309](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/309)). > * (**BREAKING**): Enable AngularNoAngularNoNgAttributesSnapshotSerializer (created in [#97](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/97)) by default ([#318](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/318)). > * Remove `core-js` dependency by using internal, minimal reflect-metadata ([#315](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/315)). > > ### Chore && Maintenance > * Update example app to match Angular 8 Boilerplate ([#311](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/311)). > * Update example app to not use karma, extract jest config, fix paths ([#316](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/316)). > * Update jsdom to current version 15 ([#318](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/318)). > > ### Migration Guide > * If the `astTransformers` are referenced in a custom `jest` config, `[ 'jest-preset-angular/build/InlineFilesTransformer', 'jest-preset-angular/build/StripStylesTransformer']` have to be set instead. > * Serializers, transformers and `setupJest` have to be referenced from the `jest-preset-angular/build/`-folder in a custom config. Existing references have to be aligned. > * If your `tsconfig.spec.json` is located in `src`, move it to your root folder and adjust the referenced files and paths inside, or align your jest configuration as discussed in the [README.md](https://github.com/thymikee/jest-preset-angular/blob/master/README.md#custom-tsconfig). > * In an Angular 8 project or higher, `core-js` should no longer be a dependency declared in `package.json`, unless it's imported manually in the code. > > ## v7.0.1 > ### Chore > > - Update dependencies to enable Greenkeeper 🌴 ([#235](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/235)) > > ## v7.0.0 > #### Features > > * (**BREAKING**): Upgrade ts-jest to ^23.10.4 and use ast-transformer instead of processor ([#204](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/204)) > * (**BREAKING**): Upgrade Jest to 24 ([#224](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/224)) > * (**BREAKING**): Use test environment JSDOM v13 by default (drops Node below 8) ([#229](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/229)) > * Embed `jest-zone-patch` into this preset ([#214](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/214)) > > #### Chore & Maintenance > > * Remove template literal character escaping (reverts [#34](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/34)) > * Moved @types/jest to devDependencies ([#227](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/227)), close ([#226](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/226)) > * Upgrade example app dependencies ([#233](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/233)) > * Migrate CI config to CircleCI v2 ([#212](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/212)) > * Docs: do not use .babelrc file but rather babel.config.js ([#231](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/231)) > * Docs: add astTransformers in configuration example ([#218](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/218)) > > #### Migration Guide > > * If `global` and `transform` are not set in your configuration in `jest.config.json`, `jest.config.js` or `package.json`, you are done. > * If the `global` value of the configuration was overriden, adjust > * The option `"__TRANSFORM_HTML__": true` is not required anymore. Instead the `"stringifyContentPathRegex": "\\.html$"` should be used inside the `ts-jest`-configuration. > * Change the assignment identifier from `tsConfigFile` to `tsConfig`. > * Add the `astTransformer: [ require.resolve('jest-preset-angular/InlineHtmlStripStylesTransformer')]` so Jest can work with `templateUrl`-assignments in Component decorators. > * If `transform` was overridden, remove the entry pointing at `preprocessor.js` and add `"^.+\\.(ts|js|html)$": "ts-jest"` to the `transform`-object. > * If in doubt, check the configuration example in `jest-preset.json`. > ... (truncated)
Changelog *Sourced from [jest-preset-angular's changelog](https://github.com/thymikee/jest-preset-angular/blob/master/CHANGELOG.md).* > ### v8.0.0 > > #### Features > * (**BREAKING**): Refine ast-transformer behavior: only transform `styles`-assignments inside [@​Component](https://github.com/Component) ([#261](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/261)) and TypeScript v2.9 `createStringLiteral` is polyfilled if an older version is used ([#272](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/272)). > * (**BREAKING**): Restructure project with `src` and `build` folder ([#307](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/307)). > * (**BREAKING**): Support `tsconfig.spec.json` in root folder by default ([#309](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/309)). > * (**BREAKING**): Enable AngularNoAngularNoNgAttributesSnapshotSerializer (created in [#97](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/97)) by default ([#318](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/318)). > * Remove `core-js` dependency by using internal, minimal reflect-metadata ([#315](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/315)). > > #### Chore && Maintenance > * Update example app to match Angular 8 Boilerplate ([#311](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/311)). > * Update example app to not use karma, extract jest config, fix paths ([#316](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/316)). > * Update jsdom to current version 15 ([#318](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/318)). > > #### Migration Guide > * If the `astTransformers` are referenced in a custom `jest` config, `[ 'jest-preset-angular/build/InlineFilesTransformer', 'jest-preset-angular/build/StripStylesTransformer']` have to be set instead. > * Serializers, transformers and `setupJest` have to be referenced from the `jest-preset-angular/build/`-folder in a custom config. Existing references have to be aligned. > * If your `tsconfig.spec.json` is located in `src`, move it to your root folder and adjust the referenced files and paths inside, or align your jest configuration as discussed in the [README.md](https://github.com/thymikee/jest-preset-angular/blob/master/README.md#custom-tsconfig). > * In an Angular 8 project or higher, `core-js` should no longer be a dependency declared in `package.json`, unless it's imported manually in the code. > > ### v7.1.0 > > #### Features > * Added `AngularNoNgAttributesSnapshotSerializer`. Using this serializer makes snapshots clearer and more human-readable. You have to apply this serializer manually by redefining `snapshotSerializers` `jest` option. > > #### Chore && Maintenance > * Fixed a CI cache issue in the example app, which would not always use the current version of the preset in the test runs. > > ### v7.0.0 > > #### Features > * (**BREAKING**): Upgrade ts-jest to ^23.10.4 and use ast-transformer instead of processor ([#204](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/204)) > * Upgrade Jest to 24 ([#224](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/224)) > * Use test environment JSDOM v13 by default (drops Node below 8) ([#229](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/229)) > * Embed `jest-zone-patch` into this preset ([#214](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/214)) > > #### Chore & Maintenance > * Remove template literal character escaping (reverts [#34](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/34)) > * Moved @types/jest to devDependencies ([#227](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/227)), close ([#226](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/226)) > * Upgrade example app dependencies ([#233](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/233)) > * Migrate CI config to CircleCI v2 ([#212](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/212)) > * Docs: do not use .babelrc file but rather babel.config.js ([#231](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/231)) > * Docs: add astTransformers in configuration example ([#218](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/pull/218)) > > #### Migration Guide > > * If `global` and `transform` are not set in your configuration in `jest.config.json`, `jest.config.js` or `package.json`, you are done. > * If the `global` value of the configuration was overridden, adjust > * The option `"__TRANSFORM_HTML__": true` is not required anymore. Instead the `"stringifyContentPathRegex": "\\.html$"` should be used inside the `ts-jest`-configuration. > * Change the assignment identifier from `tsConfigFile` to `tsConfig`. > ... (truncated)
Commits - [`ca8b6d2`](https://github.com/thymikee/jest-preset-angular/commit/ca8b6d227ce8b638e63c92e5613644a54f943782) v8.0.0 - [`8161ea7`](https://github.com/thymikee/jest-preset-angular/commit/8161ea7a3334866b82649cbd3760aee012dfc112) chore: use jsdom15; enable AngularNoNgAttributesSnapshotSerializer ([#318](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/318)) - [`12b0bfa`](https://github.com/thymikee/jest-preset-angular/commit/12b0bfab970438b91e9ffbb983eaec2d50532317) feat: use simpler reflect-metadata implementation ([#315](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/315)) - [`20ba6fd`](https://github.com/thymikee/jest-preset-angular/commit/20ba6fd4b160dd89c385d28e8bcab13e1fc0a783) example clean-up: get rid of karma, extract jest config, fix bui… ([#316](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/316)) - [`24045bc`](https://github.com/thymikee/jest-preset-angular/commit/24045bceaf35f055756677436b6d5baf5eaccd31) chore: Bump example project to Angular 8 ([#311](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/311)) - [`03f14f2`](https://github.com/thymikee/jest-preset-angular/commit/03f14f29e8a734a5aee4c81914ace0f8ec9db3e5) docs: add a warning message for exposed config ([#313](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/313)) - [`a692cc6`](https://github.com/thymikee/jest-preset-angular/commit/a692cc611fd10f26e45da79c5e656d24d0498655) feat: Support tsconfig.spec.json in root dir ([#309](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/309)) - [`7c72e93`](https://github.com/thymikee/jest-preset-angular/commit/7c72e9385117ff7b4f89067536689e7beeb3c9cf) feat: restructure project with src/ and build/ ([#307](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/307)) - [`871e4d4`](https://github.com/thymikee/jest-preset-angular/commit/871e4d4a09e6bc6f6243185ddae62f28db815661) Updated Readme.md with direct link to setup jest file ([#306](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/306)) - [`e50d4c9`](https://github.com/thymikee/jest-preset-angular/commit/e50d4c96df77d098bc55c556a27c7a8c189dfff1) Bump mixin-deep from 1.3.1 to 1.3.2 ([#303](https://github-redirect.dependabot.com/thymikee/jest-preset-angular/issues/303)) - Additional commits viewable in [compare view](https://github.com/thymikee/jest-preset-angular/compare/v5.2.2...v8.0.0)
Maintainer changes This version was pushed to npm by [wtho](https://www.npmjs.com/~wtho), a new releaser for jest-preset-angular since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #62.