Skip to content
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

Misc: Clean TS config and bump @storybook/preset-create-react-app #13878

Merged
merged 2 commits into from
Feb 13, 2021

Conversation

gaetanmaisse
Copy link
Member

Applying #13559 step by step to not face gigantic conflicts or issues with the webpack 4/5 works.

What I did

  • I cleaned usage of skipLibCheck and skipDefaultLibCheck TS option:
    skipDefaultLibCheck is deprecated so there is no need to add it anymore. I added skipLibCheck in the angular example because with Yarn 2 it looks like there is type incompatibility between some types coming from node_modules we have in the monorepo. (Not really a surprise with the number of deps we have, but I don't know why it is currently working with Yarn 1, magic hoisting 🤷🏻 )

  • I added @storybook/preset-create-react-app where it was missing and use the latest alpha to get the fix from preset-create-react-app: Fix monorepos and PnP presets#181

How to test

  • CI should be 🟢

@gaetanmaisse gaetanmaisse requested a review from a team February 11, 2021 20:36
@gaetanmaisse gaetanmaisse added the maintenance User-facing maintenance tasks label Feb 11, 2021
@gaetanmaisse gaetanmaisse marked this pull request as ready for review February 11, 2021 20:40
Copy link
Contributor

@phated phated left a comment

Choose a reason for hiding this comment

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

Seems fine to me. Are we okay with depending on that alpha?

`skipDefaultLibCheck` is deprecated so there is no need to add it
anymore.

I added `skipLibCheck` in the angular example because it looks like
there are some type incompatibility between some types coming from
node_modules we have in the monorepo. (Not really a surprise with the
number of deps we have)

Signed-off-by: Gaëtan Maisse <[email protected]>
…ssing it

Latest version of `@storybook/preset-create-react-app` fix some issue when working with workspaces
@gaetanmaisse
Copy link
Member Author

@phated I will merge with that alpha version, it will also help us testing everything is fine with it and then bump it as soon as a stable version will be released.

@gaetanmaisse gaetanmaisse merged commit 19c3b0c into next Feb 13, 2021
@gaetanmaisse gaetanmaisse deleted the tech/fix-dependencies branch February 13, 2021 17:30
@shilman
Copy link
Member

shilman commented Feb 15, 2021

@gaetanmaisse do you need me to release a stable?

@gaetanmaisse gaetanmaisse mentioned this pull request Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants