diff --git a/.changesets/10690.md b/.changesets/10690.md new file mode 100644 index 000000000000..19a813f57d93 --- /dev/null +++ b/.changesets/10690.md @@ -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 diff --git a/__fixtures__/fragment-test-project/package.json b/__fixtures__/fragment-test-project/package.json index f93f198eeb40..81cd46defa89 100644 --- a/__fixtures__/fragment-test-project/package.json +++ b/__fixtures__/fragment-test-project/package.json @@ -20,5 +20,8 @@ "prisma": { "seed": "yarn rw exec seed" }, - "packageManager": "yarn@4.1.1" + "packageManager": "yarn@4.1.1", + "resolutions": { + "@swc/core": "1.5.7" + } }