# grunt-mongo-change-scripts

> Grunt plugin for running and marking change scripts as done using Mongo DB

Latest version **0.0.8** (published 2016-02-21) · 0 weekly downloads

## Install

```sh
npm install grunt-mongo-change-scripts
pnpm add grunt-mongo-change-scripts
yarn add grunt-mongo-change-scripts
bun add grunt-mongo-change-scripts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2016-02-21 |
| First published | 2015-05-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Christian Meilke |
| Maintainers | meilke |
| Keywords | grunt, mongodb |

## Links

- npm: https://www.npmjs.com/package/grunt-mongo-change-scripts
- Repository: https://github.com/meilke/grunt-mongo-change-scripts
- Issues: https://github.com/meilke/grunt-mongo-change-scripts/issues
- npm.io page: https://npm.io/package/grunt-mongo-change-scripts

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) ^4.5.0
- [mongodb](https://npm.io/package/mongodb.md) ^2.1.7
- [shelljs](https://npm.io/package/shelljs.md) ^0.6.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.3.1

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.0.8 (latest) — 2016-02-21
- 0.0.7 — 2015-05-27
- 0.0.2 — 2015-05-27

## README

[![Build Status](https://api.travis-ci.org/meilke/grunt-mongo-change-scripts.png)](https://travis-ci.org/meilke/grunt-mongo-change-scripts)
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)
[![NPM version](https://badge.fury.io/js/grunt-mongo-change-scripts.svg)](http://badge.fury.io/js/grunt-mongo-change-scripts)  
[![Code Climate](https://codeclimate.com/github/meilke/grunt-mongo-change-scripts/badges/gpa.svg)](https://codeclimate.com/github/meilke/grunt-mongo-change-scripts)
[![Test Coverage](https://codeclimate.com/github/meilke/grunt-mongo-change-scripts/badges/coverage.svg)](https://codeclimate.com/github/meilke/grunt-mongo-change-scripts/coverage)
[![Dependency Status](https://david-dm.org/meilke/grunt-mongo-change-scripts.svg)](https://david-dm.org/meilke/grunt-mongo-change-scripts)
[![devDependency Status](https://david-dm.org/meilke/grunt-mongo-change-scripts/dev-status.svg)](https://david-dm.org/meilke/grunt-mongo-change-scripts#info=devDependencies)  
[![forthebadge](http://forthebadge.com/images/badges/uses-badges.svg)](http://forthebadge.com)


# grunt-mongo-change-scripts

This will run Mongo DB scripts and save that it is run so that you only run it once.

## Getting started

If you want to use it in your Grunt pipeline:

```bash
$ npm install grunt-mongo-change-scripts --save-dev
```

Next add this line to your project's Gruntfile:

```js
grunt.loadNpmTasks('grunt-mongo-change-scripts');
```

## Configuration

Add this to your Grunt configuration:

```js
grunt-mongo-change-scripts: {
  options: {
    // the Mongo DB host
    host: 'some.host',

    // the Mongo DB name
    db: 'somedb',

    // path to the change scripts
    src: 'test/scripts/*.js',

    // path to Mongo executable
    mongoBinary: 'path/to/mongo',

    // Mongo DB collection name to store change scripts already executed
    storedScriptsCollection: 'change_scripts_go_in_here'
  },
  do: {}
}
```

---
_Source: https://npm.io/package/grunt-mongo-change-scripts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
