-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Migrate @storybook/components to TS - Part II #6500
Migrate @storybook/components to TS - Part II #6500
Conversation
This pull request is automatically deployed with Now. Latest deployment for this branch: https://monorepo-git-fork-gaetanmaisse-ts-migratio.storybook.now.sh |
@ndelangen any idea why |
Codecov Report
@@ Coverage Diff @@
## next #6500 +/- ##
=======================================
Coverage 40.81% 40.81%
=======================================
Files 616 616
Lines 8519 8519
Branches 535 535
=======================================
Hits 3477 3477
Misses 4950 4950
Partials 92 92
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## next #6500 +/- ##
=======================================
Coverage 40.77% 40.77%
=======================================
Files 616 616
Lines 8529 8529
Branches 595 595
=======================================
Hits 3478 3478
Misses 4959 4959
Partials 92 92
Continue to review full report at Codecov.
|
Build is failing for cyclic dependencies reason, for more details see #6523. |
Remove `@storybook/react` and `@storybook/addon-actions` from devDependencies of `@storybook/components` to avoid lerna to find cyclic dependency. Also add them to ts-lint no-implicit-dependencies whitelist to avoid tslint error. For more details about this see:#6523
As `@storybook/components` is now in TS (and so export its types) there is no more need to declare it in `typings.d.ts` of addons written in TS
Named exports enables better IDE integration and simplify a lot code refactoring
Issue: #5030
What I did
@storybook/components
typings in addons