CLI: Fix dedent import in package managers #28980
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes N/A
What I did
Fix a bad
dedent
import in some package managersChecklist for Contributors
Testing
Test the canary in Realworld
🦋 Canary release
This pull request has been released as version
0.0.0-pr-28980-sha-5147e88f
. Try it out in a new sandbox by runningnpx [email protected] sandbox
or in an existing project withnpx [email protected] upgrade
.More information
0.0.0-pr-28980-sha-5147e88f
shilman/fix-cli-dedent-import
5147e88f
1724763432
)To request a new release of this pull request, mention the
@storybookjs/core
team.core team members can create a new canary release here or locally with
gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=28980
Greptile Summary
This PR addresses an import issue with the
dedent
function from thets-dedent
package across multiple package manager proxy files in Storybook's core.NPMProxy.ts
,PNPMProxy.ts
, andYarn1Proxy.ts
fromimport dedent from 'ts-dedent'
toimport { dedent } from 'ts-dedent'
@storybook/experimental-addon-vitest
postinstall script