-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[AssetMapper] Allow specifying packages to update with importmap:update #51523
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
Conversation
Failure of Unit Tests (8.2, low-deps) seems unrelated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be covered by tests in the ImportMapManagerTest IMO.
src/Symfony/Component/AssetMapper/ImportMap/ImportMapManager.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great - I'm happy to see how simple this is. Only a few comments related to the test
src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php
Show resolved
Hide resolved
@weaverryan Test updated 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what to do about pslam - it IS related, but not related to the new changes.
@weaverryan Not sure either :/ Note that I only added the |
src/Symfony/Component/AssetMapper/Command/ImportMapUpdateCommand.php
Outdated
Show resolved
Hide resolved
75bc3e5
to
4d57c41
Compare
Thank you @jmsche. |
Currently, the
importmap:update
command updates all packages.This PR allows specifying which packages the developer wants to update.