Skip to content

build(deps-dev): bump @storybook/addon-svelte-csf from 5.0.0-next.28 to 5.0.0--canary.10171be.0 in /src/Exceptionless.Web/ClientApp #1891

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 5, 2025

Bumps @storybook/addon-svelte-csf from 5.0.0-next.28 to 5.0.0--canary.10171be.0.

Release notes

Sourced from @​storybook/addon-svelte-csf's releases.

v5.0.0-next.29

Release Notes

Breaking: Add support for render in defineMeta, replacing setTemplate-function (#295)

setTemplate-function removed in favor of render in defineMeta

The setTemplate-function has been removed. Instead reference your default snippet with the render-property in defineMeta:

<script module>
- import { defineMeta, setTemplate } from '@storybook/addon-svelte-csf';
+ import { defineMeta } from '@storybook/addon-svelte-csf';
  import MyComponent from './MyComponent.svelte';
const { Story } = defineMeta({
/* ... */

render: template
});
</script>

-<script>

setTemplate(template);
-</script>

{#snippet template(args)}
<MyComponent {...args}>
...
</MyComponent>
{/snippet}
<Story name="With Default Template" />

This new API achieves the same thing, but in a less verbose way, and is closer aligned with Storybook's regular CSF. 🎉

[!IMPORTANT] There is currently a bug in the Svelte language tools, which causes TypeScript to error with TS(2448): Block-scoped variable 'SNIPPET_NAMAE' used before its declaration.. Until that is fixed, you have to silent it with //@ts-ignore or //@ts-expect-error. See sveltejs/language-tools#2653

Breaking: Rename children prop to template, require asChild for static stories (#228)

This release contains breaking changes related to the children-API. The legacy API stays as-is to maintain backwards compatibility.

children renamed to template

The children-prop and children-snippet on Story has been renamed to template, to align better with Svelte's API and not be confused with Svelte's default children-snippet. If you have any stories using the children prop or snippet, you need to migrate them:

{#snippet template()}
</tr></table> 

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [@storybook/addon-svelte-csf](https://github.com/storybookjs/addon-svelte-csf) from 5.0.0-next.28 to 5.0.0--canary.10171be.0.
- [Release notes](https://github.com/storybookjs/addon-svelte-csf/releases)
- [Changelog](https://github.com/storybookjs/addon-svelte-csf/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/addon-svelte-csf/commits)

---
updated-dependencies:
- dependency-name: "@storybook/addon-svelte-csf"
  dependency-version: 5.0.0--canary.10171be.0
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 5, 2025
Copy link

github-actions bot commented May 5, 2025

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 18% 6% 87
Exceptionless.Web 44% 32% 2938
Exceptionless.Core 66% 44% 8566
Exceptionless.Insulation 27% 24% 231
Summary 57% (9893 / 17222) 40% (3905 / 9690) 11822

Copy link
Contributor Author

dependabot bot commented on behalf of github May 7, 2025

Looks like @storybook/addon-svelte-csf is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this May 7, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/src/Exceptionless.Web/ClientApp/storybook/addon-svelte-csf-5.0.0--canary.10171be.0 branch May 7, 2025 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

0 participants