|
20 | 20 | use Symfony\Component\AssetMapper\Command\DebugAssetMapperCommand;
|
21 | 21 | use Symfony\Component\AssetMapper\Command\ImportMapAuditCommand;
|
22 | 22 | use Symfony\Component\AssetMapper\Command\ImportMapInstallCommand;
|
| 23 | +use Symfony\Component\AssetMapper\Command\ImportMapOutdatedCommand; |
23 | 24 | use Symfony\Component\AssetMapper\Command\ImportMapRemoveCommand;
|
24 | 25 | use Symfony\Component\AssetMapper\Command\ImportMapRequireCommand;
|
25 | 26 | use Symfony\Component\AssetMapper\Command\ImportMapUpdateCommand;
|
|
32 | 33 | use Symfony\Component\AssetMapper\ImportMap\ImportMapConfigReader;
|
33 | 34 | use Symfony\Component\AssetMapper\ImportMap\ImportMapManager;
|
34 | 35 | use Symfony\Component\AssetMapper\ImportMap\ImportMapRenderer;
|
| 36 | +use Symfony\Component\AssetMapper\ImportMap\ImportMapUpdateChecker; |
35 | 37 | use Symfony\Component\AssetMapper\ImportMap\RemotePackageDownloader;
|
36 | 38 | use Symfony\Component\AssetMapper\ImportMap\Resolver\JsDelivrEsmResolver;
|
37 | 39 | use Symfony\Component\AssetMapper\MapperAwareAssetPackage;
|
|
179 | 181 | service('asset_mapper.importmap.config_reader'),
|
180 | 182 | service('http_client'),
|
181 | 183 | ])
|
| 184 | + ->set('asset_mapper.importmap.update_checker', ImportMapUpdateChecker::class) |
| 185 | + ->args([ |
| 186 | + service('asset_mapper.importmap.config_reader'), |
| 187 | + service('http_client'), |
| 188 | + ]) |
182 | 189 |
|
183 | 190 | ->set('asset_mapper.importmap.command.require', ImportMapRequireCommand::class)
|
184 | 191 | ->args([
|
|
205 | 212 | ->set('asset_mapper.importmap.command.audit', ImportMapAuditCommand::class)
|
206 | 213 | ->args([service('asset_mapper.importmap.auditor')])
|
207 | 214 | ->tag('console.command')
|
| 215 | + |
| 216 | + ->set('asset_mapper.importmap.command.outdated', ImportMapOutdatedCommand::class) |
| 217 | + ->args([service('asset_mapper.importmap.update_checker')]) |
| 218 | + ->tag('console.command') |
208 | 219 | ;
|
209 | 220 | };
|
0 commit comments