diff --git a/composer.json b/composer.json index ac70691..241c890 100644 --- a/composer.json +++ b/composer.json @@ -71,7 +71,7 @@ "newfold-labs/wp-module-loader": "^1.0.13", "newfold-labs/wp-module-marketplace": "2.6.3", "newfold-labs/wp-module-notifications": "^1.7.0", - "newfold-labs/wp-module-performance": "2.7.10", + "newfold-labs/wp-module-performance": "3.5.4", "newfold-labs/wp-module-runtime": "^1.1.3", "newfold-labs/wp-module-secure-passwords": "^1.1.2", "newfold-labs/wp-module-sso": "^1.2.0", diff --git a/composer.lock b/composer.lock index fe5094e..c2c4dea 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": "e33b5fb6b8f32872c4850505be84a8da", + "content-hash": "c3c96dee9f76420a0b4dd227b08fe9c2", "packages": [ { "name": "doctrine/inflector", @@ -687,6 +687,76 @@ }, "time": "2025-07-18T17:05:47+00:00" }, + { + "name": "newfold-labs/wp-module-htaccess", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/newfold-labs/wp-module-htaccess.git", + "reference": "4901617e80f254c28721769555bc1f5b0c05588b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/newfold-labs/wp-module-htaccess/zipball/4901617e80f254c28721769555bc1f5b0c05588b", + "reference": "4901617e80f254c28721769555bc1f5b0c05588b", + "shasum": "" + }, + "require-dev": { + "newfold-labs/wp-php-standards": "^1.2", + "wp-cli/i18n-command": "^2.6.5", + "wp-cli/wp-cli": "^2.12" + }, + "type": "library", + "autoload": { + "psr-4": { + "NewfoldLabs\\WP\\Module\\Htaccess\\": "includes" + }, + "files": [ + "bootstrap.php" + ] + }, + "scripts": { + "fix": [ + "vendor/bin/phpcbf . --standard=phpcs.xml" + ], + "i18n-pot": [ + "vendor/bin/wp i18n make-pot . ./languages/wp-module-hosting.pot --domain=wp-module-hosting --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-hosting/issues\",\"POT-Creation-Date\":\"2025-02-13T09:55:55+00:00\"}' --exclude=src,scripts,tests,webpack --include=build/*.min.js,includes" + ], + "i18n-po": [ + "vendor/bin/wp i18n update-po ./languages/wp-module-hosting.pot ./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-php", + "@i18n-json" + ], + "lint": [ + "vendor/bin/phpcs . --standard=phpcs.xml -s" + ] + }, + "license": [ + "GPL-3.0-or-later" + ], + "authors": [ + { + "name": "arunshenoy99", + "email": "devarunshenoy99@gmail.com" + } + ], + "description": "A centralized Newfold module for managing .htaccess files across Newfold brand plugins. It provides a canonical ruleset, validates syntax, prevents duplicate or conflicting directives, maintains backups, and exposes a consumer API for other modules to safely register their own rewrite fragments.", + "support": { + "source": "https://github.com/newfold-labs/wp-module-htaccess/tree/1.0.0", + "issues": "https://github.com/newfold-labs/wp-module-htaccess/issues" + }, + "time": "2025-09-16T09:20:11+00:00" + }, { "name": "newfold-labs/wp-module-installer", "version": "1.6.6", @@ -1062,31 +1132,35 @@ }, { "name": "newfold-labs/wp-module-performance", - "version": "2.7.10", + "version": "3.5.4", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-performance.git", - "reference": "f51970b0200b0d58ac387bf5fe3d5ed5442988c9" + "reference": "9ecffb6c30d8edb4bd68da25364c5e5550ce0fa1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-performance/zipball/f51970b0200b0d58ac387bf5fe3d5ed5442988c9", - "reference": "f51970b0200b0d58ac387bf5fe3d5ed5442988c9", + "url": "https://api.github.com/repos/newfold-labs/wp-module-performance/zipball/9ecffb6c30d8edb4bd68da25364c5e5550ce0fa1", + "reference": "9ecffb6c30d8edb4bd68da25364c5e5550ce0fa1", "shasum": "" }, "require": { "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-features": "^1.5", - "newfold-labs/wp-module-installer": "^1.4.0", - "wp-forge/collection": "^1.0.2", + "newfold-labs/wp-module-htaccess": "^1.0", + "newfold-labs/wp-module-installer": "^1.6", + "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.1", - "newfold-labs/wp-php-standards": "^1.2.5", + "10up/wp_mock": "^0.5.0|^1.0.0", + "johnpbloch/wordpress": "6.8.3", + "lucatume/wp-browser": "*", + "newfold-labs/wp-php-standards": "^1.2", + "phpunit/phpcov": "*", "wp-cli/i18n-command": "^2.6", - "wp-cli/wp-cli-bundle": "^2.11" + "wp-cli/wp-cli-bundle": "^2.8.1|^2.12" }, "type": "library", "autoload": { @@ -1100,36 +1174,49 @@ ] }, "scripts": { - "test": [ - "phpunit --bootstrap tests/phpunit/bootstrap.php" - ], "cs-fix": [ "phpcbf --standard=phpcs.xml ." ], "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": [ + "@i18n-pot", + "@i18n-po", + "@i18n-json", + "@i18n-php" ], - "i18n-po": [ - "vendor/bin/wp i18n update-po ./languages/wp-module-performance.pot ./languages" + "i18n-ci-pre": [ + "@i18n-pot", + "@i18n-po" ], - "i18n-mo": [ - "vendor/bin/wp i18n make-mo ./languages" + "i18n-ci-post": [ + "@i18n-json", + "@i18n-php" ], "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 --allow-root i18n make-php ./languages" ], - "i18n": [ - "@i18n-pot", - "@i18n-po", - "@i18n-mo", - "@i18n-json", - "@i18n-php" + "i18n-po": [ + "vendor/bin/wp i18n update-po ./languages/wp-module-performance.pot ./languages" + ], + "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=src,tests,assets,wordpress --include=build/*.min.js" + ], + "test": [ + "phpunit --bootstrap tests/phpunit/bootstrap.php", + "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": [ @@ -1138,15 +1225,15 @@ "authors": [ { "name": "Micah Wood", - "email": "micah@wpscholar.com" + "homepage": "https://wpscholar.com" } ], "description": "A module for managing caching functionality.", "support": { - "source": "https://github.com/newfold-labs/wp-module-performance/tree/2.7.10", + "source": "https://github.com/newfold-labs/wp-module-performance/tree/3.5.4", "issues": "https://github.com/newfold-labs/wp-module-performance/issues" }, - "time": "2025-04-01T12:32:39+00:00" + "time": "2025-11-04T07:51:14+00:00" }, { "name": "newfold-labs/wp-module-pls",