Skip to content

Stop publishing tsconfig.tsbuildinfo #175

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ExplodingCabbage
Copy link

@ExplodingCabbage ExplodingCabbage commented Jul 20, 2025

This file:

@shadowspawn
Copy link
Member

Some background research: gts added composite in 6.0.0 in PR: google/gts#899

Upgrading gts triggered the unexpected file. Some other yargs projects may be affected too.

Large in the context of this project:

npm notice
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 731B LICENSE.txt
npm notice 3.4kB README.md
npm notice 9.7kB build/lib/index.js
npm notice 36.4kB build/tsconfig.tsbuildinfo
npm notice 351B index.mjs
npm notice 1.6kB package.json
npm notice Tarball Details
npm notice name: cliui
npm notice version: 9.0.1
npm notice filename: cliui-9.0.1.tgz
npm notice package size: 17.1 kB
npm notice unpacked size: 52.1 kB
npm notice shasum: 24abc6231d4ab72c331c32570c33f31b8a7adba0
npm notice integrity: sha512-pUeDbRPiQ4oQI[...]5qzRe5RMSy2jw==
npm notice total files: 6
npm notice
cliui-9.0.1.tgz

@shadowspawn
Copy link
Member

The other yargs packages are using gts v5 so not currently affected.

@shadowspawn
Copy link
Member

Other options would be whitelisting published files, or redirecting output to a different folder using tsBuildInfoFile.

However, just blocking *.tsbuildinfo is easy and light.

Copy link
Member

@shadowspawn shadowspawn left a comment

Choose a reason for hiding this comment

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

LGTM

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