Skip to content

Commit

Permalink
chore: simplify Yarn config of web-components example + make it works…
Browse files Browse the repository at this point in the history
… with Yarn 3
  • Loading branch information
gaetanmaisse committed Jul 28, 2021
1 parent ba484fa commit 54dbf9d
Show file tree
Hide file tree
Showing 3 changed files with 1,572 additions and 1,797 deletions.
10 changes: 0 additions & 10 deletions examples/web-components-kitchen-sink/.yarnrc.yml
@@ -1,12 +1,2 @@
enableGlobalCache: true

# FIXME: Hack to make the CI happy; to remove as soon as we are using `workspace:*` in our deps instead of pin versions
enableImmutableInstalls: false

nodeLinker: node-modules

plugins:
- path: ../../.yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"

yarnPath: ../../.yarn/releases/yarn-sources.cjs
4 changes: 2 additions & 2 deletions examples/web-components-kitchen-sink/package.json
Expand Up @@ -26,7 +26,6 @@
"@storybook/addons": "portal:../../lib/addons",
"@storybook/api": "portal:../../lib/api",
"@storybook/builder-webpack4": "portal:../../lib/builder-webpack4",
"@storybook/builder-webpack5": "portal:../../lib/builder-webpack5",
"@storybook/channel-postmessage": "portal:../../lib/channel-postmessage",
"@storybook/channel-websocket": "portal:../../lib/channel-websocket",
"@storybook/channels": "portal:../../lib/channels",
Expand All @@ -41,14 +40,15 @@
"@storybook/core-server": "portal:../../lib/core-server",
"@storybook/csf-tools": "portal:../../lib/csf-tools",
"@storybook/manager-webpack4": "portal:../../lib/manager-webpack4",
"@storybook/manager-webpack5": "portal:../../lib/manager-webpack5",
"@storybook/node-logger": "portal:../../lib/node-logger",
"@storybook/postinstall": "portal:../../lib/postinstall",
"@storybook/router": "portal:../../lib/router",
"@storybook/source-loader": "portal:../../lib/source-loader",
"@storybook/theming": "portal:../../lib/theming",
"@storybook/ui": "portal:../../lib/ui",
"@storybook/web-components": "portal:../../app/web-components",
"babel-plugin-macros": "3.1.0",
"fork-ts-checker-webpack-plugin": "6.2.13",
"typescript": "4.2.4"
},
"dependencies": {
Expand Down

0 comments on commit 54dbf9d

Please sign in to comment.