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

Remove TypeScript config and build info files from npm #8639

Closed
ypconstante opened this issue Jul 3, 2019 · 2 comments · Fixed by #8641
Closed

Remove TypeScript config and build info files from npm #8639

ypconstante opened this issue Jul 3, 2019 · 2 comments · Fixed by #8641

Comments

@ypconstante
Copy link

🐛 Bug Report

Currently, the tsconfig.json and tsconfig.tsbuildinfo files are being distributed in some (maybe all) jest packages in npm. If my bash command isn't wrong, this files are summing up to 6.5M after installing jest. Since this files aren't used when running jest, they can be removed without side effects.

To Reproduce

Steps to reproduce the behavior:

  • Install jest

  • Run the command in bash to show all config and build info files:

find . -type f -name "*tsconfig*" -path "*jest*" -print0 | xargs -r0 du -csh 

Expected behavior

No unnecessary TypeScript files when downloading jest packages.

Run npx envinfo --preset jest

Paste the results here:

  System:
    OS: Linux 4.15 Linux Mint 19.1 (Tessa)
    CPU: (4) x64 Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz
  Binaries:
    Node: 10.15.3 - ~/.local/lib/asdf/installs/nodejs/10.15.3/bin/node
    Yarn: 1.16.0 - /usr/bin/yarn
    npm: 6.4.1 - ~/.local/lib/asdf/installs/nodejs/10.15.3/bin/npm
  npmPackages:
    jest: 24.8.0 => 24.8.0 
@thymikee
Copy link
Collaborator

thymikee commented Jul 4, 2019

PR welcome!

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants