Skip to content

Commit 6fe0d3e

Browse files
jmschenicolas-grekas
authored andcommitted
[AssetMapper] Add command to download missing downloaded packages
1 parent b2721fe commit 6fe0d3e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Resources/config/asset_mapper.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Symfony\Component\AssetMapper\Command\AssetMapperCompileCommand;
2020
use Symfony\Component\AssetMapper\Command\DebugAssetMapperCommand;
2121
use Symfony\Component\AssetMapper\Command\ImportMapExportCommand;
22+
use Symfony\Component\AssetMapper\Command\ImportMapInstallCommand;
2223
use Symfony\Component\AssetMapper\Command\ImportMapRemoveCommand;
2324
use Symfony\Component\AssetMapper\Command\ImportMapRequireCommand;
2425
use Symfony\Component\AssetMapper\Command\ImportMapUpdateCommand;
@@ -202,5 +203,9 @@
202203
->set('asset_mapper.importmap.command.export', ImportMapExportCommand::class)
203204
->args([service('asset_mapper.importmap.manager')])
204205
->tag('console.command')
206+
207+
->set('asset_mapper.importmap.command.install', ImportMapInstallCommand::class)
208+
->args([service('asset_mapper.importmap.manager')])
209+
->tag('console.command')
205210
;
206211
};

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"doctrine/persistence": "^1.3|^2|^3",
3838
"seld/jsonlint": "^1.10",
3939
"symfony/asset": "^5.4|^6.0|^7.0",
40-
"symfony/asset-mapper": "^6.3|^7.0",
40+
"symfony/asset-mapper": "^6.4|^7.0",
4141
"symfony/browser-kit": "^5.4|^6.0|^7.0",
4242
"symfony/console": "^5.4.9|^6.0.9|^7.0",
4343
"symfony/clock": "^6.2|^7.0",
@@ -79,6 +79,7 @@
7979
"phpdocumentor/reflection-docblock": "<3.2.2",
8080
"phpdocumentor/type-resolver": "<1.4.0",
8181
"symfony/asset": "<5.4",
82+
"symfony/asset-mapper": "<6.4",
8283
"symfony/clock": "<6.3",
8384
"symfony/console": "<5.4",
8485
"symfony/dotenv": "<5.4",

0 commit comments

Comments
 (0)