Skip to content

[AssetMapper] Merging outdated and update CLI codeblocks #19630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions frontend/asset_mapper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,30 +228,23 @@ command to download the files on other computers if some are missing:

The ``importmap:install`` command was introduced in Symfony 6.4.

You can check for available updates for your third-party packages by running:
You can update your third-party packages to their current versions by running:

.. code-block:: terminal

# check for updates for all packages
$ php bin/console importmap:outdated
# update them
$ php bin/console importmap:update

# check for updates for the given list of packages
# only for the given list of packages
$ php bin/console importmap:update bootstrap lodash
$ 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

# updates all packages
$ php bin/console importmap:update

# updates only the given list of packages
$ php bin/console importmap:update bootstrap lodash

How does the importmap Work?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down