From 9898b8e90cdd4887e1ae1d139b5594aece378de0 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Sat, 24 Mar 2018 11:37:07 -0700 Subject: [PATCH] fix: use new semantic-release --- .circleci/config.yml | 5 ++--- package.json | 10 +++++----- yarn.lock | 45 +++++++++++++++++++++++++++++++++++--------- 3 files changed, 43 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 98d24176..17010ac6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,14 +15,13 @@ jobs: - v1-yarn-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}} - v1-yarn-{{checksum ".circleci/config.yml"}} - run: .circleci/greenkeeper - - run: yarn add -D nyc@11 @oclif/nyc-config@1 mocha-junit-reporter@1 @commitlint/cli@6 @commitlint/config-conventional@6 + - run: yarn add -D nyc@11 @oclif/nyc-config@1 mocha-junit-reporter@1 - run: ./bin/run --help - run: | mkdir -p reports $NYC yarn test --reporter mocha-junit-reporter $NYC report --reporter text-lcov > coverage.lcov curl -s https://codecov.io/bash | bash - - run: yarn exec commitlint -- -x @commitlint/config-conventional --from origin/master - store_test_results: &store_test_results path: ~/cli/reports node-8: @@ -35,7 +34,7 @@ jobs: - add_ssh_keys - checkout - restore_cache: *restore_cache - - run: yarn global add @oclif/semantic-release@1 semantic-release@12 + - run: yarn global add @oclif/semantic-release@2 semantic-release@15 - run: yarn --frozen-lockfile - run: | export PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH diff --git a/package.json b/package.json index 0d54303c..49bbf758 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "bugs": "https://github.com/oclif/plugin-plugins/issues", "dependencies": { "@heroku-cli/color": "^1.1.3", - "@oclif/command": "^1.4.2", + "@oclif/command": "^1.4.4", "chalk": "^2.3.2", - "cli-ux": "^3.3.25", + "cli-ux": "^3.3.26", "debug": "^3.1.0", "fs-extra": "^5.0.0", "http-call": "^5.0.2", @@ -19,10 +19,10 @@ "yarn": "^1.5.1" }, "devDependencies": { - "@oclif/config": "^1.3.59", - "@oclif/dev-cli": "^1.4.0", + "@oclif/config": "^1.3.60", + "@oclif/dev-cli": "^1.4.2", "@oclif/errors": "^1.0.2", - "@oclif/plugin-help": "^1.1.6", + "@oclif/plugin-help": "^1.2.0", "@oclif/test": "^1.0.1", "@oclif/tslint": "^1.0.2", "@types/chai": "^4.1.2", diff --git a/yarn.lock b/yarn.lock index b52e5c8a..8199efa8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -36,13 +36,28 @@ "@oclif/parser" "^3.2.9" semver "^5.5.0" +"@oclif/command@^1.4.4": + version "1.4.4" + resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.4.4.tgz#12188c81ac11cd74c30aeba4b3c57380f15d8d54" + dependencies: + "@oclif/errors" "^1.0.2" + "@oclif/parser" "^3.2.9" + debug "^3.1.0" + semver "^5.5.0" + "@oclif/config@^1.3.59": version "1.3.59" resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.3.59.tgz#10cc39757654850458b2d3f899155af2e069deb5" -"@oclif/dev-cli@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.4.0.tgz#b8513caf54f42e1e7dabf5238ca22b3b7d3fdeab" +"@oclif/config@^1.3.60": + version "1.3.60" + resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.3.60.tgz#e5e1b1cf14d68dd55c489bc5f76594073dec0568" + dependencies: + debug "^3.1.0" + +"@oclif/dev-cli@^1.4.2": + version "1.4.2" + resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.4.2.tgz#cd849b2f634606c9dda71caf6d32e5bf31611c6a" dependencies: "@oclif/command" "^1.4.2" "@oclif/config" "^1.3.59" @@ -81,6 +96,18 @@ widest-line "^2.0.0" wrap-ansi "^3.0.1" +"@oclif/plugin-help@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-1.2.0.tgz#26163d6561783779ad4ac174e596b3e3e186155e" + dependencies: + "@oclif/command" "^1.4.4" + chalk "^2.3.2" + indent-string "^3.2.0" + lodash.template "^4.4.0" + string-width "^2.1.1" + widest-line "^2.0.0" + wrap-ansi "^3.0.1" + "@oclif/screen@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.2.tgz#c9d7c84b0ea60ecec8dd7a9b22c012ba9967aed8" @@ -363,15 +390,15 @@ clean-stack@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-1.3.0.tgz#9e821501ae979986c46b1d66d2d432db2fd4ae31" -cli-ux@^3.3.25: - version "3.3.25" - resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.25.tgz#2bc2a114149afb3b61c614bd47d204877eff90d2" +cli-ux@^3.3.26: + version "3.3.26" + resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.26.tgz#998be26eb4bcd2a29a740a9bea2a497071461a7a" dependencies: "@heroku/linewrap" "^1.0.0" "@oclif/screen" "^1.0.2" - ansi-styles "^3.2.0" + ansi-styles "^3.2.1" cardinal "^1.0.0" - chalk "^2.3.0" + chalk "^2.3.2" clean-stack "^1.3.0" extract-stack "^1.0.0" fs-extra "^5.0.0" @@ -380,7 +407,7 @@ cli-ux@^3.3.25: password-prompt "^1.0.4" semver "^5.5.0" strip-ansi "^4.0.0" - supports-color "^5.1.0" + supports-color "^5.3.0" collection-visit@^1.0.0: version "1.0.0"