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

Update exclude of tsbuildinfo files #1982

Merged
merged 2 commits into from
Aug 4, 2021
Merged

Update exclude of tsbuildinfo files #1982

merged 2 commits into from
Aug 4, 2021

Conversation

BPScott
Copy link
Member

@BPScott BPScott commented Aug 4, 2021

The lerna v3 to v4 update included a major update to npm-packlist,
which controls what files get packaged into the tar file when
publishing. In npm-packlist v2 *.tsbuildinfo no longer excludes the
build/tsconfig.tsbuildinfo file, we need to give the fuller path to
ensure this file is not uploaded to the npm registry.

See npm/npm-packlist#39

You can prove that the exclude is now working by doing cd packages/address then npx npm-packlist and noting that the build build/tsconfig.tsbuildinfo file is no longer present in the list of returned items

The lerna v3 to v4 update included a major update to `npm-packlist`,
which controls what files get packaged into the tar file when
publishing. In npm-packlist v2 `*.tsbuildconfig` no longer excludes the
`build/tsconfig.tsbuildconfig` file, we need to give the fuller path to
ensure this file is not uploaded to the npm registry.
@BPScott BPScott requested a review from a team August 4, 2021 01:11
@BPScott BPScott merged commit 4adf6bd into main Aug 4, 2021
@BPScott BPScott deleted the remove-tsbuildinfo branch August 4, 2021 01:22
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.

1 participant