markdown-magic
Advanced tools
Comparing version 0.2.1 to 1.0.0
@@ -40,11 +40,11 @@ const fs = require('fs') | ||
if(!mdPath) return false | ||
const gitAdd = execSync(`git add ${mdPath}`, {}, (error) => { | ||
if (error) console.warn(error) | ||
const msg = `${mdPath} automatically updated by markdown-magic` | ||
const gitCommitCommand = `git commit -m '${msg}' --no-verify` | ||
// execSync(gitCommitCommand, {}, (err) => { | ||
// if (err) console.warn(err) | ||
// console.log('git commit automatically ran. Push up your changes!') | ||
// }) | ||
}) | ||
// const gitAdd = execSync(`git add ${mdPath}`, {}, (error) => { | ||
// if (error) console.warn(error) | ||
// const msg = `${mdPath} automatically updated by markdown-magic` | ||
// const gitCommitCommand = `git commit -m '${msg}' --no-verify` | ||
// // execSync(gitCommitCommand, {}, (err) => { | ||
// // if (err) console.warn(err) | ||
// // console.log('git commit automatically ran. Push up your changes!') | ||
// // }) | ||
// }) | ||
}) | ||
@@ -51,0 +51,0 @@ } |
{ | ||
"name": "markdown-magic", | ||
"version": "0.2.1", | ||
"version": "1.0.0", | ||
"description": "Automatically update markdown files with content from external sources", | ||
@@ -34,14 +34,16 @@ "main": "index.js", | ||
"is-local-path": "^0.1.6", | ||
"markdown-toc": "^1.0.2", | ||
"markdown-toc": "^1.2.0", | ||
"sync-request": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.17.0", | ||
"babel-eslint": "^7.1.1", | ||
"ava": "^2.3.0", | ||
"dox": "^0.9.0", | ||
"eslint": "^3.11.1", | ||
"eslint-config-airbnb-base": "^10.0.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"sinon": "^1.17.6" | ||
}, | ||
"ava": { | ||
"files": [ | ||
"test/**/*.test.js" | ||
], | ||
"verbose": true | ||
} | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3
0
60229
28
Updatedmarkdown-toc@^1.2.0