You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dependency-env reads "dependencies" field in package.json and reads their exposed env variables.
However, sometimes I have the need to express intention of "if a package exists, do this. If a package is not installed, do that".
Maybe we can have another field called "optDependencies" ? dependency-env can check if a package specified by optDependencies exists and only reads the env variables if it does.
The text was updated successfully, but these errors were encountered:
dependency-env reads "dependencies" field in package.json and reads their exposed env variables.
However, sometimes I have the need to express intention of "if a package exists, do this. If a package is not installed, do that".
Maybe we can have another field called "optDependencies" ? dependency-env can check if a package specified by optDependencies exists and only reads the env variables if it does.
The text was updated successfully, but these errors were encountered: