diff --git a/README.md b/README.md index d36dd4c..9e22b83 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ [![Hire Typist Tech](https://img.shields.io/badge/Hire-Typist%20Tech-778899)](https://typist.tech/contact/)

- Composer plugin to mark package as abandoned if closed on WordPress.org + Composer plugin to mark packages as abandoned if closed on WordPress.org

Built with ♥ by Typist Tech @@ -47,7 +47,7 @@ Attention: This package is abandoned and no longer maintained. ``` ```console -# The following commands show the same abandonment notice. +# The following commands show the same abandonment warning. $ composer require $ composer install $ composer update @@ -151,6 +151,16 @@ Skipped checking for closed plugins because of --locked. You should run `composer audit` without `--locked` to check for closed plugins. +### Cache + +WordPress.org API responses are cached for 10 minutes. + +If you must clear the cache, delete the `/wp-org-closed-plugin` directory. + +```sh +rm -rf $(composer config cache-dir)/wp-org-closed-plugin +``` + > [!TIP] > **Hire Tang Rufus!** > diff --git a/composer.json b/composer.json index 8c375cc..043e57b 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "typisttech/wp-org-closed-plugin", - "description": "Composer plugin to mark package as abandoned if closed on WordPress.org", + "description": "Composer plugin to mark packages as abandoned if closed on WordPress.org", "license": "MIT", "type": "composer-plugin", "keywords": [