zowe / zowe-cli-secrets-for-kubernetes

Eclipse Public License 2.0
0 stars 0 forks source link

Define peer dependencies in CLI plugin package.json #7

Closed t1m0thyj closed 1 year ago

t1m0thyj commented 1 year ago

Installing the CLI plugin results in the following validation error:

_____ Validation results for plugin '@zowe/secrets-for-kubernetes-for-zowe-cli' _____

*** Warning: Your '@zowe' dependencies must be contained within a 'peerDependencies' property. That property does not exist in the file 'C:\Users\Timothy\.zowe\plugins\installed\node_modules\@zowe\secrets-for-kubernetes-for-zowe-cli\package.json'.

This plugin has warnings, but its commands and framework overrides will still be available.

To fix this, the CLI plugin should define Imperative as a peer dep like the sample plugin: https://github.com/zowe/zowe-cli-sample-plugin/blob/f69f1260d95f2d6c271f992611e0a87aa7f274f5/package.json#L85-L87

t1m0thyj commented 1 year ago

Fixed in #10, thanks @rudyflores!