From ef85a0142df132410b2a036c6fea419dfe3f7249 Mon Sep 17 00:00:00 2001 From: Maelan LE BORGNE Date: Mon, 9 Oct 2023 16:39:16 +0200 Subject: [PATCH] [AssetMapper] Added instruction for 'outdated' command --- frontend/asset_mapper.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/frontend/asset_mapper.rst b/frontend/asset_mapper.rst index 28c213c8f61..bf8459d2a96 100644 --- a/frontend/asset_mapper.rst +++ b/frontend/asset_mapper.rst @@ -248,6 +248,20 @@ computers if some files are missing. such as ``@popperjs/core``. The ``download`` option will download both the main package *and* its dependencies. +You can check for available updates for your third-party packages by running : + +.. code-block:: terminal + + # check for updates for all packages + $ php bin/console importmap:outdated + + # check for updates for the given list of packages + $ php bin/console importmap:outdated bootstrap lodash + +.. versionadded:: 6.4 + + The ``importmap:outdated`` command was introduced in Symfony 6.4. + To update third-party packages in your ``importmap.php`` file, run: .. code-block:: terminal