Skip to content

Isaacs/do not force include so much stuff - #61

Merged
isaacs merged 2 commits into
mainfrom
isaacs/do-not-force-include-so-much-stuff
May 5, 2021
Merged

Isaacs/do not force include so much stuff#61
isaacs merged 2 commits into
mainfrom
isaacs/do-not-force-include-so-much-stuff

Conversation

@isaacs

@isaacs isaacs commented May 5, 2021

Copy link
Copy Markdown
Contributor

References

@isaacs
isaacs force-pushed the isaacs/do-not-force-include-so-much-stuff branch from e765132 to 32983b9 Compare May 5, 2021 17:24
isaacs added 2 commits May 5, 2021 12:11
Only forcibly include the files that are load-bearing by the npm
registry

PR-URL: #61
Credit: @isaacs
Close: #61
Reviewed-by: @nlf
@isaacs
isaacs force-pushed the isaacs/do-not-force-include-so-much-stuff branch from 32983b9 to 2b29fc2 Compare May 5, 2021 19:11
@isaacs isaacs closed this in 2b29fc2 May 5, 2021
@isaacs
isaacs merged commit 2b29fc2 into main May 5, 2021
@akijoey akijoey mentioned this pull request Aug 7, 2021
matz3 added a commit to SAP/ui5-cli that referenced this pull request Jan 28, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-builder that referenced this pull request Jan 28, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-server that referenced this pull request Jan 28, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-project that referenced this pull request Jan 28, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-fs that referenced this pull request Jan 28, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-logger that referenced this pull request Jan 28, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-builder that referenced this pull request Jan 31, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-project that referenced this pull request Jan 31, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-fs that referenced this pull request Jan 31, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-server that referenced this pull request Jan 31, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-logger that referenced this pull request Jan 31, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
matz3 added a commit to SAP/ui5-cli that referenced this pull request Jan 31, 2022
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
@wraithgar
wraithgar deleted the isaacs/do-not-force-include-so-much-stuff branch December 1, 2023 19:33
owlstronaut pushed a commit to npm/cli that referenced this pull request May 15, 2025
It seems that the `CHANGELOG` files are not in the never ignored list
since npm/npm-packlist#61

## References

Also see the list at
[package.json#files](https://docs.npmjs.com/cli/v11/configuring-npm/package-json#files).
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
… file

The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 26, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 26, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 26, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 26, 2025
The CLI needs the changelog files of all modules to create a
consolidated changelog.

Since npm v7 the CHANGELOG file is not always published anymore.
See: npm/npm-packlist#61
jdx added a commit to jdx/aube that referenced this pull request Apr 23, 2026
## Summary
- Remove `CHANGELOG*` from `pack`'s always-on file list, matching npm's
behavior in
[npm/npm-packlist#61](npm/npm-packlist#61).
README and LICENSE/LICENCE still force-include.
- Users who actually want a changelog shipped can list it in the `files`
field.

Closes [#226](#226).

## Test plan
- [x] \`cargo build -p aube\` passes
- [x] no existing bats/Rust tests reference \`CHANGELOG\` in
pack/publish paths

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk: narrows `aube pack`'s default always-included set by
removing `CHANGELOG*`, which only affects tarball contents and not
execution paths beyond packaging.
> 
> **Overview**
> Updates `aube pack` to **stop force-including `CHANGELOG*`** in
generated tarballs, matching npm behavior; `README*` and
`LICENSE*`/`LICENCE*` remain always included.
> 
> Adds inline documentation explaining the exclusion and that users can
still ship changelogs by listing them in `package.json` `files`.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
06b73e6. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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