https://github.com/jsreport/jsreport-version-control-git
jsreport entities versioning implemented using local git repository
https://github.com/jsreport/jsreport-version-control-git
Last synced: 12 months ago
JSON representation
jsreport entities versioning implemented using local git repository
- Host: GitHub
- URL: https://github.com/jsreport/jsreport-version-control-git
- Owner: jsreport
- License: mit
- Created: 2017-12-12T17:23:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-13T13:20:05.000Z (over 4 years ago)
- Last Synced: 2025-05-29T04:59:57.430Z (about 1 year ago)
- Language: JavaScript
- Size: 224 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsreport-version-control-git
[](https://npmjs.com/package/jsreport-version-control-git)
[](https://travis-ci.org/jsreport/jsreport-version-control-git)
This creates local [git](https://git-scm.com/) repository in `data` directory and provide versioning implementation for
[jsreport-version-control](https://github.com/jsreport/jsreport-version-control) extension. The package includes the git node binding and doesn't require the full git to be installed.
## Installation
Requires nodejs 12.
```bash
npm install jsreport-version-control-git
```
```js
{
"extensions": { "versionControl": { "provider": "git" } }
}
```
## jsreport-core
You can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)
```js
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-version-control')({ provider: 'git' }))
jsreport.use(require('jsreport-version-control-git')())
```