From 104019f487d0206b5f29e87c9fcc238efc65b22a Mon Sep 17 00:00:00 2001 From: mricoul Date: Thu, 19 Feb 2026 11:04:10 +0100 Subject: [PATCH 1/3] chore: uses package.json to specify node version Updates the build process to dynamically determine the Node.js version from the package.json file. This ensures consistency and avoids hardcoding the Node.js version directly in the workflow. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd20427..f058c20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: name: "Build project CSS and JS" uses: actions/setup-node@v4 with: - node-version: '22' + node-version-file: 'package.json' - run: npm install - run: npm run build From 95c90c29ffe5b8f9184da580880ea2255c07f0a9 Mon Sep 17 00:00:00 2001 From: mricoul Date: Thu, 19 Feb 2026 11:04:33 +0100 Subject: [PATCH 2/3] chore: exclude .wp-env dir from zip --- .distignore | 1 + .gitattributes | 1 + 2 files changed, 2 insertions(+) diff --git a/.distignore b/.distignore index 5d38460..43bf6bc 100644 --- a/.distignore +++ b/.distignore @@ -5,6 +5,7 @@ /node_modules /src /tests +/.wp-env # Configuration files .distignore diff --git a/.gitattributes b/.gitattributes index d7cd88a..d6e8ba0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,6 +3,7 @@ /.github export-ignore /node_modules export-ignore /src export-ignore +/.wp-env export-ignore # Configuration files /.distignore export-ignore From 9300609b4069baa533ce40d0a52b613c8fbde358 Mon Sep 17 00:00:00 2001 From: mricoul Date: Thu, 19 Feb 2026 11:05:48 +0100 Subject: [PATCH 3/3] chore: bump plugin version --- .plugin-data | 2 +- CHANGELOG.md | 4 ++++ blockparty-icons.php | 4 ++-- package.json | 2 +- src/block.json | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.plugin-data b/.plugin-data index 0cbfe78..7a83e5b 100644 --- a/.plugin-data +++ b/.plugin-data @@ -1,4 +1,4 @@ { - "version": "1.0.0", + "version": "1.0.1", "slug": "blockparty-icons" } diff --git a/CHANGELOG.md b/CHANGELOG.md index ede8496..c280e3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ This plugin **doesn't run any sanitization on SVGs** before using them. Only use ## Changelog +### 1.0.1 - 2026-02-19 + +- Exclude .wp-env directory from export. + ### 1.0.0 - 2026-02-02 - Initial release. diff --git a/blockparty-icons.php b/blockparty-icons.php index cf47b2b..2d8ae25 100644 --- a/blockparty-icons.php +++ b/blockparty-icons.php @@ -4,7 +4,7 @@ * Description: Provides blocks in WordPress editor to add custom SVG icons. * Requires at least: 6.2 * Requires PHP: 8.1 - * Version: 1.0.0 + * Version: 1.0.1 * Author: Blockparty * Author URI: https://beapi.fr * License: GPL-2.0-or-later @@ -29,7 +29,7 @@ include_once __DIR__ . '/vendor/autoload.php'; } -define( 'BLOCKPARTY_ICONS_VERSION', '1.0.0' ); +define( 'BLOCKPARTY_ICONS_VERSION', '1.0.1' ); define( 'BLOCKPARTY_ICONS_URL', plugin_dir_url( __FILE__ ) ); define( 'BLOCKPARTY_ICONS_DIR', plugin_dir_path( __FILE__ ) ); define( 'BLOCKPARTY_ICONS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); diff --git a/package.json b/package.json index 99c6dfc..b2800fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blockparty-icons", - "version": "1.0.0", + "version": "1.0.1", "description": "Provides blocks in WordPress editor to add custom SVG icons from your theme.", "author": "Be API Technical team", "license": "GPL-2.0-or-later", diff --git a/src/block.json b/src/block.json index 461b23b..88370e3 100644 --- a/src/block.json +++ b/src/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockparty/icon", - "version": "1.0.0", + "version": "1.0.1", "title": "Icon", "category": "widgets", "description": "Easily add custom vector icon to your content.",