Skip to content

Commit

Permalink
fix(deps) Temporary fix for broken @swc/types package publishing (#10690
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Tobbe authored and Josh-Walker-GM committed Jun 3, 2024
1 parent cfe3e25 commit 4a35d10
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .changesets/10690.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- fix(deps) Temporary fix for broken @swc/types package publishing (#10690) by @Tobbe

Set yarn package resolutions to get a working version of @swc/types as
recommended by the Storybook team (see link below)

Ideally we can get rid of this very soon. Resolutions are a pain to deal with
in user's projects because we have to tell them to manually get rid of them
when they're not needed anymore.

See https://github.com/swc-project/swc/issues/8988
and https://github.com/storybookjs/storybook/issues/27385
5 changes: 4 additions & 1 deletion __fixtures__/fragment-test-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
"prisma": {
"seed": "yarn rw exec seed"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"resolutions": {
"@swc/core": "1.5.7"
}
}

0 comments on commit 4a35d10

Please sign in to comment.