From 14a4db8c57d160907021069eb1b23de194c3f243 Mon Sep 17 00:00:00 2001 From: Rasso Hilber Date: Mon, 22 Jul 2024 17:04:47 +0200 Subject: [PATCH] Cleanup packagist release --- .gitattributes | 4 ++++ composer.json | 2 +- focal-point-picker.php | 2 +- readme.md | 17 +++++------------ 4 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e61b03f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +.* export-ignore +package.json export-ignore +pnpm-lock.yaml export-ignore +readme.txt export-ignore \ No newline at end of file diff --git a/composer.json b/composer.json index 04f2c15..e1b2aa9 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hirasso/focal-point-picker", - "description": "Set a custom focal point for your images, directly in the WP media grid", + "description": "A WordPress plugin to set a custom focal point for your images, directly in the WP media grid", "type": "wordpress-plugin", "license": "GPL-3.0-or-later", "autoload": { diff --git a/focal-point-picker.php b/focal-point-picker.php index 031c777..3607d0c 100644 --- a/focal-point-picker.php +++ b/focal-point-picker.php @@ -3,7 +3,7 @@ /** * Plugin Name: focal-point-picker * Description: Set a custom focal point for your images, directly in the WP media grid - * Version: 1.2.2 + * Version: 1.2.3 * Author: Rasso Hilber * Author URI: https://rassohilber.com/ * Tested up to: 6.7 diff --git a/readme.md b/readme.md index 48a647e..6574fe7 100644 --- a/readme.md +++ b/readme.md @@ -8,20 +8,13 @@ Zero-dependency [focal point](<[url](https://en.wikipedia.org/wiki/Focus_(optics ### Via Composer (recommended): -1. You'll need a custom entry in the `repositories` array in your `composer.json`: - -```json -{ - "repositories": [ - { - "type": "vcs", - "url": "git@github.com:hirasso/focal-point-picker.git" - } - ] -} +1. Install the plugin: + +```shell +composer require hirasso/focal-point-picker ``` -2. Run `composer require hirasso/focal-point-picker` in your terminal – Done! +2. Activate the plugin using `wp plugin activatea hirasso/focal-point-picker` – Done! ### Manually: