diff --git a/composer.json b/composer.json index 541b4a5..4ea4f48 100644 --- a/composer.json +++ b/composer.json @@ -70,7 +70,7 @@ "newfold-labs/wp-module-loader": "^1.0.12", "newfold-labs/wp-module-marketplace": "^2.5.0", "newfold-labs/wp-module-notifications": "^1.6.8", - "newfold-labs/wp-module-performance": "^2.6.0", + "newfold-labs/wp-module-performance": "^3.0.2", "newfold-labs/wp-module-runtime": "^1.1.3", "newfold-labs/wp-module-secure-passwords": "^1.1.1", "newfold-labs/wp-module-sso": "^1.0.8", diff --git a/composer.lock b/composer.lock index 3538db1..2bbf662 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1082162e5a157a39be4a92de75defb64", + "content-hash": "7ecdb65197e8c08c413d2177963bdc2c", "packages": [ { "name": "doctrine/inflector", @@ -385,16 +385,16 @@ }, { "name": "newfold-labs/wp-module-data", - "version": "2.6.11", + "version": "2.6.13", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-data.git", - "reference": "058a70c1c957cbe9739c9907f082087cd12a224a" + "reference": "900dd413a1c9337063b9ee48084116cf4cc300fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/058a70c1c957cbe9739c9907f082087cd12a224a", - "reference": "058a70c1c957cbe9739c9907f082087cd12a224a", + "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/900dd413a1c9337063b9ee48084116cf4cc300fb", + "reference": "900dd413a1c9337063b9ee48084116cf4cc300fb", "shasum": "" }, "require": { @@ -481,10 +481,10 @@ ], "description": "Newfold Data Module", "support": { - "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.11", + "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.13", "issues": "https://github.com/newfold-labs/wp-module-data/issues" }, - "time": "2025-03-10T22:27:07+00:00" + "time": "2025-04-14T18:41:02+00:00" }, { "name": "newfold-labs/wp-module-deactivation", @@ -567,23 +567,24 @@ }, { "name": "newfold-labs/wp-module-features", - "version": "1.4.2", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-features.git", - "reference": "0424ca66ed275371a372b139d1c2f81652181b01" + "reference": "b46fa1abb1ccc1a1e699c6511afd1a74c197ac25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-features/zipball/0424ca66ed275371a372b139d1c2f81652181b01", - "reference": "0424ca66ed275371a372b139d1c2f81652181b01", + "url": "https://api.github.com/repos/newfold-labs/wp-module-features/zipball/b46fa1abb1ccc1a1e699c6511afd1a74c197ac25", + "reference": "b46fa1abb1ccc1a1e699c6511afd1a74c197ac25", "shasum": "" }, "require": { "wp-forge/wp-options": "^1.1.1" }, "require-dev": { - "newfold-labs/wp-php-standards": "^1.2.3" + "newfold-labs/wp-php-standards": "^1.2.3", + "wp-cli/i18n-command": "^2.6.3" }, "type": "library", "autoload": { @@ -600,6 +601,28 @@ ], "lint": [ "vendor/bin/phpcs . --standard=phpcs.xml -s" + ], + "i18n-pot": [ + "vendor/bin/wp i18n make-pot . ./languages/wp-module-features.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-features/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}'" + ], + "i18n-po": [ + "vendor/bin/wp i18n update-po ./languages/wp-module-features.pot ./languages" + ], + "i18n-mo": [ + "vendor/bin/wp i18n make-mo ./languages" + ], + "i18n-php": [ + "vendor/bin/wp i18n make-php ./languages" + ], + "i18n-json": [ + "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print" + ], + "i18n": [ + "@i18n-pot", + "@i18n-po", + "@i18n-mo", + "@i18n-php", + "@i18n-json" ] }, "license": [ @@ -617,30 +640,33 @@ ], "description": "A module for providing an interface for features.", "support": { - "source": "https://github.com/newfold-labs/wp-module-features/tree/1.4.2", + "source": "https://github.com/newfold-labs/wp-module-features/tree/1.5.0", "issues": "https://github.com/newfold-labs/wp-module-features/issues" }, - "time": "2024-06-20T19:10:03+00:00" + "time": "2025-02-25T22:55:26+00:00" }, { "name": "newfold-labs/wp-module-installer", - "version": "1.3.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-installer.git", - "reference": "e8dbc7a117c7f9ebeb2c9620ab6689c49ca1d3fe" + "reference": "f028b7d083c7509ba8d220590328fe1af7ab18fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-installer/zipball/e8dbc7a117c7f9ebeb2c9620ab6689c49ca1d3fe", - "reference": "e8dbc7a117c7f9ebeb2c9620ab6689c49ca1d3fe", + "url": "https://api.github.com/repos/newfold-labs/wp-module-installer/zipball/f028b7d083c7509ba8d220590328fe1af7ab18fb", + "reference": "f028b7d083c7509ba8d220590328fe1af7ab18fb", "shasum": "" }, "require": { - "newfold-labs/wp-module-pls": "^1.0.1" + "newfold-labs/wp-module-pls": "^1.1.1" }, "require-dev": { - "newfold-labs/wp-php-standards": "^1.2", + "johnpbloch/wordpress": "6.8.0", + "lucatume/wp-browser": "*", + "newfold-labs/wp-php-standards": "^1.2.5", + "phpunit/phpcov": "*", "wp-cli/wp-cli": "^2.11" }, "type": "library", @@ -652,6 +678,43 @@ "bootstrap.php" ] }, + "scripts": { + "fix": [ + "vendor/bin/phpcbf --standard=phpcs.xml ." + ], + "i18n": [ + "@i18n-pot", + "@i18n-po", + "@i18n-php", + "@i18n-json" + ], + "i18n-json": [ + "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print" + ], + "i18n-mo": [ + "vendor/bin/wp i18n make-mo ./languages" + ], + "i18n-php": [ + "vendor/bin/wp i18n make-php ./languages" + ], + "i18n-po": [ + "vendor/bin/wp i18n update-po ./languages/wp-module-installer.pot ./languages" + ], + "i18n-pot": [ + "vendor/bin/wp i18n make-pot . ./languages/wp-module-installer.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-installer/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}' --exclude=node_modules,src" + ], + "lint": [ + "vendor/bin/phpcs --standard=phpcs.xml -s ." + ], + "test": [ + "codecept run wpunit" + ], + "test-coverage": [ + "codecept run wpunit --coverage wpunit.cov", + "phpcov merge --php tests/_output/merged.cov --html tests/_output/html tests/_output;", + "echo \"open tests/_output/html/index.html\" to view the report" + ] + }, "license": [ "GPL-2.0-or-later" ], @@ -663,10 +726,10 @@ ], "description": "An installer for WordPress plugins and themes.", "support": { - "source": "https://github.com/newfold-labs/wp-module-installer/tree/1.3.0", + "source": "https://github.com/newfold-labs/wp-module-installer/tree/1.5.0", "issues": "https://github.com/newfold-labs/wp-module-installer/issues" }, - "time": "2025-01-16T16:51:53+00:00" + "time": "2025-04-21T18:24:48+00:00" }, { "name": "newfold-labs/wp-module-loader", @@ -829,29 +892,31 @@ }, { "name": "newfold-labs/wp-module-performance", - "version": "2.6.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-performance.git", - "reference": "0bd806268710a548ecd595fc04bc612d8874dd23" + "reference": "54113f17cb2645a65023cb1a726e4693d96cb47a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-performance/zipball/0bd806268710a548ecd595fc04bc612d8874dd23", - "reference": "0bd806268710a548ecd595fc04bc612d8874dd23", + "url": "https://api.github.com/repos/newfold-labs/wp-module-performance/zipball/54113f17cb2645a65023cb1a726e4693d96cb47a", + "reference": "54113f17cb2645a65023cb1a726e4693d96cb47a", "shasum": "" }, "require": { "newfold-labs/wp-module-context": "^1.0", - "newfold-labs/wp-module-features": "^1.4", - "newfold-labs/wp-module-installer": "^1.3.0", - "wp-forge/collection": "^1.0.2", + "newfold-labs/wp-module-features": "^1.5", + "newfold-labs/wp-module-installer": "^1.4", + "wp-forge/collection": "^1.0", "wp-forge/wp-htaccess-manager": "^1.0", - "wpscholar/url": "^1.2.5" + "wpscholar/url": "^1.2" }, "require-dev": { - "10up/wp_mock": "^1.0", - "newfold-labs/wp-php-standards": "^1.2.4" + "10up/wp_mock": "^1.1", + "newfold-labs/wp-php-standards": "^1.2", + "wp-cli/i18n-command": "^2.6", + "wp-cli/wp-cli-bundle": "^2.11" }, "type": "library", "autoload": { @@ -873,6 +938,28 @@ ], "cs-lint": [ "phpcs --standard=phpcs.xml -s ." + ], + "i18n-pot": [ + "vendor/bin/wp i18n make-pot . ./languages/wp-module-performance.pot --domain=wp-module-performance --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-performance/issues\",\"POT-Creation-Date\":null}' --exclude=build,node_modules,src,tests" + ], + "i18n-po": [ + "vendor/bin/wp i18n update-po ./languages/wp-module-performance.pot ./languages" + ], + "i18n-mo": [ + "vendor/bin/wp i18n make-mo ./languages" + ], + "i18n-json": [ + "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print" + ], + "i18n-php": [ + "vendor/bin/wp --allow-root i18n make-php ./languages" + ], + "i18n": [ + "@i18n-pot", + "@i18n-po", + "@i18n-mo", + "@i18n-json", + "@i18n-php" ] }, "license": [ @@ -886,23 +973,23 @@ ], "description": "A module for managing caching functionality.", "support": { - "source": "https://github.com/newfold-labs/wp-module-performance/tree/2.6.0", + "source": "https://github.com/newfold-labs/wp-module-performance/tree/3.0.2", "issues": "https://github.com/newfold-labs/wp-module-performance/issues" }, - "time": "2025-02-05T18:06:22+00:00" + "time": "2025-04-21T18:06:29+00:00" }, { "name": "newfold-labs/wp-module-pls", - "version": "1.0.1", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-pls.git", - "reference": "e68a79350e9eedcb592cd8e9ec79cc01e29e37a5" + "reference": "57bf8f4fed2d66d04efd9ed8b44ef62ee06475ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-pls/zipball/e68a79350e9eedcb592cd8e9ec79cc01e29e37a5", - "reference": "e68a79350e9eedcb592cd8e9ec79cc01e29e37a5", + "url": "https://api.github.com/repos/newfold-labs/wp-module-pls/zipball/57bf8f4fed2d66d04efd9ed8b44ef62ee06475ad", + "reference": "57bf8f4fed2d66d04efd9ed8b44ef62ee06475ad", "shasum": "" }, "require": { @@ -922,6 +1009,36 @@ "bootstrap.php" ] }, + "scripts": { + "fix": [ + "vendor/bin/phpcbf . --standard=phpcs.xml" + ], + "i18n-pot": [ + "vendor/bin/wp i18n make-pot . ./languages/wp-module-pls.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-pls/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}'" + ], + "i18n-po": [ + "vendor/bin/wp i18n update-po ./languages/wp-module-pls.pot ./languages" + ], + "i18n-mo": [ + "vendor/bin/wp i18n make-mo ./languages" + ], + "i18n-php": [ + "vendor/bin/wp i18n make-php ./languages" + ], + "i18n-json": [ + "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print" + ], + "i18n": [ + "@i18n-pot", + "@i18n-po", + "@i18n-mo", + "@i18n-php", + "@i18n-json" + ], + "lint": [ + "vendor/bin/phpcs . --standard=phpcs.xml -s" + ] + }, "license": [ "GPL-3.0-or-later" ], @@ -933,10 +1050,10 @@ ], "description": "A Newfold module that handles license key provisioning, validation, and other lifecycle events for registered plugins using the PLS API via Hiive.", "support": { - "source": "https://github.com/newfold-labs/wp-module-pls/tree/1.0.1", + "source": "https://github.com/newfold-labs/wp-module-pls/tree/1.1.1", "issues": "https://github.com/newfold-labs/wp-module-pls/issues" }, - "time": "2024-12-11T19:31:32+00:00" + "time": "2025-04-02T13:06:29+00:00" }, { "name": "newfold-labs/wp-module-runtime",