@@ -213,32 +213,30 @@ Now you can import the ``bootstrap`` package like usual:
213
213
214
214
All packages in ``importmap.php `` are downloaded into an ``assets/vendor/ `` directory,
215
215
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:
218
218
219
219
.. code-block :: terminal
220
220
221
221
$ php bin/console importmap:install
222
222
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:
224
224
225
225
.. code-block :: terminal
226
226
227
- # check for updates for all packages
227
+ # lists outdated packages and shows their latest versions
228
228
$ php bin/console importmap:outdated
229
+ # updates all the outdated packages
230
+ $ php bin/console importmap:update
229
231
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
231
234
$ php bin/console importmap:outdated bootstrap lodash
232
235
233
- To update third-party packages in your ``importmap.php `` file, run:
234
-
235
- .. code-block :: terminal
236
+ .. versionadded :: 6.4
236
237
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.
242
240
243
241
How does the importmap Work?
244
242
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments