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

Extra data directory included since version 7.0.0 #290

Closed
cesarmal opened this issue Jan 6, 2019 · 1 comment
Closed

Extra data directory included since version 7.0.0 #290

cesarmal opened this issue Jan 6, 2019 · 1 comment

Comments

@cesarmal
Copy link

cesarmal commented Jan 6, 2019

When installing version 7.0.0 or greater, a directory called data is included in node_modules/feathers-mongoose. The installed package size becomes almost 1GB on version 7.0.0.
Version 6.3.0 does not contain this extra folder.

======= 7.0.0 ========
$ npm install --save feathers-mongoose@7.0.0
...
$ ls node_modules/feathers-mongoose
CHANGELOG.md data lib LICENSE mocha.opts package.json README.md
$ du -sh node_modules/feathers-mongoose/
906M node_modules/feathers-mongoose/

======= 6.3.0 ========
$ npm install --save feathers-mongoose@6.3.0
...
$ ls node_modules/feathers-mongoose/
CHANGELOG.md lib LICENSE mocha.opts package.json README.md
$ du -sh node_modules/feathers-mongoose/
96K node_modules/feathers-mongoose/

If I am not mistaken, it must be a simple issue with the package building.

@daffl
Copy link
Member

daffl commented Jan 6, 2019

Oops, forgot that when you have a .npmignore npm will not use the folders from .gitignore. Should be fixed in the latest version.

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

No branches or pull requests

2 participants