Optional Dependency - CI/CD用語集の定義
optional dependency とは、インストールに失敗しても全体のインストールを失敗させないパッケージで、optionalDependencies に宣言されます。利用側のコードは、その不在を扱うことが求められます。
どこで登場するか
プラットフォーム固有のネイティブバイナリはしばしば optional であり、macOS 専用のバリアントが build できなかったからといって、Linux でのインストールが失敗しないようにします。
関連ガイド
Peer Dependency - CI/CD Glossary DefinitionPeer Dependency: A peer dependency is a package that a library expects its host project to provide rather tha…
Dev Dependency - CI/CD Glossary DefinitionDev Dependency: A dev dependency is a package needed only to build or test the project, not to run it, declar…
Runtime Dependency - CI/CD Glossary DefinitionRuntime Dependency: A runtime dependency is a package the application needs to execute in production, not jus…