V3: Migrate away from @zowe/cli
to @zowe/*-for-zowe-sdk
packages
#2719
Labels
enhancement
New feature or request
priority-high
Production outage - this quarter or at least next quarter
v3
Milestone
Is your feature request related to a problem? Please describe.
We should leverage the full capabilities of the Node.js SDK without importing functionality directly from the CLI package. In addition to that, the
@zowe/cli
package comes with annpm-shrinkwrap.json
file which makes sense for the CLI. However, this may indicate that we have to wait for the CLI to release a new update before Zowe Explorer can fix any transitive dependencies.Describe the solution you'd like
Instead of
@zowe/cli
, to import:@zowe/zos-files-for-zowe-sdk
for data set and USS operations@zowe/core-for-zowe-sdk
for any configuration related matters across Zowe Explorer@zowe/zos-tso-for-zowe-sdk
for TSO related operationsDescribe alternatives you've considered
To continue with the CLI dependency, which has the an npm-shrinkwrap. This can force us to use
yarn.resolutions
orpnpm.overrides
if we have to update some transitive dependency, but this can have negative effects (luckily none so far)Additional context
This was discussed during the extended ZE standup on Feb 13th, 2024
The text was updated successfully, but these errors were encountered: