Skip to content

Commit

Permalink
build(lerna): evaluate lerna-lite migration
Browse files Browse the repository at this point in the history
Fixes hyperledger#1890

Signed-off-by: johnhomantaring <john.h.o.mantaring@accenture.com>
  • Loading branch information
johnhomantaring committed May 16, 2022
1 parent 1167fe7 commit 61d1d9a
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 57 deletions.
11 changes: 6 additions & 5 deletions package.json
Expand Up @@ -65,7 +65,7 @@
"changelog": "conventional-changelog --infile CHANGELOG.md --outfile CHANGELOG.md && git add CHANGELOG.md",
"commit": "git-cz --signoff",
"prettier": "prettier --write --config .prettierrc.json \"./**/*.{ts,js}\"",
"version": "npm ci && lerna clean --yes && lerna bootstrap && npm run build:dev && npm run build:prod && npm run test:unit",
"version": "npm ci && npm run build:dev && npm run build:prod && npm run test:unit",
"lerna-publish-canary": "npm run run-ci && lerna publish --canary --force-publish --dist-tag $(git branch --show-current) --preid $(git branch --show-current).$(git rev-parse --short HEAD)",
"lerna-publish": "lerna publish --conventional-commits --sign-git-commit --sign-git-tag",
"prepare": "husky install"
Expand All @@ -74,10 +74,11 @@
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@openapitools/openapi-generator-cli": "2.4.14",
"@lerna-lite/cli": "^1.1.1",
"@lerna-lite/exec": "^1.1.1",
"@lerna-lite/publish": "^1.1.0",
"@lerna-lite/run": "^1.1.1",
"@lerna-lite/core": "^1.3.0",
"@lerna-lite/cli": "^1.3.0",
"@lerna-lite/exec": "^1.3.0",
"@lerna-lite/publish": "^1.3.0",
"@lerna-lite/run": "^1.3.0",
"@types/fs-extra": "9.0.12",
"@types/jasminewd2": "2.0.10",
"@types/jest": "26.0.24",
Expand Down
115 changes: 63 additions & 52 deletions yarn.lock
Expand Up @@ -2776,25 +2776,26 @@
resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796"
integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==

"@lerna-lite/cli@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@lerna-lite/cli/-/cli-1.1.1.tgz#1e7bad6a9417db65132c2e22027246d77fae40ef"
integrity sha512-dzHVNsdaGCsfeat7YKWFSTrZEabE33rXx8kV+POehK58mx/qgKYB7nb2vVFH30+4mlSz1ZSt9YQBc1v2j9+S6A==
dependencies:
"@lerna-lite/core" "^1.1.0"
"@lerna-lite/info" "^1.1.0"
"@lerna-lite/publish" "^1.1.0"
"@lerna-lite/version" "^1.1.0"
"@lerna-lite/cli@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/cli/-/cli-1.3.0.tgz#831d07d2760632fd380e14948485dbeb4936c537"
integrity sha512-+NjArpz3neuEab+88LSYghWzmF4lsNeKEY2v2Pdz+fGQ/KvS3HEMUbBH+xk+TptuH3nQkJwGz3NE04+uUo269w==
dependencies:
"@lerna-lite/core" "^1.3.0"
"@lerna-lite/info" "^1.3.0"
"@lerna-lite/init" "^1.3.0"
"@lerna-lite/publish" "^1.3.0"
"@lerna-lite/version" "^1.3.0"
dedent "^0.7.0"
dotenv "^16.0.0"
import-local "^3.1.0"
npmlog "^6.0.2"
yargs "^17.4.1"

"@lerna-lite/core@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/core/-/core-1.1.0.tgz#36d52505f21cc37ca74685e534811eacde1f27ce"
integrity sha512-WuqokSqbehtMJQn5ICqR6DjZGSgoOh4M0Z/ySsjBL45+nf5rWnFuCWvhVUB8i1zqn37597DHjmxiklMCOryyxQ==
"@lerna-lite/core@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/core/-/core-1.3.0.tgz#2d7f25e8649631dde40f7220b56a39f2ec820e22"
integrity sha512-HsB4h12sGdPMKnrnB0+muy6iHOPGRFO6N5NBruQ5qQp1DqcIeTTC9ANb6RNTRoiQ/YWFoUkNnveJFZ/ryk4lhA==
dependencies:
"@octokit/plugin-enterprise-rest" "^6.0.1"
"@octokit/rest" "^18.12.0"
Expand Down Expand Up @@ -2822,15 +2823,15 @@
node-fetch "^2.6.7"
npm-lifecycle "^3.1.5"
npm-package-arg "^9.0.2"
npm-packlist "^5.0.2"
npm-packlist "^5.0.3"
npm-registry-fetch "^13.1.1"
npmlog "^6.0.2"
os "^0.1.2"
p-map "^4.0.0"
p-pipe "^3.1.0"
p-queue "^6.6.2"
p-reduce "^2.1.0"
pacote "^13.1.1"
pacote "^13.3.0"
path "^0.12.7"
resolve-from "^5.0.0"
semver "^7.3.7"
Expand All @@ -2845,64 +2846,74 @@
write-pkg "^4.0.0"
yargs "^17.4.1"

"@lerna-lite/exec-run-common@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/exec-run-common/-/exec-run-common-1.1.0.tgz#0eae444bfb64291ef1bc60dfb58646315c94e770"
integrity sha512-x8PZGq0pE9vVjTVv4i8M+CX185BX2Dff9RuHP5Rx9khAU+6Rng7tNdv5EE/0S9Dpkvx0Qdmj0aomcTeWIyXnVQ==
"@lerna-lite/exec-run-common@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/exec-run-common/-/exec-run-common-1.3.0.tgz#31e20f27fb67f8f7c8c8eb65b74124532f5b181c"
integrity sha512-bIi6TLCN17E8qDUsQMY5f0GFOnudZeqJppPj77wz6G4ymadnnuGjr3Y8trSlGt1hqkHU7Be9di13vxVT/nEQCg==
dependencies:
"@lerna-lite/core" "^1.1.0"
"@lerna-lite/core" "^1.3.0"
fs-extra "^10.1.0"
multimatch "^5.0.0"
npmlog "^6.0.2"
p-map "^4.0.0"
upath "^2.0.1"
yargs "^17.4.1"

"@lerna-lite/exec@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@lerna-lite/exec/-/exec-1.1.1.tgz#acb919d91cbdcfe7dc3f8a845b61bec56df0c551"
integrity sha512-mqYLkgf3PyO7+vumQJK42KlgZzpbXzOW3K2iayhd7/Q2KRwURJZir0ZCe8SkiHlXkbXJRPXYe9XriwCx5MCwOg==
"@lerna-lite/exec@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/exec/-/exec-1.3.0.tgz#5d79c132a53b7d92d2e30614f54860deaca9b43f"
integrity sha512-VUYAky1lw5/8F/tsMc0rH8bHZahlxP9kQ/bM5I9Au6sorrme0YGLvGPYyTT/yqlLxERP3oT+PvqC4HY0NULfhQ==
dependencies:
"@lerna-lite/core" "^1.1.0"
"@lerna-lite/exec-run-common" "^1.1.0"
"@lerna-lite/core" "^1.3.0"
"@lerna-lite/exec-run-common" "^1.3.0"
fs-extra "^10.1.0"
multimatch "^5.0.0"
npmlog "^6.0.2"
p-map "^4.0.0"
upath "^2.0.1"
yargs "^17.4.1"

"@lerna-lite/info@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/info/-/info-1.1.0.tgz#5b695aca66edc9af45750d8fbe2b074c266bd01e"
integrity sha512-AjalPc9+BJ7cBUXeJfU7O0cf5DGXsQwKS+BAFqXxatuu1VNIeAMbEo2Vs44lnIij6+25uPd2igL7ITbY8kELBw==
"@lerna-lite/info@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/info/-/info-1.3.0.tgz#b535efcd285090ef4768502bbd3a27827ada2110"
integrity sha512-EHO5GU2QjZPDCeCVXiCYXjaBnTN6U+UIyShhTbTYcgZ/fNpiP/qLbPaQGTe5lxPW4/Vk7UeEA8P3WJzU1Dd0ag==
dependencies:
"@lerna-lite/core" "^1.1.0"
"@lerna-lite/core" "^1.3.0"
dedent "^0.7.0"
envinfo "^7.8.1"
yargs "^17.4.1"

"@lerna-lite/publish@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/publish/-/publish-1.1.0.tgz#4567475b9b6b4ccbbd90a7e593a73f077dfea381"
integrity sha512-38y7r7Ix+fek85cN4YlHSIG35RvGt6bDplAOfkXRAurzwCcPVYPDHPpGVoSUMFagjcNCXwuUnLJ8dmRXqMfivA==
"@lerna-lite/init@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/init/-/init-1.3.0.tgz#d970491c23b2200265d69430d41a9c09a0a4dc10"
integrity sha512-+UPGftxkztDMs8KXAGODj5i2SeulO20zRusDT8CXfnpXZXX0B9vkciSXEC2OxiCmTC5IOAGmYLLBf3tS3rsenA==
dependencies:
"@lerna-lite/core" "^1.1.0"
"@lerna-lite/version" "^1.1.0"
"@lerna-lite/core" "^1.3.0"
fs-extra "^10.1.0"
p-map "^4.0.0"
write-json-file "^4.3.0"

"@lerna-lite/publish@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/publish/-/publish-1.3.0.tgz#cce4a17d639f8618901b16beb01e2678e956303d"
integrity sha512-JyfEPTMhKAXRTHqm0LC2BSAbaz1yMM+oWe5o9z3lIjsopOSlBV8k17dP7Paz9t9XT/7EKOuwIoyn76KbDCRvRg==
dependencies:
"@lerna-lite/core" "^1.3.0"
"@lerna-lite/version" "^1.3.0"
byte-size "^7.0.1"
columnify "^1.6.0"
fs-extra "^10.1.0"
has-unicode "^2.0.1"
libnpmaccess "^6.0.3"
libnpmpublish "^6.0.4"
npm-package-arg "^9.0.2"
npm-packlist "^5.0.2"
npm-packlist "^5.0.3"
npm-registry-fetch "^13.1.1"
npmlog "^6.0.2"
os "^0.1.2"
p-map "^4.0.0"
p-pipe "^3.1.0"
pacote "^13.1.1"
pacote "^13.3.0"
path "^0.12.7"
pify "^5.0.0"
read-package-json "^5.0.1"
Expand All @@ -2919,26 +2930,26 @@
write-pkg "^4.0.0"
yargs "^17.4.1"

"@lerna-lite/run@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@lerna-lite/run/-/run-1.1.1.tgz#f659c388935ff8e85438bb360a07657329f9955f"
integrity sha512-nBTF5FinCUBfQ1tKZUHTTAPwO+D1YYrUJCMdGXwdCLdTjNYe4mHo2DlCbkz8HsJ3ccz7owMqpNgsYPzeWXUP6g==
"@lerna-lite/run@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/run/-/run-1.3.0.tgz#4ed718b4ecaa691a094f0db176ebd1ebf0b4f259"
integrity sha512-5M1+tt8UE5fafYCGUlnChiVc9vUi2sRlYwWc6sc6BcWmR5Gfijr+np161G3v3lhMiZXSFSX6qV+kBjou1aLgnQ==
dependencies:
"@lerna-lite/core" "^1.1.0"
"@lerna-lite/exec-run-common" "^1.1.0"
"@lerna-lite/core" "^1.3.0"
"@lerna-lite/exec-run-common" "^1.3.0"
fs-extra "^10.1.0"
multimatch "^5.0.0"
npmlog "^6.0.2"
p-map "^4.0.0"
upath "^2.0.1"
yargs "^17.4.1"

"@lerna-lite/version@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/version/-/version-1.1.0.tgz#65a40c8ffedd0302a9b352312d1cb502e732fb39"
integrity sha512-p64lWOMc7aEZFUAvUPtLtPk/aYTku3X3TrMk/nMMGz53EUUZjpgZaxmyg0Ks0JpND0hd0UhF7fRE/KROVgBrrg==
"@lerna-lite/version@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@lerna-lite/version/-/version-1.3.0.tgz#0c96276a564917411affd4780a388c3d337a1661"
integrity sha512-Va+2WexEtXqvULvdRU7ygKGRpoQibZaFKzcNtPdHX9IEvDj9N+xgfWEKgnve69enxwf5+IHnrzgCdeIImfBtSg==
dependencies:
"@lerna-lite/core" "^1.1.0"
"@lerna-lite/core" "^1.3.0"
chalk "^4.1.2"
dedent "^0.7.0"
load-json-file "^6.2.0"
Expand Down Expand Up @@ -16606,7 +16617,7 @@ npm-packlist@^2.1.4:
npm-bundled "^1.1.1"
npm-normalize-package-bin "^1.0.1"

npm-packlist@^5.0.0, npm-packlist@^5.0.2:
npm-packlist@^5.0.0, npm-packlist@^5.0.3:
version "5.0.3"
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.0.3.tgz#0aec03bc2d6d488ca71396d7afb463563c3274f7"
integrity sha512-KuSbzgejxdsAWbNNyEs8EsyDHsO+nJF6k+9WuWzFbSNh5tFHs4lDApXw7kntKpuehfp8lKRzJkMtz0+WmGvTIw==
Expand Down Expand Up @@ -17349,7 +17360,7 @@ pacote@11.3.5:
ssri "^8.0.1"
tar "^6.1.0"

pacote@^13.1.1:
pacote@^13.3.0:
version "13.3.0"
resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.3.0.tgz#e221febc17ce2435ce9f31de411832327a34c5ad"
integrity sha512-auhJAUlfC2TALo6I0s1vFoPvVFgWGx+uz/PnIojTTgkGwlK3Np8sGJ0ghfFhiuzJXTZoTycMLk8uLskdntPbDw==
Expand Down

0 comments on commit 61d1d9a

Please sign in to comment.