Skip to content

Commit a9137f7

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Tweaks Reword [AssetMapper] Merging `outdated` and `update` [AssetMapper] Removing duplication
2 parents d28abc5 + 8afb402 commit a9137f7

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

frontend/asset_mapper.rst

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -213,32 +213,30 @@ Now you can import the ``bootstrap`` package like usual:
213213
214214
All packages in ``importmap.php`` are downloaded into an ``assets/vendor/`` directory,
215215
which should be ignored by git (the Flex recipe adds it to ``.gitignore`` for you).
216-
You'll need to run the ``php bin/console importmap:install``
217-
command to download the files on other computers if some are missing:
216+
You'll need to run the following command to download the files on other computers
217+
if some are missing:
218218

219219
.. code-block:: terminal
220220
221221
$ php bin/console importmap:install
222222
223-
You can check for available updates for your third-party packages by running:
223+
You can update your third-party packages to their current versions by running:
224224

225225
.. code-block:: terminal
226226
227-
# check for updates for all packages
227+
# lists outdated packages and shows their latest versions
228228
$ php bin/console importmap:outdated
229+
# updates all the outdated packages
230+
$ php bin/console importmap:update
229231
230-
# check for updates for the given list of packages
232+
# you can also run the commands only for the given list of packages
233+
$ php bin/console importmap:update bootstrap lodash
231234
$ php bin/console importmap:outdated bootstrap lodash
232235
233-
To update third-party packages in your ``importmap.php`` file, run:
234-
235-
.. code-block:: terminal
236+
.. versionadded:: 6.4
236237

237-
# updates all packages
238-
$ php bin/console importmap:update
239-
240-
# updates only the given list of packages
241-
$ php bin/console importmap:update bootstrap lodash
238+
The ``importmap:install`` and ``importmap:outdated`` commands were introduced
239+
in Symfony 6.4.
242240

243241
How does the importmap Work?
244242
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)