Skip to content

feat: add sv #32

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 9 commits into
base: main
Choose a base branch
from
Open

feat: add sv #32

wants to merge 9 commits into from

Conversation

manuel3108
Copy link
Member

@manuel3108 manuel3108 commented Jun 20, 2025

Adds sv, Relates sveltejs/cli#622

@manuel3108
Copy link
Member Author

If i undersand that correctly pnpm audit is running on this repo here, and failing here and not in sv. Let me check

@manuel3108
Copy link
Member Author

Running pnpm update fixes the issue, not sure if you want that though

@manuel3108 manuel3108 marked this pull request as ready for review June 21, 2025 11:03
tests/sv.ts Outdated
branch: 'main',
build: 'pnpm build',
beforeTest:
'pnpm playwright install chromium && pnpx storybook@latest --version', // prefetch the storybook cli to reduce fetching errors in tests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the storybook cli used by the tests also always "latest"? what happens if they release a new major?

If possible make it a devDependency and call it via pnpm storybook just like playwright

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do see the point you are making. Our storybook add-on just executes their cli, and does nothing else. That's why we decided to leave it up to the storybook team (and Jeppe is super responsive)

That said, adding it to the devDeps of the cli won't make the situation much better, as we would still need to remember to update the version there. But it would already be simple, since it's only in one repo.

But I have another idea, will check and report back.

@dominikg
Copy link
Member

main has been updated and should no longer have audit errors, changes to package.json & lockfile can be reverted here

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.

2 participants