offline-github-changelog
Advanced tools
Comparing version 1.3.0 to 1.4.0
const { spawnSync } = require("child_process"); | ||
const markdownEscape = require("markdown-escape"); | ||
const generateChangelog = () => { | ||
const getOrigin = spawnSync("git", ["remote", "get-url", "origin"]); | ||
const generateChangelog = (originName) => { | ||
const getOrigin = spawnSync("git", ["remote", "get-url", originName]); | ||
@@ -94,2 +94,2 @@ const repositoryUrl = getOrigin.stdout | ||
module.exports = generateChangelog; | ||
module.exports = { generateChangelog }; |
{ | ||
"name": "offline-github-changelog", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "A changelog generator for Github projects that only uses the Git history", | ||
@@ -29,4 +29,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"markdown-escape": "^1.0.2" | ||
"markdown-escape": "^1.0.2", | ||
"meow": "5.0.0" | ||
} | ||
} |
@@ -17,2 +17,5 @@ ## offline-github-changelog | ||
offline-github-changelog > CHANGELOG.md | ||
# with a different remote | ||
offline-github-changelog --remote=myremote > CHANGELOG.md | ||
``` | ||
@@ -19,0 +22,0 @@ |
Sorry, the diff of this file is not supported yet
6554
45
2
+ Addedmeow@5.0.0
+ Addedarray-find-index@1.0.2(transitive)
+ Addedarrify@1.0.1(transitive)
+ Addedcamelcase@4.1.0(transitive)
+ Addedcamelcase-keys@4.2.0(transitive)
+ Addedcurrently-unhandled@0.4.1(transitive)
+ Addeddecamelize@1.2.0(transitive)
+ Addeddecamelize-keys@1.1.1(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedfind-up@2.1.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhosted-git-info@2.8.9(transitive)
+ Addedindent-string@3.2.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-core-module@2.16.1(transitive)
+ Addedis-plain-obj@1.1.0(transitive)
+ Addedjson-parse-better-errors@1.0.2(transitive)
+ Addedload-json-file@4.0.0(transitive)
+ Addedlocate-path@2.0.0(transitive)
+ Addedloud-rejection@1.6.0(transitive)
+ Addedmap-obj@1.0.12.0.0(transitive)
+ Addedmeow@5.0.0(transitive)
+ Addedminimist-options@3.0.2(transitive)
+ Addednormalize-package-data@2.5.0(transitive)
+ Addedp-limit@1.3.0(transitive)
+ Addedp-locate@2.0.0(transitive)
+ Addedp-try@1.0.0(transitive)
+ Addedparse-json@4.0.0(transitive)
+ Addedpath-exists@3.0.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-type@3.0.0(transitive)
+ Addedpify@3.0.0(transitive)
+ Addedquick-lru@1.1.0(transitive)
+ Addedread-pkg@3.0.0(transitive)
+ Addedread-pkg-up@3.0.0(transitive)
+ Addedredent@2.0.0(transitive)
+ Addedresolve@1.22.10(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedspdx-correct@3.2.0(transitive)
+ Addedspdx-exceptions@2.5.0(transitive)
+ Addedspdx-expression-parse@3.0.1(transitive)
+ Addedspdx-license-ids@3.0.21(transitive)
+ Addedstrip-bom@3.0.0(transitive)
+ Addedstrip-indent@2.0.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtrim-newlines@2.0.0(transitive)
+ Addedvalidate-npm-package-license@3.0.4(transitive)
+ Addedyargs-parser@10.1.0(transitive)