Skip to content

Do not package the mongodb data dir (reduce the unpacked size 1800 times) #7

Description

@ChALkeR

Disclaimer: I do not use the package, this was found during automated npm packages downloading.

Atm, your npm package mongodm@0.7.1 has packaged size 0.20 MiB, and installed size 160.1 MiB.

160.0 MiB (99.95%) of that is consumed by the .githide/mongod directory. That is your mongodb database directory.

I suspect that that directory was accidently packaged.

You could add it to .npmignore (if you have an .npmignore already) or to .gitignore (if you don't have an .npmignore).


Your current package files (as of mongodm@0.7.1):

mongodm-0.7.1.tgz
├── .githide
│   ├── mongod
│   │   ├── local.0
│   │   ├── local.ns
│   │   ├── mongodb-test.0
│   │   ├── mongodb-test.ns
│   │   └── mongod.lock
│   └── notes.js
├── index.js
├── lib
│   ├── mapping
│   │   └── mapper.js
│   └── mongodm.js
├── .npmignore
├── package.json
├── README.md
├── test
│   ├── construct-test.js
│   ├── db-test.js
│   ├── events-test.js
│   ├── model-test.js
│   ├── relations-test.js
│   ├── scopes-test.js
│   └── support
│       ├── common.js
│       └── config.js
└── .travis.yml

6 directories, 21 files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions