From 74131e8709f579a17a4677c5661497cacc717751 Mon Sep 17 00:00:00 2001 From: SpiltCoffee Date: Mon, 11 Mar 2019 10:11:59 +1100 Subject: [PATCH] fix: fixed semantic-release affects: @postdfm/ast, @postdfm/dfm2ast ... hopefully --- .gitignore | 3 + lerna.json | 3 +- package.json | 27 ++-- packages/postdfm/package.json | 1 + release.config.js | 38 ++++++ release/dependency.js | 27 ++++ yarn.lock | 224 ++++++++++------------------------ 7 files changed, 151 insertions(+), 172 deletions(-) create mode 100644 release.config.js create mode 100644 release/dependency.js diff --git a/.gitignore b/.gitignore index 4f050e62..4b589bd7 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,6 @@ test-results # nearley.js packages/@postdfm/dfm2ast/src/grammar.ts + +#local npm configuration +.npmrc diff --git a/lerna.json b/lerna.json index 081079fb..13635b06 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,7 @@ { "npmClient": "yarn", "useWorkspaces": true, - "version": "1.0.0", + "independent": true, + "version": "independent", "packages": ["packages/*"] } diff --git a/package.json b/package.json index 88b761e0..3c7c4c0f 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ ], "description": "Provides an API for easily transforming Delphi Forms", "scripts": { + "list": "lerna ls --json", "bootstrap": "lerna bootstrap --force-local", "eslint": "eslint --ignore-path .gitignore \"**/*.js\"", "tslint": "tslint \"**/*.ts\"", @@ -16,11 +17,15 @@ "format:check": "yarn prettier --check", "compile": "lerna run compile", "test": "jest --coverage", - "release": "lerna exec --concurrency 1 -- semantic-release -e semantic-release-monorepo --tag-format='${LERNA_PACKAGE_NAME}-v\\${version}' --repositoryUrl ssh://git@github.com/spiltcoffee/postdfm.git" + "release": "semantic-release" }, "devDependencies": { "@commitlint/config-conventional": "^7.5.0", "@commitlint/config-lerna-scopes": "^7.5.1", + "@semantic-release/commit-analyzer": "^6.1.0", + "@semantic-release/git": "^7.0.8", + "@semantic-release/npm": "^5.1.4", + "@semantic-release/release-notes-generator": "^7.1.4", "@types/jest": "^24.0.11", "@types/nearley": "^2.11.0", "@types/node": "^11.11.0", @@ -30,6 +35,7 @@ "eslint-config-prettier": "^4.1.0", "eslint-plugin-jest": "^22.3.0", "eslint-plugin-node": "^8.0.1", + "execa": "^1.0.0", "husky": "^1.3.1", "jest": "^24.0.0", "jest-junit": "^6.3.0", @@ -37,26 +43,20 @@ "lint-staged": "^8.1.5", "nearley": "^2.16.0", "prettier": "^1.16.4", - "semantic-release": "~15.9.0", - "semantic-release-monorepo": "^6.1.1", + "read-pkg": "^5.0.0", + "semantic-release": "^15.13.3", "ts-jest": "^24.0.0", "tslint": "^5.13.1", "tslint-config-prettier": "^1.18.0", - "typescript": "^3.3.3333" - }, - "greenkeeper": { - "ignore": [ - "semantic-release" - ] - }, - "release": { - "branch": "master" + "typescript": "^3.3.3333", + "write-pkg": "^3.2.0" }, "config": { "commitizen": { "path": "./node_modules/cz-lerna-changelog" } }, + "files": [], "lint-staged": { "*.{json,yml,md}": [ "prettier --ignore-path .gitignore --write", @@ -78,5 +78,8 @@ "pre-commit": "lint-staged && yarn test", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } + }, + "engines": { + "node": ">=7.6.0" } } diff --git a/packages/postdfm/package.json b/packages/postdfm/package.json index 67bdb521..493ebbdf 100644 --- a/packages/postdfm/package.json +++ b/packages/postdfm/package.json @@ -1,6 +1,7 @@ { "name": "postdfm", "version": "1.0.0", + "private": true, "description": "Provides an API for easily transforming Delphi Forms", "main": "index.js", "keywords": [ diff --git a/release.config.js b/release.config.js new file mode 100644 index 00000000..60074ecb --- /dev/null +++ b/release.config.js @@ -0,0 +1,38 @@ +const path = require("path"); +const execa = require("execa"); + +const pkgs = JSON.parse(execa.shellSync("yarn run -s list").stdout); + +const tarballDir = path.resolve(__dirname, "dist"); + +module.exports = { + branch: "master", + repositoryUrl: "ssh://git@github.com/spiltcoffee/postdfm.git", + plugins: [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + [ + "./release/dependency", + { pkgs: pkgs.map(({ name, location }) => ({ name, location })) } + ], + ...pkgs.map(({ location: pkgRoot }) => [ + "@semantic-release/npm", + { + pkgRoot, + tarballDir + } + ]), + [ + "@semantic-release/github", + { + assets: [ + { + path: path.resolve(tarballDir, "*.tgz"), + label: "Deployed Tarballs" + } + ] + } + ], + "@semantic-release/git" + ] +}; diff --git a/release/dependency.js b/release/dependency.js new file mode 100644 index 00000000..0fcfcb60 --- /dev/null +++ b/release/dependency.js @@ -0,0 +1,27 @@ +const readPkg = require("read-pkg"); +const writePkg = require("write-pkg"); + +async function prepare(pluginConfig, context) { + for (const pkg of pluginConfig.pkgs) { + const pkgJson = await readPkg({ cwd: pkg.location, normalize: false }); + + if (pkgJson.dependencies) { + pkgJson.dependencies = Object.entries(pkgJson.dependencies).reduce( + (dependencies, [depName, depVersion]) => { + dependencies[depName] = pluginConfig.pkgs.some( + ({ name }) => name === depName + ) + ? `^${context.nextRelease.version}` + : depVersion; + + return dependencies; + }, + {} + ); + } + + await writePkg(pkg.location, pkgJson, { normalize: false }); + } +} + +module.exports = { prepare }; diff --git a/yarn.lock b/yarn.lock index 35a0540a..6d1b41a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -982,7 +982,7 @@ dependencies: any-observable "^0.3.0" -"@semantic-release/commit-analyzer@^6.0.0", "@semantic-release/commit-analyzer@^6.1.0": +"@semantic-release/commit-analyzer@^6.1.0": version "6.1.0" resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-6.1.0.tgz#32bbe3c23da86e23edf072fbb276fa2f383fcb17" integrity sha512-2lb+t6muGenI86mYGpZYOgITx9L3oZYF697tJoqXeQEk0uw0fm+OkkOuDTBA3Oax9ftoNIrCKv9bwgYvxrbM6w== @@ -994,12 +994,28 @@ import-from "^2.1.0" lodash "^4.17.4" -"@semantic-release/error@^2.2.0": +"@semantic-release/error@^2.1.0", "@semantic-release/error@^2.2.0": version "2.2.0" resolved "https://registry.yarnpkg.com/@semantic-release/error/-/error-2.2.0.tgz#ee9d5a09c9969eade1ec864776aeda5c5cddbbf0" integrity sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg== -"@semantic-release/github@^5.0.0": +"@semantic-release/git@^7.0.8": + version "7.0.8" + resolved "https://registry.yarnpkg.com/@semantic-release/git/-/git-7.0.8.tgz#b9e1af094a19d4e96974b90a969ad0e6782c8727" + integrity sha512-sA+XoPU6GrV+A4YswO0b5JWL1KbzmyyaqUK6Y2poDkIVPlj+oQdi/stpKz/bKF5z9ChMGP87OVPMeUyXGaNFtw== + dependencies: + "@semantic-release/error" "^2.1.0" + aggregate-error "^2.0.0" + debug "^4.0.0" + dir-glob "^2.0.0" + execa "^1.0.0" + fs-extra "^7.0.0" + globby "^9.0.0" + lodash "^4.17.4" + micromatch "^3.1.4" + p-reduce "^1.0.0" + +"@semantic-release/github@^5.1.0": version "5.2.10" resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-5.2.10.tgz#bf325f11685d59b864c8946d7d30fcb749d89e37" integrity sha512-z/UwIxKb+EMiJDIy/57MBzJ80ar5H9GJQRyML/ILQ8dlrPwXs7cTyTvC7AesrF7t1mJZtg3ht9Qf9RdtR/LGzw== @@ -1022,7 +1038,7 @@ parse-github-url "^1.0.1" url-join "^4.0.0" -"@semantic-release/npm@^5.0.1": +"@semantic-release/npm@^5.0.5", "@semantic-release/npm@^5.1.4": version "5.1.4" resolved "https://registry.yarnpkg.com/@semantic-release/npm/-/npm-5.1.4.tgz#970b62765e6c5d51f94e1c14d3bc1f5a224e2ed0" integrity sha512-YRl8VTVwnRTl/sVRvTXs1ncYcuvuGrqPEXYy+lUK1YRLq25hkrhIdv3Ju0u1zGLqVCA8qRlF3NzWl7pULJXVog== @@ -1039,7 +1055,7 @@ read-pkg "^4.0.0" registry-auth-token "^3.3.1" -"@semantic-release/release-notes-generator@^7.0.0": +"@semantic-release/release-notes-generator@^7.1.2", "@semantic-release/release-notes-generator@^7.1.4": version "7.1.4" resolved "https://registry.yarnpkg.com/@semantic-release/release-notes-generator/-/release-notes-generator-7.1.4.tgz#8f4f752c5a8385abdaac1256127cef05988bc2ad" integrity sha512-pWPouZujddgb6t61t9iA9G3yIfp3TeQ7bPbV1ixYSeP6L7gI1+Du82fY/OHfEwyifpymLUQW0XnIKgKct5IMMw== @@ -1160,14 +1176,6 @@ agentkeepalive@^3.4.1: dependencies: humanize-ms "^1.2.1" -aggregate-error@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-1.0.0.tgz#888344dad0220a72e3af50906117f48771925fac" - integrity sha1-iINE2tAiCnLjr1CQYRf0h3GSX6w= - dependencies: - clean-stack "^1.0.0" - indent-string "^3.0.0" - aggregate-error@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-2.2.0.tgz#f54b464db18cc77c907ae084451f39134707134a" @@ -1352,11 +1360,16 @@ array-union@^1.0.1, array-union@^1.0.2: dependencies: array-uniq "^1.0.1" -array-uniq@^1.0.0, array-uniq@^1.0.1: +array-uniq@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= +array-uniq@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-2.0.0.tgz#0009e30306e37a6dd2e2e2480db5316fdade1583" + integrity sha512-O3QZEr+3wDj7otzF7PjNGs6CA3qmYMLvt5xGkjY/V0VxS+ovvqVo/5wKM/OVOAyuX4DTh9H31zE/yKtO66hTkg== + array-unique@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" @@ -1866,11 +1879,6 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -clean-stack@^1.0.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-1.3.0.tgz#9e821501ae979986c46b1d66d2d432db2fd4ae31" - integrity sha1-noIVAa6XmYbEax1m0tQy2y/UrjE= - clean-stack@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.0.0.tgz#301bfa9e8dd2d3d984c0e542f7aa67b996f63e0a" @@ -2887,19 +2895,6 @@ execa@^0.7.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" - integrity sha1-2NdrvBtVIX7RkP1t1J08d07PyNo= - dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" @@ -3127,13 +3122,13 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -find-versions@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-2.0.0.tgz#2ad90d490f6828c1aa40292cf709ac3318210c3c" - integrity sha1-KtkNSQ9oKMGqQCks9wmsMxghDDw= +find-versions@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-3.0.0.tgz#2c05a86e839c249101910100b354196785a2c065" + integrity sha512-IUvtItVFNmTtKoB0PRfbkR0zR9XMG5rWNO3qI1S8L0zdv+v2gqzM0pAunloxqbqAfT8w7bg8n/5gHzTXte8H5A== dependencies: - array-uniq "^1.0.0" - semver-regex "^1.0.0" + array-uniq "^2.0.0" + semver-regex "^2.0.0" flat-cache@^2.0.1: version "2.0.1" @@ -3429,14 +3424,6 @@ git-semver-tags@^2.0.2: meow "^4.0.0" semver "^5.5.0" -git-up@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/git-up/-/git-up-2.1.0.tgz#2f14cfe78327e7c4a2b92fcac7bfc674fdfad40c" - integrity sha512-MJgwfcSd9qxgDyEYpRU/CDxNpUadrK80JHuEQDG4Urn0m7tpSOgCBrtiSIa9S9KH8Tbuo/TN8SSQmJBvsw1HkA== - dependencies: - is-ssh "^1.3.0" - parse-url "^3.0.2" - git-up@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/git-up/-/git-up-4.0.1.tgz#cb2ef086653640e721d2042fe3104857d89007c0" @@ -3445,13 +3432,6 @@ git-up@^4.0.0: is-ssh "^1.3.0" parse-url "^5.0.0" -git-url-parse@^10.0.1: - version "10.1.0" - resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-10.1.0.tgz#a27813218f8777e91d15f1c121b83bf14721b67e" - integrity sha512-goZOORAtFjU1iG+4zZgWq+N7It09PqS3Xsy43ZwhP5unDD0tTSmXTpqULHodMdJXGejm3COwXIhIRT6Z8DYVZQ== - dependencies: - git-up "^2.0.0" - git-url-parse@^11.1.2: version "11.1.2" resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-11.1.2.tgz#aff1a897c36cc93699270587bea3dbcbbb95de67" @@ -5359,7 +5339,7 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -marked-terminal@^3.0.0: +marked-terminal@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/marked-terminal/-/marked-terminal-3.2.0.tgz#3fc91d54569332bcf096292af178d82219000474" integrity sha512-Yr1yVS0BbDG55vx7be1D0mdv+jGs9AW563o/Tt/7FTsId2J0yqhrTeXAqq/Q0DyyXltIn6CSxzesQuFqXgafjQ== @@ -5371,10 +5351,10 @@ marked-terminal@^3.0.0: node-emoji "^1.4.1" supports-hyperlinks "^1.0.1" -marked@^0.5.0: - version "0.5.2" - resolved "https://registry.yarnpkg.com/marked/-/marked-0.5.2.tgz#3efdb27b1fd0ecec4f5aba362bddcd18120e5ba9" - integrity sha512-fdZvBa7/vSQIZCi4uuwo2N3q+7jJURpMVCcbaX0S1Mg65WZ5ilXvC67MviJAsdjqqgD+CEq4RKo5AYGgINkVAA== +marked@^0.6.0: + version "0.6.1" + resolved "https://registry.yarnpkg.com/marked/-/marked-0.6.1.tgz#a63addde477bca9613028de4b2bc3629e53a0562" + integrity sha512-+H0L3ibcWhAZE02SKMqmvYsErLo4EAVJxu5h3bHBBDvvjeWXtl92rGUSBYHL2++5Y+RSNgl8dYOAXcYe7lp1fA== matcher@^1.0.0: version "1.1.1" @@ -5827,16 +5807,6 @@ normalize-path@^2.1.1: dependencies: remove-trailing-separator "^1.0.1" -normalize-url@^1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c" - integrity sha1-LMDWazHqIwNkWENuNiDYWVTGbDw= - dependencies: - object-assign "^4.0.1" - prepend-http "^1.0.0" - query-string "^4.1.0" - sort-keys "^1.0.0" - normalize-url@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" @@ -6295,7 +6265,7 @@ p-is-promise@^2.0.0: resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.0.0.tgz#7554e3d572109a87e1f3f53f6a7d85d1b194f4c5" integrity sha512-pzQPhYMCAgLAKPWD2jC3Se9fEfrD9npNos0y150EeqZll7akhEgGhTW/slB6lHku8AvYGiJ+YJ5hfHKePPgFWg== -p-limit@^1.1.0, p-limit@^1.2.0: +p-limit@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== @@ -6489,14 +6459,6 @@ parse-json@^4.0.0: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" -parse-path@^3.0.1: - version "3.0.4" - resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-3.0.4.tgz#a48b7b529da41f34d9d1428602a39b29fc7180e4" - integrity sha512-wP70vtwv2DyrM2YoA7ZHVv4zIXa4P7dGgHlj+VwyXNDduLLVJ7NMY1zsFxjUUJ3DAwJLupGb1H5gMDDiNlJaxw== - dependencies: - is-ssh "^1.3.0" - protocols "^1.4.0" - parse-path@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff" @@ -6505,16 +6467,6 @@ parse-path@^4.0.0: is-ssh "^1.3.0" protocols "^1.4.0" -parse-url@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-3.0.2.tgz#602787a7063a795d72b8673197505e72f60610be" - integrity sha1-YCeHpwY6eV1yuGcxl1BecvYGEL4= - dependencies: - is-ssh "^1.3.0" - normalize-url "^1.9.1" - parse-path "^3.0.1" - protocols "^1.4.0" - parse-url@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-5.0.1.tgz#99c4084fc11be14141efa41b3d117a96fcb9527f" @@ -6649,13 +6601,6 @@ pkg-dir@^3.0.0: dependencies: find-up "^3.0.0" -pkg-up@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f" - integrity sha1-yBmscoBZpGHKscOImivjxJoATX8= - dependencies: - find-up "^2.1.0" - pkginfo@0.3.x: version "0.3.1" resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.3.1.tgz#5b29f6a81f70717142e09e765bbeab97b4f81e21" @@ -6683,7 +6628,7 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prepend-http@^1.0.0, prepend-http@^1.0.1: +prepend-http@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= @@ -6833,14 +6778,6 @@ qs@~6.5.2: resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== -query-string@^4.1.0: - version "4.3.4" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb" - integrity sha1-u7aTucqRXCMlFbIosaArYJBD2+s= - dependencies: - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - query-string@^6.1.0: version "6.3.0" resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.3.0.tgz#41ae8a61e1213c80b182d5db6cf129e05af89fc5" @@ -6864,11 +6801,6 @@ railroad-diagrams@^1.0.0: resolved "https://registry.yarnpkg.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz#eb7e6267548ddedfb899c1b90e57374559cddb7e" integrity sha1-635iZ1SN3t+4mcG5Dlc3RVnN234= -ramda@^0.25.0: - version "0.25.0" - resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.25.0.tgz#8fdf68231cffa90bc2f9460390a0cb74a29b29a9" - integrity sha512-GXpfrYVPwx3K7RQ6aYT8KPS8XViSXUVJT1ONhoKPE9VAleW42YE+U+8VEyGWt41EnEQW7gwecYJriTI0pKoecQ== - randexp@0.4.6: version "0.4.6" resolved "https://registry.yarnpkg.com/randexp/-/randexp-0.4.6.tgz#e986ad5e5e31dae13ddd6f7b3019aa7c87f60ca3" @@ -6982,6 +6914,14 @@ read-pkg@^4.0.0, read-pkg@^4.0.1: parse-json "^4.0.0" pify "^3.0.0" +read-pkg@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.0.0.tgz#75449907ece8dfb89cbc76adcba2665316e32b94" + integrity sha512-OWufaRc67oJjcgrxckW/qO9q22iYzyiONh8h+GMcnOvSHAmhV1Dr3x+gyRjP+Qxc5jKupkSfoCQLS/98rDPh9A== + dependencies: + normalize-package-data "^2.3.2" + parse-json "^4.0.0" + read@1, read@~1.0.1, read@~1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" @@ -7344,52 +7284,30 @@ sax@^1.2.4: resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== -semantic-release-monorepo@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/semantic-release-monorepo/-/semantic-release-monorepo-6.1.1.tgz#c9d802cbd065963a7d01d258936dfaf2989a2a7f" - integrity sha512-qObVQYU4MuUAx1lr/tpIYfhebRl6NxVk52wo+bG2RTg2ePtqmHDunXNpSkDIi1Mqvq2CgyG50IdDnceZ8N5+gQ== - dependencies: - debug "^3.1.0" - execa "^0.8.0" - p-limit "^1.2.0" - pkg-up "^2.0.0" - ramda "^0.25.0" - read-pkg "^3.0.0" - semantic-release-plugin-decorators "^1.2.1" - -semantic-release-plugin-decorators@^1.2.1: - version "1.2.3" - resolved "https://registry.yarnpkg.com/semantic-release-plugin-decorators/-/semantic-release-plugin-decorators-1.2.3.tgz#12dd1a9a70192a46240dab009de82dd3563c28ee" - integrity sha512-bEXRStCDiVIgFMiqvF2Chxt1JouFYGVQGA2F6i5GjI9Aq7hukdmkl8P2hB0HAzY7ezJB5lvdlJPcAf16wpfkcg== - dependencies: - import-from "^2.1.0" - lodash "^4.17.4" - -semantic-release@~15.9.0: - version "15.9.17" - resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-15.9.17.tgz#fe3eb554e1e186da167b30c61bb1f9a454ebeabc" - integrity sha512-Z+LAJBuPD2pcPpRdF0zC9bwHeZkNUqgENEkWzuFdcpocA0FmFZVLMPcdZGR1+jVOjD1yiLli3MMCFYrpegIxTg== +semantic-release@^15.13.3: + version "15.13.3" + resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-15.13.3.tgz#412720b9c09f39f04df67478fa409a914107e05b" + integrity sha512-cax0xPPTtsxHlrty2HxhPql2TTvS74Ni2O8BzwFHxNY/mviVKEhI4OxHzBYJkpVxx1fMVj36+oH7IlP+SJtPNA== dependencies: - "@semantic-release/commit-analyzer" "^6.0.0" + "@semantic-release/commit-analyzer" "^6.1.0" "@semantic-release/error" "^2.2.0" - "@semantic-release/github" "^5.0.0" - "@semantic-release/npm" "^5.0.1" - "@semantic-release/release-notes-generator" "^7.0.0" - aggregate-error "^1.0.0" + "@semantic-release/github" "^5.1.0" + "@semantic-release/npm" "^5.0.5" + "@semantic-release/release-notes-generator" "^7.1.2" + aggregate-error "^2.0.0" cosmiconfig "^5.0.1" debug "^4.0.0" env-ci "^3.0.0" execa "^1.0.0" figures "^2.0.0" - find-versions "^2.0.0" + find-versions "^3.0.0" get-stream "^4.0.0" git-log-parser "^1.2.0" - git-url-parse "^10.0.1" hook-std "^1.1.0" hosted-git-info "^2.7.1" lodash "^4.17.4" - marked "^0.5.0" - marked-terminal "^3.0.0" + marked "^0.6.0" + marked-terminal "^3.2.0" p-locate "^3.0.0" p-reduce "^1.0.0" read-pkg-up "^4.0.0" @@ -7410,10 +7328,10 @@ semver-diff@^2.0.0: dependencies: semver "^5.0.3" -semver-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-1.0.0.tgz#92a4969065f9c70c694753d55248fc68f8f652c9" - integrity sha1-kqSWkGX5xwxpR1PVUkj8aPj2Usk= +semver-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" + integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== "semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@5.6.0, "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: version "5.6.0" @@ -7611,13 +7529,6 @@ socks@~2.2.0: ip "^1.1.5" smart-buffer "4.0.2" -sort-keys@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad" - integrity sha1-RBttTTRnmPG05J6JIK37oOVD+a0= - dependencies: - is-plain-obj "^1.0.0" - sort-keys@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" @@ -7822,11 +7733,6 @@ stream-shift@^1.0.0: resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI= -strict-uri-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" - integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM= - strict-uri-encode@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" @@ -8668,7 +8574,7 @@ write-json-file@^2.2.0, write-json-file@^2.3.0: sort-keys "^2.0.0" write-file-atomic "^2.0.0" -write-pkg@^3.1.0: +write-pkg@^3.1.0, write-pkg@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/write-pkg/-/write-pkg-3.2.0.tgz#0e178fe97820d389a8928bc79535dbe68c2cff21" integrity sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw==