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

chore: move typedoc-related deps to dev deps #211

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Conversation

achou11
Copy link
Member

@achou11 achou11 commented Aug 14, 2024

Based on https://pkg-size.dev/@mapeo%[email protected], I think including typedoc is including a pinned version of typescript as a direct/peer dep, which causes installation for any module consuming @mapeo/schema to be incredibly slow (basically it's installing TS v5.1 alongside whatever TS version you've specified for yourself at the top level e.g. in an application project).

My understanding is that typedoc and any relevant plugins are only used at build-time, so it would make more sense for these to be defined as dev dependencies

Copy link
Contributor

@EvanHahn EvanHahn left a comment

Choose a reason for hiding this comment

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

I see no reason these need to be production dependencies. Love it!

@achou11 achou11 merged commit 3a2ca67 into main Aug 14, 2024
6 checks passed
@achou11 achou11 deleted the ac/typedoc-dep branch August 14, 2024 15:16
@tomasciccola
Copy link
Contributor

deaamnn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants