question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove Changelog from npm package

See original GitHub issue

While looking for some larger files in node_modules, I’d noticed that the CHANGELOG is getting bundled:

268K    ./node_modules/eslint/CHANGELOG.md

This appears to be happening on 3.18.0

Thanks for your time in reading!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
platinumazurecommented, Mar 24, 2017

@baweaver As noted in @not-an-aardvark’s link, npm will always include the changelog even if we try to tell npm to ignore it. Thus, the only way we could get it out of the package is to remove it from GitHub, which means nobody could read it.

I suppose theoretically, we could remove older release notes from CHANGELOG and put it in some sort of archive that doesn’t get included in the package, but why should we do that really? Just seems like an extra maintenance burden for not a lot of gain.

1reaction
not-an-aardvarkcommented, Mar 24, 2017

I think the changelog is an important part of our documentation, so it makes sense to include it in the package. This is also why npm always includes changelogs in the package.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog - npm Docs
The purpose of this release is to drop support for old node versions and to remove support for require('npm') . There are no...
Read more >
Changelog - npm Docs
Documentation for the npm registry, website, and command-line interface.
Read more >
npm-unpublish
This removes a package version from the registry, deleting its entry and removing the tarball. The npm registry will return an error if...
Read more >
Changelog - npm Docs
Documentation for the npm registry, website, and command-line interface.
Read more >
Changelog - npm Docs
e4455409f #281 delete ps1 files on package removal (@NoDocCat); cd14d4701 #279 update supported node list to remove v6.0, v6.1, v9.0 - v9.2 (@ljharb) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found