From 939ce597f74a672dd1a49d058b674b43a744749d Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Mon, 25 Aug 2025 16:46:57 -0400 Subject: [PATCH 1/3] fix: Update installation documentation to highlight npm as an optional requirement for frontend asset management. --- .editorconfig | 1 - README.md | 2 ++ codeception.yml | 3 --- docs/installation.md | 1 + 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index 59dffe4..cfec585 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,6 +11,5 @@ trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false - [*.yml] indent_size = 2 diff --git a/README.md b/README.md index ba55e3b..99f0c11 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,8 @@ The Yii2 Web Application Basic template provides a complete foundation for build - **Extensible**: Easy to customize and extend for specific project requirements. - **Production-ready**: Includes security features and optimizations for deployment. +>Note: Also, make sure to install [`npm`](https://nodejs.org/en/download/) for frontend dependency management. + ### Installation **Quick start** diff --git a/codeception.yml b/codeception.yml index 1f209b7..07c9cf2 100644 --- a/codeception.yml +++ b/codeception.yml @@ -20,6 +20,3 @@ extensions: - Codeception\Extension\RunFailed coverage: enabled: true - whitelist: - include: - - src/* diff --git a/docs/installation.md b/docs/installation.md index f7573fc..0b6fe67 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -4,6 +4,7 @@ - [`PHP`](https://www.php.net/downloads) 8.1 or higher. - [`Composer`](https://getcomposer.org/download/) for dependency management. +- [`npm`](https://nodejs.org/en/download/) for frontend asset management (optional but recommended). - [`Yii2`](https://github.com/yiisoft/yii2) 2.0.53+ or 22.x. - Web server (Apache, Nginx, or built-in PHP server). From 641f1cc4b17c0c5cd633b2277e731ece3c19b8a8 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Mon, 25 Aug 2025 16:51:42 -0400 Subject: [PATCH 2/3] fix: Update Codeception configuration to include source files for coverage reporting. --- codeception.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codeception.yml b/codeception.yml index 07c9cf2..9c300d2 100644 --- a/codeception.yml +++ b/codeception.yml @@ -20,3 +20,5 @@ extensions: - Codeception\Extension\RunFailed coverage: enabled: true + include: + - src/* From 3b434fba31d48fd07c134c98a44c48d677c3bcb4 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Mon, 25 Aug 2025 16:53:53 -0400 Subject: [PATCH 3/3] Apply fixed review coderabbitai nitpick comments. --- docs/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index 0b6fe67..e46f7cd 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -4,7 +4,7 @@ - [`PHP`](https://www.php.net/downloads) 8.1 or higher. - [`Composer`](https://getcomposer.org/download/) for dependency management. -- [`npm`](https://nodejs.org/en/download/) for frontend asset management (optional but recommended). +- [`npm`](https://nodejs.org/en/download/) for frontend dependency management. - [`Yii2`](https://github.com/yiisoft/yii2) 2.0.53+ or 22.x. - Web server (Apache, Nginx, or built-in PHP server).