sapcc / juno

Monorepo for the Juno microfrontend framework, microfrontend apps, design system and component library
Apache License 2.0
7 stars 2 forks source link

chore(deps): update dependency @storybook/testing-react to v2 - autoclosed #336

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@storybook/testing-react ^1.3.0 -> ^2.0.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

storybookjs/testing-react (@​storybook/testing-react) ### [`v2.0.0`](https://togithub.com/storybookjs/testing-react/blob/HEAD/CHANGELOG.md#v200-Mon-Apr-03-2023) [Compare Source](https://togithub.com/storybookjs/testing-react/compare/v1.3.0...v2.0.0) :tada: This release contains work from a new contributor! :tada: Thank you, Kasper Peulen ([@​kasperpeulen](https://togithub.com/kasperpeulen)), for all your work! ##### Release Notes ##### Support 7.0.0 ([#​140](https://togithub.com/storybookjs/testing-react/pull/140)) Storybook 7.0.0 is out! This release will make `@storybook/testing-react` compatible with Storybook 7, though I highly recommend **not to use this package anymore!**. `@storybook/testing-react` has been promoted to a first-class Storybook functionality in Storybook 7. This means that **you no longer need this package**. Instead, you can import the same utilities, but from the `@storybook/react` package. Additionally, the internals of `composeStories` and `composeStory` have been revamped, so the way a story is composed is more accurate. The `@storybook/testing-react` package will be deprecated, so we recommend you to migrate. Please do the following: 1. Uninstall this package 2. Update your imports ```diff - import { composeStories } from '@​storybook/testing-react'; + import { composeStories } from '@​storybook/react'; // OR - import { setProjectAnnotations } from '@​storybook/testing-react'; + import { setProjectAnnotations } from '@​storybook/react'; ``` Thank you so much for being with me on this journey! ✌️ ##### Support Storybook 7.0 ([#​120](https://togithub.com/storybookjs/testing-react/pull/120)) ##### 💥 Breaking Change This version adds support for Storybook 7.0. It requires you to be using Storybook 7.0, as there were several internal changes required, all of which depend on new Storybook packages. ##### 🚀 Features In Storybook 7.0, the play function can also be defined in the Meta (default export). This is now supported in `@storybook/testing-react`. ##### ⚠️ Deprecations The `setGlobalConfig` function is now deprecated in favor of `setProjectAnnotations`, which aligns better with Storybook 7.0 nomenclature. **From:** ```js import { setGlobalConfig } from '@​storybook/testing-react'; import * as globalStorybookConfig from './.storybook/preview'; setGlobalConfig(globalStorybookConfig); ``` **To:** ```js import { setProjectAnnotations } from '@​storybook/testing-react'; import * as globalStorybookConfig from './.storybook/preview'; setProjectAnnotations(globalStorybookConfig); ``` ***

💥 Breaking Change
🐛 Bug Fix
Authors: 4


Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - 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 this update again.



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