Merge branch dev with rel-10.7 - #25991
Conversation
Update React dependencies with abp update
There was a problem hiding this comment.
Pull request overview
This PR updates the ABP CLI’s PackageJsonFileFinder so it can recognize additional JavaScript frontend project types (Vite and Next.js) when searching for package.json files, and adds unit test coverage to validate the new detection logic.
Changes:
- Extend project-type detection to treat
vite.config.tsandnext.config.tsas supported “project markers” alongside*.csprojandangular.json. - Add a new theory-based unit test to verify
package.jsondiscovery behavior for the supported marker files and the “no marker” case.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/PackageJsonFileFinder.cs | Adds Vite/Next.js marker files to the “project exists” check used to filter package.json results. |
| framework/test/Volo.Abp.Cli.Core.Tests/Volo/Abp/Cli/ProjectModification/PackageJsonFileFinder_Tests.cs | Introduces tests covering detection for *.csproj, angular.json, vite.config.ts, next.config.ts, and the unsupported-marker scenario. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #25991 +/- ##
==========================================
+ Coverage 48.76% 48.79% +0.02%
==========================================
Files 3804 3804
Lines 132231 132233 +2
Branches 10027 10027
==========================================
+ Hits 64486 64519 +33
+ Misses 65820 65788 -32
- Partials 1925 1926 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This PR generated automatically to merge dev with rel-10.7. Please review the changed files before merging to prevent any errors that may occur.