Skip to content

Move dev deps to devDependencies in package.json #29

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

Closed

Conversation

brandomeniconi
Copy link

We required this module in our app and it brokes our TS compile using ts-node because the package @types/bluebird is required in the production dependencies and it does some trickery to the TS compiler.

Usually, `@types\ are only used in package development and are not needed in production, so I did the following:

Moved to devDependencies:

  • @types/bluebird
  • @types/request

and removed rewire because it was not used anywhere.

If I missed something please let me know.

Usually @types are only used in package development and are not needed in production.

Moved to `devDependencies`:

* `@types/bluebird`
* `@types/request`

 and removed `rewire` because it was not used anywhere.

* rewire
@brandomeniconi brandomeniconi marked this pull request as ready for review May 31, 2021 08:03
@aayush-sib
Copy link
Member

Hi @brandomeniconi
Sorry for the delay, we will make the required changes, thanks for pointing this out.

@brandomeniconi
Copy link
Author

Hi @aayush-sib,
we are holding a feature deploy due to this, so thanks for your support!

@aayush-sib
Copy link
Member

Hi @brandomeniconi
We have made the required changes in the latest PR. Can you check if it helps?

@brandomeniconi
Copy link
Author

Hi @aayush-sib,
works on our side, thanks!

Just one last question, why do you still require rewire in production even if there is no trace in the code?

I'll close this PR!
Bye!

@aayush-sib
Copy link
Member

Hi @brandomeniconi

It got missed somehow, I will remove it in the next release.

Thanks!

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.

2 participants