-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate from Zowe CLI package to Zowe SDKs #2730
Conversation
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #2730 +/- ##
==========================================
+ Coverage 93.41% 93.43% +0.02%
==========================================
Files 109 109
Lines 10236 10241 +5
Branches 2184 2188 +4
==========================================
+ Hits 9562 9569 +7
+ Misses 673 671 -2
Partials 1 1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Since this PR introduces a lot more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @t1m0thyj LGTM!
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Build is currently failing because we use a method marked as internal in Imperative, waiting on zowe/zowe-cli#2068 to be published |
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 😋
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @t1m0thyj 🎉
import * as imperative from "@zowe/imperative"; | ||
import * as zosconsole from "@zowe/zos-console-for-zowe-sdk"; | ||
import * as zosfiles from "@zowe/zos-files-for-zowe-sdk"; | ||
import * as zosjobs from "@zowe/zos-jobs-for-zowe-sdk"; | ||
import * as zostso from "@zowe/zos-tso-for-zowe-sdk"; | ||
import * as zosuss from "@zowe/zos-uss-for-zowe-sdk"; | ||
import * as zosmf from "@zowe/zosmf-for-zowe-sdk"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to evaluate the amount of import *
statements in production code. Nothing here to worry about as this is test code - was mostly used as an example - but would help to maintain runtime efficiency 😋
Granted, since we use a bundler this really doesn't apply to us, but it might provide indirect performance benefits for non-Webpacked extenders.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 😋
@@ -76,6 +75,7 @@ | |||
"package": "pnpm run -r package", | |||
"pretest:integration": "ts-node ./scripts/create-env.ts", | |||
"posttest:integration": "ts-node ./scripts/clean-env.ts", | |||
"preinstall": "npx only-allow pnpm" | |||
"preinstall": "npx only-allow pnpm", | |||
"update-sdks": "pnpm -r update \"@zowe/*@next\" \"!@zowe/zowe-explorer-api\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
This shall be merged last 😋 |
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
5732f1d
to
f983528
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@JillieBeanSim Thanks for catching this! I think what was happening was |
Quality Gate failedFailed conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks @t1m0thyj
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @t1m0thyj for updating the newly-merged changes to use the SDKs 😁
Proposed changes
Resolves #2719
Had to temporarily add an override for
@zowe/imperative
in FTP extension's package.json, because we don't yet have a vNext version of the FTP plug-in with an Imperative vNext peer dependency.Also adds a build script for updating Zowe SDKs:
pnpm run update-sdks
. In the future when v3 goes GA, we'll want to update the tag in this script fromnext
tozowe-v3-lts
😋Release Notes
Milestone: 3.0.0
Changelog: Migrated from
@zowe/cli
package to individual Zowe SDK packages.Types of changes
What types of changes does your code introduce to Zowe Explorer?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the revieweryarn workspace vscode-extension-for-zowe vscode:prepublish
has been executedFurther comments