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

Be more strict about which files are included in crate packaging #158

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

lopopolo
Copy link
Member

@lopopolo lopopolo commented Dec 8, 2024

Without these changes, prettier metadata in node_modules is included:

$ cargo package --list --allow-dirty
.cargo_vcs_info.json
Cargo.toml
Cargo.toml.orig
LICENSE
README.md
node_modules/prettier/LICENSE
node_modules/prettier/README.md
src/format/assert.rs
src/format/check.rs
src/format/mod.rs
src/format/utils.rs
src/format/week.rs
src/format/write.rs
src/lib.rs
src/mock.rs.in
src/tests/error.rs
src/tests/format.rs
src/tests/mod.rs
tests/version_numbers.rs
vendor/README.md

@lopopolo lopopolo added the A-packaging Area: Packaging releases for distribution. label Dec 8, 2024
@lopopolo lopopolo merged commit e4b4be6 into trunk Dec 8, 2024
14 checks passed
@lopopolo lopopolo deleted the dev/lopopolo-node-modules-excl branch December 8, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-packaging Area: Packaging releases for distribution.
Development

Successfully merging this pull request may close these issues.

1 participant