Skip to content

Commit

Permalink
fix: Pin @oclif plugins' minor versions
Browse files Browse the repository at this point in the history
Recent @oclif plugin updates introduced @oclif/core v2 beta via a minor
version bump, e.g. [1].

Due to npm's dependency resolution algorithm, this consequently pulls in
@oclif/core v2 instead of v1, and it broke zcli.

So pinning these plugins' minor versions.

[1] https://github.com/oclif/plugin-plugins/blob/ee03e0f7ead2f1e6bf0ac03694314080367bbfd9/package.json#L9
  • Loading branch information
Frederick888 committed Jan 23, 2023
1 parent e1cabd0 commit 3c73b53
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 57 deletions.
2 changes: 1 addition & 1 deletion packages/zcli-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"keytar": "^7.9.0"
},
"dependencies": {
"@oclif/plugin-plugins": "^2.1.0",
"@oclif/plugin-plugins": "~2.1.0",
"axios": "^0.27.2",
"chalk": "^4.1.2",
"fs-extra": "^10.1.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/zcli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"zcli": "./bin/run"
},
"dependencies": {
"@oclif/plugin-autocomplete": "^1.3.0",
"@oclif/plugin-help": "^5.1.12",
"@oclif/plugin-not-found": "^2.3.1",
"@oclif/plugin-update": "^3.0.0",
"@oclif/plugin-warn-if-update-available": "^2.0.4",
"@oclif/plugin-autocomplete": "~1.3.0",
"@oclif/plugin-help": "~5.1.12",
"@oclif/plugin-not-found": "~2.3.1",
"@oclif/plugin-update": "~3.0.0",
"@oclif/plugin-warn-if-update-available": "~2.0.4",
"@zendesk/zcli-apps": "^1.0.0-beta.28",
"@zendesk/zcli-core": "^1.0.0-beta.28",
"chalk": "^4.1.2",
Expand Down
153 changes: 102 additions & 51 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1174,18 +1174,18 @@
read-package-json-fast "^2.0.3"
which "^2.0.2"

"@oclif/color@^1.0.0", "@oclif/color@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@oclif/color/-/color-1.0.1.tgz#20ab9205e0924c6388918a88874e1f4b32df9970"
integrity sha512-qjYr+izgWdIVOroiBKqTzQgc1r5Wd9QB1J7yGM2EeelqhBARiiVLRZL45vhV4zdyTRdDkZS0EBzFwQap+nliLA==
"@oclif/color@^1.0.2", "@oclif/color@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@oclif/color/-/color-1.0.3.tgz#1a303b533a832a0af563006eb9a6883ebe3b77ed"
integrity sha512-E+KKAE5CKhXRBZEoZLe5yNR0VHmba1m1fxz8HlpcWjHF5Pdhhf6W/0XMmed6vwQCmyzL/YLwdspCRfu0A1cgGA==
dependencies:
ansi-styles "^4.2.1"
chalk "^4.1.0"
strip-ansi "^6.0.1"
supports-color "^8.1.1"
tslib "^2"

"@oclif/core@^1.0.8", "@oclif/core@^1.11.0", "@oclif/core@^1.2.0", "@oclif/core@^1.2.1", "@oclif/core@^1.3.0", "@oclif/core@^1.3.1", "@oclif/core@^1.3.6", "@oclif/core@^1.7.0":
"@oclif/core@^1.11.0", "@oclif/core@^1.3.1":
version "1.12.0"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-1.12.0.tgz#f438d12c6085580e3f7c43c73ccd6edc4b193862"
integrity sha512-TR7k5EaekRH+TI1KxpxGda6DirGmUjVi+rz/RBtVxXTyGS446ZHRjlmogU7TIfTGLd1fdS0w0Eo8AHPjd3kh1w==
Expand Down Expand Up @@ -1219,91 +1219,130 @@
widest-line "^3.1.0"
wrap-ansi "^7.0.0"

"@oclif/core@^1.23.0", "@oclif/core@^1.23.1", "@oclif/core@^1.24.0", "@oclif/core@^1.25.0":
version "1.25.0"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-1.25.0.tgz#a3891f903bf211ce1f3c8a05419b686f02c5bbd6"
integrity sha512-vS8L5Uqc5Wuq3zmKVvX5LLcyxhfH2X2q+LG1P6czzkh6k09uLeDaZfwaYPXD7ItM4Vfy+KEctfKiWePeLDnOpg==
dependencies:
"@oclif/linewrap" "^1.0.0"
"@oclif/screen" "^3.0.4"
ansi-escapes "^4.3.2"
ansi-styles "^4.3.0"
cardinal "^2.1.1"
chalk "^4.1.2"
clean-stack "^3.0.1"
cli-progress "^3.10.0"
debug "^4.3.4"
ejs "^3.1.6"
fs-extra "^9.1.0"
get-package-type "^0.1.0"
globby "^11.1.0"
hyperlinker "^1.0.0"
indent-string "^4.0.0"
is-wsl "^2.2.0"
js-yaml "^3.14.1"
natural-orderby "^2.0.3"
object-treeify "^1.1.33"
password-prompt "^1.1.2"
semver "^7.3.7"
string-width "^4.2.3"
strip-ansi "^6.0.1"
supports-color "^8.1.1"
supports-hyperlinks "^2.2.0"
tslib "^2.4.1"
widest-line "^3.1.0"
wrap-ansi "^7.0.0"

"@oclif/linewrap@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw==

"@oclif/plugin-autocomplete@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@oclif/plugin-autocomplete/-/plugin-autocomplete-1.3.0.tgz#ee03fe517e015cfe9e7ab4636a029a23515ceac4"
integrity sha512-N2DRWKvuSXTGuaYf4buRbRfh5yNybb1cjQmPl9viY0BIqTwZgtQdzSD6ZSOkwda51RbGcQomYcc/h8T+ZFAkMQ==
"@oclif/plugin-autocomplete@~1.3.0":
version "1.3.10"
resolved "https://registry.yarnpkg.com/@oclif/plugin-autocomplete/-/plugin-autocomplete-1.3.10.tgz#3b6ff23ca03513f05b6719ddf51f01b35bd8bf69"
integrity sha512-oQl7ZqXhXJUOH26mDPcqcMGmcdIoK/uQPSpUBrfLa1iaQ30slTs0T7KOzg+vwKuPqIIF1nTCPuH67lE8GvUPTw==
dependencies:
"@oclif/core" "^1.7.0"
"@oclif/core" "^1.23.1"
chalk "^4.1.0"
debug "^4.3.4"
fs-extra "^9.0.1"

"@oclif/plugin-help@^5.1.12":
version "5.1.12"
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-5.1.12.tgz#24a18631eb9b22cb55e1a3b8e4f6039fd42727e6"
integrity sha512-HvH/RubJxqCinP0vUWQLTOboT+SfjfL8h40s+PymkWaldIcXlpoRaJX50vz+SjZIs7uewZwEk8fzLqpF/BWXlg==
"@oclif/plugin-help@~5.1.12":
version "5.1.23"
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-5.1.23.tgz#529b193b35436ef9374fd9ba4d065e19b73b6b5a"
integrity sha512-8oyyu/yPz55Zhj0U58/YXGc51N65vOpVeqDalf5xby4T+VMo4naDVJMxcSpJF2YUTREXEfO2pcC0aA4PE5q8Ig==
dependencies:
"@oclif/core" "^1.3.6"
"@oclif/core" "^1.24.0"

"@oclif/plugin-not-found@^2.3.1":
version "2.3.1"
resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-2.3.1.tgz#8fe1019fdeeb77be055314662bb9180808222e80"
integrity sha512-AeNBw+zSkRpePmpXO8xlL072VF2/R2yK3qsVs/JF26Yw1w77TWuRTdFR+hFotJtFCJ4QYqhNtKSjdryCO9AXsA==
"@oclif/plugin-not-found@~2.3.1":
version "2.3.16"
resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-2.3.16.tgz#3505cc1c34413d50750b05bd889e93d35f50bde9"
integrity sha512-MKKRVMoSHbcw9WPDQ47XIsQKRzPklrMRt6uTEVwOFSHXtQ7uopCyf52riMxy0pI7Jq9zma3XuyB56JxmRhYCEw==
dependencies:
"@oclif/color" "^1.0.0"
"@oclif/core" "^1.2.1"
"@oclif/color" "^1.0.3"
"@oclif/core" "^1.25.0"
fast-levenshtein "^3.0.0"
lodash "^4.17.21"

"@oclif/plugin-plugins@^2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@oclif/plugin-plugins/-/plugin-plugins-2.1.0.tgz#af2def7992332e46137eac31c40947d9b077bff1"
integrity sha512-Bgt+QpTlX7+Q0HkVgtbUGYQlo/hyzNBAaXH5l16ou9Ji5wfi5T+niV5AzQ14R7JF8ZDOTbUOU/NRBJ2bzLCaZQ==
"@oclif/plugin-plugins@~2.1.0":
version "2.1.12"
resolved "https://registry.yarnpkg.com/@oclif/plugin-plugins/-/plugin-plugins-2.1.12.tgz#1b2a8e08481b0691adca09714ceb44fb293cceb6"
integrity sha512-vvste+qfmuAZVO+LEhJbBm7kLAtWCFFyfoAFCpe061i8KRnsl8/f0l+/VLAUWiYB3c5M518knIi/UfIvGPV/Ew==
dependencies:
"@oclif/color" "^1.0.1"
"@oclif/core" "^1.2.0"
"@oclif/color" "^1.0.2"
"@oclif/core" "^1.23.0"
chalk "^4.1.2"
debug "^4.1.0"
debug "^4.3.4"
fs-extra "^9.0"
http-call "^5.2.2"
load-json-file "^5.3.0"
npm-run-path "^4.0.1"
semver "^7.3.2"
tslib "^2.0.0"
yarn "^1.22.17"
semver "^7.3.8"
tslib "^2.4.1"
yarn "^1.22.18"

"@oclif/plugin-update@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@oclif/plugin-update/-/plugin-update-3.0.0.tgz#dc51f1a42d7b80825ebc1ee5f14310a0545c6b8f"
integrity sha512-uWYTPxea4cDoOgDYxPhOisJCcoJHbbXFSM69iB9VkenAMerUjjq1VrlwWAIzLc45ciWk13uef4nBLy2S0ADtOg==
"@oclif/plugin-update@~3.0.0":
version "3.0.13"
resolved "https://registry.yarnpkg.com/@oclif/plugin-update/-/plugin-update-3.0.13.tgz#a83c6d11cde7f020e6eb2f7b4fad127927da1a2b"
integrity sha512-qr3Y2meL7DQpSTjaXmQgfHuLRWM+/ZsMFm6HirqdiV3BtWNxvtu/hicySvSgmE73O5Wh0G0H3RHmPdoddhbr2A==
dependencies:
"@oclif/color" "^1.0.0"
"@oclif/core" "^1.3.0"
"@oclif/color" "^1.0.3"
"@oclif/core" "^1.25.0"
cross-spawn "^7.0.3"
debug "^4.3.1"
filesize "^6.1.0"
fs-extra "^9.0.1"
http-call "^5.3.0"
inquirer "^8.2.0"
inquirer "^8.2.5"
lodash.throttle "^4.1.1"
log-chopper "^1.0.2"
semver "^7.3.5"
semver "^7.3.8"
tar-fs "^2.1.1"

"@oclif/plugin-warn-if-update-available@^2.0.4":
version "2.0.4"
resolved "https://registry.yarnpkg.com/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-2.0.4.tgz#3d509ca2394cccf65e6622be812d7be4065a60aa"
integrity sha512-9dprC1CWPjesg0Vf/rDSQH2tzJXhP1ow84cb2My1kj6e6ESulPKpctiCFSZ1WaCQFfq+crKhzlNoP/vRaXNUAg==
"@oclif/plugin-warn-if-update-available@~2.0.4":
version "2.0.20"
resolved "https://registry.yarnpkg.com/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-2.0.20.tgz#095f6df60e367d620ff8836d61dd752e08865205"
integrity sha512-vbPeT6dIGy28yZZ1ey/+c47iBUTNwnrs9mOEEgek9ZWtx0OszVWlP5XYiaoypnStbkXzVA96Bty8aKdi2zhOaA==
dependencies:
"@oclif/core" "^1.0.8"
"@oclif/core" "^1.25.0"
chalk "^4.1.0"
debug "^4.1.0"
fs-extra "^9.0.1"
http-call "^5.2.2"
lodash "^4.17.21"
semver "^7.3.2"
semver "^7.3.8"

"@oclif/screen@^3.0.2":
version "3.0.2"
resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-3.0.2.tgz#969054308fe98d130c02844a45cc792199b75670"
integrity sha512-S/SF/XYJeevwIgHFmVDAFRUvM3m+OjhvCAYMk78ZJQCYCQ5wS7j+LTt1ZEv2jpEEGg2tx/F6TYYWxddNAYHrFQ==

"@oclif/screen@^3.0.4":
version "3.0.4"
resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-3.0.4.tgz#663db0ecaf23f3184e7f01886ed578060e4a7f1c"
integrity sha512-IMsTN1dXEXaOSre27j/ywGbBjrzx0FNd1XmuhCWCB9NTPrhWI1Ifbz+YLSEcstfQfocYsrbrIessxXb2oon4lA==

"@oclif/test@^2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@oclif/test/-/test-2.1.0.tgz#e5a0ba619c890770782e48c82d18f5921e2d2b9f"
Expand Down Expand Up @@ -4463,10 +4502,10 @@ inquirer@^7.3.3:
strip-ansi "^6.0.0"
through "^2.3.6"

inquirer@^8.2.0:
version "8.2.4"
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.4.tgz#ddbfe86ca2f67649a67daa6f1051c128f684f0b4"
integrity sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==
inquirer@^8.2.5:
version "8.2.5"
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.5.tgz#d8654a7542c35a9b9e069d27e2df4858784d54f8"
integrity sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==
dependencies:
ansi-escapes "^4.2.1"
chalk "^4.1.1"
Expand Down Expand Up @@ -6917,6 +6956,13 @@ semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semve
dependencies:
lru-cache "^6.0.0"

semver@^7.3.8:
version "7.3.8"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"
integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==
dependencies:
lru-cache "^6.0.0"

[email protected]:
version "0.18.0"
resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be"
Expand Down Expand Up @@ -7539,11 +7585,16 @@ tslib@^1.8.1, tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==

tslib@^2, tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0:
tslib@^2, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==

tslib@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e"
integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==

tsutils@^3.21.0:
version "3.21.0"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
Expand Down Expand Up @@ -8062,7 +8113,7 @@ yarn-audit-fix@^9.3.1:
synp "^1.9.10"
tslib "^2.4.0"

yarn@^1.22.17:
yarn@^1.22.18:
version "1.22.19"
resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.19.tgz#4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
integrity sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==
Expand Down

0 comments on commit 3c73b53

Please sign in to comment.