Skip to content

Commit df76a9f

Browse files
committed
fix: add experimental detectors
1 parent c87abe8 commit df76a9f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
using Microsoft.ComponentDetection.Detectors.NuGet;
1515
using Microsoft.ComponentDetection.Detectors.Pip;
1616
using Microsoft.ComponentDetection.Detectors.Pnpm;
17+
using Microsoft.ComponentDetection.Detectors.Poetry;
1718
using Microsoft.ComponentDetection.Detectors.Ruby;
1819
using Microsoft.ComponentDetection.Detectors.Rust;
1920
using Microsoft.ComponentDetection.Detectors.Spdx;
21+
using Microsoft.ComponentDetection.Detectors.Vcpkg;
2022
using Microsoft.ComponentDetection.Detectors.Yarn;
2123
using Microsoft.ComponentDetection.Detectors.Yarn.Parsers;
2224
using Microsoft.ComponentDetection.Orchestrator.ArgumentSets;
@@ -105,6 +107,9 @@ public static IServiceCollection AddComponentDetection(this IServiceCollection s
105107
// pnpm
106108
services.AddSingleton<IComponentDetector, PnpmComponentDetector>();
107109

110+
// Poetry
111+
services.AddSingleton<IComponentDetector, PoetryComponentDetector>();
112+
108113
// Ruby
109114
services.AddSingleton<IComponentDetector, RubyComponentDetector>();
110115

@@ -114,6 +119,9 @@ public static IServiceCollection AddComponentDetection(this IServiceCollection s
114119
// SPDX
115120
services.AddSingleton<IComponentDetector, Spdx22ComponentDetector>();
116121

122+
// VCPKG
123+
services.AddSingleton<IComponentDetector, VcpkgComponentDetector>();
124+
117125
// Yarn
118126
services.AddSingleton<IYarnLockParser, YarnLockParser>();
119127
services.AddSingleton<IYarnLockFileFactory, YarnLockFileFactory>();

0 commit comments

Comments
 (0)