From 542429b40ce3e0dc96678f1ef3bb787472a6d91f Mon Sep 17 00:00:00 2001 From: Gabriel Castro Date: Fri, 2 Aug 2019 09:46:02 -0400 Subject: [PATCH] fix(ci): make sure we can compile as a test --- lib/success.ts | 2 +- package.json | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/success.ts b/lib/success.ts index 31b4098..08a90f8 100644 --- a/lib/success.ts +++ b/lib/success.ts @@ -9,7 +9,7 @@ function getTickets(config: PluginConfig, context: GenerateNotesContext): string const patterns = config.ticketPrefixes! .map(prefix => new RegExp(`\\b${escapeRegExp(prefix)}-(\\d+)\\b`, 'giu')); - const tickets = new Set(); + const tickets = new Set(); for (const commit of context.commits) { for (const pattern of patterns) { const matches = pattern.exec(commit.message); diff --git a/package.json b/package.json index 0b0b16d..7eda67f 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "private": false, "scripts": { "prepublishOnly": "mkdir -p dist && rm -rf dist && tsc -p .", - "test": "tslint -p . && true \n#\n# No tests 😱\n#" + "test": "tsc -p . && tslint -p . && true \n#\n# No tests 😱\n#" }, "dependencies": { "@semantic-release/error": "^2.2.0", - "jira-connector": "^2.10.0", + "jira-connector": "^2.16.0", "lodash": "^4.17.11", "tslib": "^1.9.2" }, diff --git a/yarn.lock b/yarn.lock index d178954..b9bf437 100644 --- a/yarn.lock +++ b/yarn.lock @@ -674,10 +674,10 @@ isstream@~0.1.2: resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= -jira-connector@^2.10.0: - version "2.15.7" - resolved "https://registry.yarnpkg.com/jira-connector/-/jira-connector-2.15.7.tgz#fb1aee9f6a16df0f2b8a3c33057b42fdf977efe9" - integrity sha512-tv49hwAdgT4wOOb2j4vAHOQab7kIq0alWN9g0lq6tJgX4WEe/6FlX41x6A5G3TFE7n9JpUXXaJ17volagc2Jcw== +jira-connector@^2.16.0: + version "2.16.0" + resolved "https://registry.yarnpkg.com/jira-connector/-/jira-connector-2.16.0.tgz#1d811c01157574da6431bec4b0b93142ca7c296b" + integrity sha512-h4HYVYZ8Nbq8uiiCMuuY9Lm3sCi4SS1654GSvLS6nqF2/gFCWlmGx+5fEFAVODKXekjwuOUT3kDZpMzO1Uz6mw== dependencies: mime-types "^2.1.24" oauth "^0.9.12"