lerna-changelog
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -14,3 +14,4 @@ module.exports = { | ||
releaseName: 'v${version}', | ||
tokenRef: 'GITHUB_AUTH', | ||
skipChecks: true, | ||
tokenRef: 'GITHUB_AUTH' | ||
}, | ||
@@ -17,0 +18,0 @@ npm: { |
@@ -5,2 +5,11 @@ # Changelog | ||
## v2.2.0 (2021-10-11) | ||
#### :rocket: Enhancement | ||
* [#560](https://github.com/lerna/lerna-changelog/pull/560) Update `cli-highlight` to v2.1.11 ([@elwayman02](https://github.com/elwayman02)) | ||
#### Committers: 1 | ||
- Jordan Hawker ([@elwayman02](https://github.com/elwayman02)) | ||
## v2.1.0 (2021-08-07) | ||
@@ -7,0 +16,0 @@ |
@@ -104,3 +104,3 @@ "use strict"; | ||
} | ||
const issueNumber = find_pull_request_id_1.default(message); | ||
const issueNumber = (0, find_pull_request_id_1.default)(message); | ||
return { | ||
@@ -107,0 +107,0 @@ commitSHA: sha, |
@@ -13,3 +13,3 @@ "use strict"; | ||
exports.run = void 0; | ||
const chalk_1 = require("chalk"); | ||
const chalk = require("chalk"); | ||
const cli_highlight_1 = require("cli-highlight"); | ||
@@ -71,3 +71,3 @@ const changelog_1 = require("./changelog"); | ||
try { | ||
let config = configuration_1.load({ | ||
let config = (0, configuration_1.load)({ | ||
nextVersionFromMetadata: argv["next-version-from-metadata"], | ||
@@ -80,8 +80,8 @@ repo: argv.repo, | ||
let result = yield new changelog_1.default(config).createMarkdown(options); | ||
let highlighted = cli_highlight_1.highlight(result, { | ||
let highlighted = (0, cli_highlight_1.highlight)(result, { | ||
language: "Markdown", | ||
theme: { | ||
section: chalk_1.default.bold, | ||
string: chalk_1.default.hex("#0366d6"), | ||
link: chalk_1.default.dim, | ||
section: chalk.bold, | ||
string: chalk.hex("#0366d6"), | ||
link: chalk.dim, | ||
}, | ||
@@ -93,6 +93,6 @@ }); | ||
if (e instanceof configuration_error_1.default) { | ||
console.log(chalk_1.default.red(e.message)); | ||
console.log(chalk.red(e.message)); | ||
} | ||
else { | ||
console.log(chalk_1.default.red(e.stack)); | ||
console.log(chalk.red(e.stack)); | ||
} | ||
@@ -99,0 +99,0 @@ process.exitCode = 1; |
@@ -11,3 +11,3 @@ "use strict"; | ||
function load(options = {}) { | ||
let rootPath = git_1.getRootPath(); | ||
let rootPath = (0, git_1.getRootPath)(); | ||
return fromPath(rootPath, options); | ||
@@ -14,0 +14,0 @@ } |
@@ -27,6 +27,3 @@ "use strict"; | ||
function listTagNames() { | ||
return execa | ||
.sync("git", ["tag"]) | ||
.stdout.split("\n") | ||
.filter(Boolean); | ||
return execa.sync("git", ["tag"]).stdout.split("\n").filter(Boolean); | ||
} | ||
@@ -33,0 +30,0 @@ exports.listTagNames = listTagNames; |
@@ -38,4 +38,4 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const res = yield fetch_1.default(url, { | ||
cacheManager: this.cacheDir, | ||
const res = yield (0, fetch_1.default)(url, { | ||
cachePath: this.cacheDir, | ||
headers: { | ||
@@ -42,0 +42,0 @@ Authorization: `token ${this.auth}`, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const chalk_1 = require("chalk"); | ||
const chalk = require("chalk"); | ||
const ProgressBar = require("progress"); | ||
@@ -18,4 +18,4 @@ class ProgressBarController { | ||
total, | ||
complete: chalk_1.default.hex("#0366d6")("█"), | ||
incomplete: chalk_1.default.enabled ? chalk_1.default.gray("█") : "░", | ||
complete: chalk.hex("#0366d6")("█"), | ||
incomplete: chalk.level > 0 ? chalk.gray("█") : "░", | ||
clear: true, | ||
@@ -22,0 +22,0 @@ width: 20, |
{ | ||
"name": "lerna-changelog", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Generate a changelog for a lerna monorepo", | ||
@@ -37,7 +37,7 @@ "keywords": [ | ||
"dependencies": { | ||
"chalk": "^2.4.1", | ||
"cli-highlight": "^2.1.4", | ||
"execa": "^1.0.0", | ||
"hosted-git-info": "^3.0.8", | ||
"make-fetch-happen": "^7.1.1", | ||
"chalk": "^4.0.0", | ||
"cli-highlight": "^2.1.11", | ||
"execa": "^5.0.0", | ||
"hosted-git-info": "^4.0.0", | ||
"make-fetch-happen": "^9.0.0", | ||
"p-map": "^3.0.0", | ||
@@ -48,18 +48,18 @@ "progress": "^2.0.0", | ||
"devDependencies": { | ||
"@types/jest": "^25.2.3", | ||
"@types/node": "^13.13.4", | ||
"@typescript-eslint/eslint-plugin": "^2.34.0", | ||
"@typescript-eslint/parser": "^2.34.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"fs-extra": "^8.1.0", | ||
"jest": "^25.5.4", | ||
"jest-runner-eslint": "^0.7.6", | ||
"prettier": "1.19.1", | ||
"release-it": "14.10.1", | ||
"@types/jest": "27.0.2", | ||
"@types/node": "14.17.21", | ||
"@typescript-eslint/eslint-plugin": "5.0.0", | ||
"@typescript-eslint/parser": "5.0.0", | ||
"eslint": "7.32.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-prettier": "4.0.0", | ||
"fs-extra": "10.0.0", | ||
"jest": "27.2.5", | ||
"jest-runner-eslint": "0.11.1", | ||
"prettier": "2.4.1", | ||
"release-it": "14.11.6", | ||
"release-it-lerna-changelog": "3.1.0", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^25.5.1", | ||
"typescript": "^3.9.2" | ||
"rimraf": "3.0.2", | ||
"ts-jest": "27.0.5", | ||
"typescript": "4.4.3" | ||
}, | ||
@@ -102,2 +102,3 @@ "engines": { | ||
"prettier": { | ||
"arrowParens": "avoid", | ||
"printWidth": 120, | ||
@@ -104,0 +105,0 @@ "tabWidth": 2, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60737
876
+ Added@gar/promisify@1.1.3(transitive)
+ Added@npmcli/fs@1.1.1(transitive)
+ Added@npmcli/move-file@1.1.2(transitive)
+ Added@tootallnate/once@1.1.2(transitive)
+ Addedagent-base@6.0.2(transitive)
+ Addedcacache@15.3.0(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addederr-code@2.0.3(transitive)
+ Addedexeca@5.1.1(transitive)
+ Addedget-stream@6.0.1(transitive)
+ Addedhosted-git-info@4.1.0(transitive)
+ Addedhttp-proxy-agent@4.0.1(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addedhuman-signals@2.1.0(transitive)
+ Addedip-address@9.0.5(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedjsbn@1.1.0(transitive)
+ Addedmake-fetch-happen@9.1.0(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addedmimic-fn@2.1.0(transitive)
+ Addednegotiator@0.6.4(transitive)
+ Addednpm-run-path@4.0.1(transitive)
+ Addedonetime@5.1.2(transitive)
+ Addedp-map@4.0.0(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpromise-retry@2.0.1(transitive)
+ Addedretry@0.12.0(transitive)
+ Addedrimraf@3.0.2(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsocks@2.8.3(transitive)
+ Addedsocks-proxy-agent@6.2.1(transitive)
+ Addedsprintf-js@1.1.3(transitive)
+ Addedssri@8.0.1(transitive)
+ Addedstrip-final-newline@2.0.0(transitive)
+ Addedwhich@2.0.2(transitive)
- Removedagent-base@4.2.15.1.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedaproba@1.2.0(transitive)
- Removedcacache@14.0.0(transitive)
- Removedchalk@2.4.2(transitive)
- Removedchownr@1.1.4(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcopy-concurrently@1.0.5(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcross-spawn@6.0.6(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removederr-code@1.1.2(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedes6-promisify@5.0.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedexeca@1.0.0(transitive)
- Removedfiggy-pudding@3.5.2(transitive)
- Removedfs-write-stream-atomic@1.0.10(transitive)
- Removedget-stream@4.1.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedhosted-git-info@3.0.8(transitive)
- Removedhttp-proxy-agent@3.0.0(transitive)
- Removedhttps-proxy-agent@4.0.0(transitive)
- Removediferr@0.1.5(transitive)
- Removedip@1.1.5(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedmake-fetch-happen@7.1.1(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedmove-concurrently@1.0.1(transitive)
- Removednice-try@1.0.5(transitive)
- Removednpm-run-path@2.0.2(transitive)
- Removedp-finally@1.0.0(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedpromise-retry@1.1.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedretry@0.10.1(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedrun-queue@1.0.3(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedsocks@2.3.3(transitive)
- Removedsocks-proxy-agent@4.0.2(transitive)
- Removedssri@7.1.1(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstrip-eof@1.0.0(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwhich@1.3.1(transitive)
- Removedyallist@3.1.1(transitive)
Updatedchalk@^4.0.0
Updatedcli-highlight@^2.1.11
Updatedexeca@^5.0.0
Updatedhosted-git-info@^4.0.0
Updatedmake-fetch-happen@^9.0.0