distribution package contains unecessary files
See original GitHub issuedistribution package contains unecessary files
Introduction
distribution packages - those published on npm - should preferably be slim, and contain only the run-time sources, with a set of minimum registry requirements (such as package.json, readme and license).
however, the distribution package comes with unecessary files and folders
Issue Description
True for 0.10.4
- The distribution contains:
- src
- scripts
- .babelrc
- .npmignore
Steps to reproduce issue
npm install bookshelf
tree node_modules/bookshelf
Expected behaviour
Folder tree should include:
- lib
- README.md/LISENSE/CHANGELOG.md
- package.json
Actual behaviour
D:\ws>tree node_modules\bookshelf /F
Folder PATH listing for volume DATA
Volume serial number is 20CC-A0A2
D:\WS\NODE_MODULES\BOOKSHELF
β .babelrc
β .npmignore
β bookshelf.js
β CHANGELOG.md
β LICENSE
β package.json
β README.md
β
ββββlib
β β bookshelf.js
β β collection.js
β β constants.js
β β eager.js
β β errors.js
β β extend.js
β β helpers.js
β β model.js
β β relation.js
β β sync.js
β β
β ββββbase
β β collection.js
β β eager.js
β β events.js
β β model.js
β β promise.js
β β relation.js
β β
β ββββplugins
β pagination.js
β registry.js
β virtuals.js
β visibility.js
β
ββββscripts
β build.js
β gh-pages.sh
β jsdoc.config.json
β jsdoc.sh
β postpublish.sh
β promise.js
β
ββββsrc
β bookshelf.js
β collection.js
β constants.js
β eager.js
β errors.js
β extend.js
β helpers.js
β model.js
β relation.js
β sync.js
β
ββββbase
β collection.js
β eager.js
β events.js
β model.js
β promise.js
β relation.js
β
ββββplugins
pagination.js
registry.js
virtuals.js
visibility.js
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Cannot distribute files to distribution point - TechNet - Microsoft
Solution: Verify that the site server computer account has at least Read access to the directory you specify as the source directory. PossibleΒ ......
Read more >Remove Unnecessary Files With Windows Disk Cleanup
If you want to clean your drive of unnecessary files but don't want to download a third-party program, here's how to do it...
Read more >How to minimize the unnecessary files installed by package ...
I'm trying to install packages with having as little files from their dependencies as possible, since system size is important to me.
Read more >How to Remove Junk Files From Your Windows 10 PC
Windows 10 can quickly clog up from junk files strewn across the system. Here's how to clean them all out.
Read more >How to clean up junk files on Mac - MacPaw
4. Remove localization files Β· Open Finder and go to the Applications folder. Β· Right-click any application icon and select Show Package Contents....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You should have an invite to the organization and maintainer team again. I thought I had added everyone, but I must have missed some people who werenβt on the bookshelf organization but the repo itself. It would be helpful if you could also add one of the more recently active maintainers, or all of the maintainers team to the npm package administration as well.
Fixed in version 0.11.0, although you should be installing 0.11.1 due to a missing file in the previous version.