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

types: add typescript typings for @mdx/loasder, @mdx-js/mdx, @mdx-js/react, @mdx-js/runtime, @mdx-js/vue, @mdx/vue-loader #1079

Merged
merged 1 commit into from
May 20, 2020

Conversation

ChristianMurphy
Copy link
Member

re-applies #811
is part of #1078

@ChristianMurphy ChristianMurphy requested a review from a team May 20, 2020 21:21
@vercel
Copy link

vercel bot commented May 20, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

@vercel vercel bot temporarily deployed to Preview May 20, 2020 21:21 Inactive
@@ -50,6 +52,7 @@
"babel-plugin-macros": "2.8.0",
"babel-plugin-remove-export-keywords": "^1.6.2",
"babel-plugin-transform-vue-jsx": "4.0.1",
"dtslint": "3.6.3",
Copy link
Member Author

Choose a reason for hiding this comment

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

pulled dtslint to the top level, since the same version can and should be used to test all packages

@@ -31,6 +34,9 @@
"webpack",
"loader"
],
"scripts": {
"test-types": "dtslint types"
Copy link
Member Author

Choose a reason for hiding this comment

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

dtslint doesn't seem to support patterns.
I tried adding dtslint packages/*/types to handle all packages at once, that didn't work, so opted to add the script at the package level, and use lerna to run all of them.

@ChristianMurphy ChristianMurphy added ☂️ area/types This affects typings 🦋 type/enhancement This is great to have 🧑 semver/major This is a change 💎 v2 Issues related to v2 labels May 20, 2020
@ChristianMurphy
Copy link
Member Author

ci failure matches current next branch error https://github.com/mdx-js/mdx/runs/694041854

@johno
Copy link
Member

johno commented May 20, 2020

Awesome, thanks! I'll go ahead and fix the error in next after I merge this!

@johno johno merged commit 4bf052c into mdx-js:next May 20, 2020
@ChristianMurphy ChristianMurphy deleted the types/add-typescript-typings branch December 21, 2020 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☂️ area/types This affects typings 🧑 semver/major This is a change 🦋 type/enhancement This is great to have 💎 v2 Issues related to v2
Development

Successfully merging this pull request may close these issues.

2 participants