From 82ae3a169b3daa993dd7a2aa88bc33f0519b9ebf Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Wed, 17 Jul 2024 07:13:57 -0700 Subject: [PATCH] Fix flipper-pkg release Summary: After some debug tracing it turned out that the help-plugin made oclif/dev-cli crash, probably it was written for a different major version of oclif. Downgrading the plugin fixed the crash. This should fix https://github.com/facebook/flipper/issues/5223 / https://github.com/facebook/flipper/actions/runs/9958257588/job/27512213194 Reviewed By: passy Differential Revision: D59855784 fbshipit-source-id: 80de8c6443c3db3b874380817e8f8aa02420abc2 --- desktop/pkg/package.json | 2 +- desktop/yarn.lock | 20 +++++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/desktop/pkg/package.json b/desktop/pkg/package.json index 96e965dae26..9bee7c22f32 100644 --- a/desktop/pkg/package.json +++ b/desktop/pkg/package.json @@ -15,7 +15,7 @@ "@oclif/command": "^1.8.36", "@oclif/config": "^1.18.17", "@oclif/parser": "^3.8.17", - "@oclif/plugin-help": "^5.2.20", + "@oclif/plugin-help": "^3.3.1", "@oclif/plugin-warn-if-update-available": "^2.1.1", "ajv": "^6.12.2", "ajv-errors": "^1.0.1", diff --git a/desktop/yarn.lock b/desktop/yarn.lock index a6bab64a0a4..47edeae3885 100644 --- a/desktop/yarn.lock +++ b/desktop/yarn.lock @@ -3083,12 +3083,22 @@ widest-line "^3.1.0" wrap-ansi "^6.2.0" -"@oclif/plugin-help@^5.2.20": - version "5.2.20" - resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-5.2.20.tgz#4035a0ac231f95fb8e334da342175e3ca00f6abc" - integrity sha512-u+GXX/KAGL9S10LxAwNUaWdzbEBARJ92ogmM7g3gDVud2HioCmvWQCDohNRVZ9GYV9oKwZ/M8xwd6a1d95rEKQ== +"@oclif/plugin-help@^3.3.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-3.3.1.tgz#36adb4e0173f741df409bb4b69036d24a53bfb24" + integrity sha512-QuSiseNRJygaqAdABYFWn/H1CwIZCp9zp/PLid6yXvy6VcQV7OenEFF5XuYaCvSARe2Tg9r8Jqls5+fw1A9CbQ== dependencies: - "@oclif/core" "^2.15.0" + "@oclif/command" "^1.8.15" + "@oclif/config" "1.18.2" + "@oclif/errors" "1.3.5" + "@oclif/help" "^1.0.1" + chalk "^4.1.2" + indent-string "^4.0.0" + lodash "^4.17.21" + string-width "^4.2.0" + strip-ansi "^6.0.0" + widest-line "^3.1.0" + wrap-ansi "^6.2.0" "@oclif/plugin-warn-if-update-available@^2.1.1": version "2.1.1"