generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,11 +194,11 @@ Which will add the correct `links` tags to your head tag in the HTML document, l | |
<link rel="modulepreload" href="https://unpkg.com/[email protected]/dist/module.esm.js"> | ||
``` | ||
|
||
### Dependency Maintenance Commands | ||
## Dependency Maintenance Commands | ||
|
||
Maintaining a healthy dependency list can be tricky. Here's a couple of commands to help you with this task. | ||
|
||
#### Outdated Dependencies | ||
### Outdated Dependencies | ||
|
||
To keep your dependencies up-to-date, make sure you run the `importmap:outdated` command from time to time: | ||
|
||
|
@@ -208,7 +208,7 @@ php artisan importmap:outdated | |
|
||
This command will scan your `config/importmap.php` file, find your current versions, then use the NPM registry API to look for the latest version of the packages you're using. It also handles locally served vendor libs that you added using the `--download` flag from the `importmap:pin` command. | ||
|
||
#### Auditing Dependencies | ||
### Auditing Dependencies | ||
|
||
If you want to a security audit on your dependecies to see if you're using a version that's been breached, run the `importmap:audit` command from time to time. Better yet, add that command to your CI build: | ||
|
||
|