chore: rename app-modules directory to packages#203
Merged
ManukMinasyan merged 8 commits intomainfrom Mar 31, 2026
Merged
Conversation
…gs, and theme.css
There was a problem hiding this comment.
Pull request overview
Renames the project’s internal “module” directory from app-modules/ to packages/ and updates build/test/static-analysis configuration and SystemAdmin panel discovery paths accordingly.
Changes:
- Updated tooling/config paths (Vite, Tailwind sources, Rector, PHPUnit, PHPStan) to reference
packages/instead ofapp-modules/. - Updated SystemAdmin Filament panel discovery paths to the new
packages/SystemAdmin/...locations. - Introduced/relocated SystemAdmin policies and widgets under
packages/SystemAdmin.
Reviewed changes
Copilot reviewed 17 out of 228 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| vite.config.js | Updates Vite inputs to load assets from packages/Documentation. |
| resources/css/filament/app/theme.css | Updates Tailwind @source paths for ImportWizard packages. |
| rector.php | Updates Rector scan paths and model rector exclusions to packages/. |
| phpunit.xml | Updates PHPUnit source include path from app-modules to packages. |
| phpunit.ci.xml | Updates CI PHPUnit source include path from app-modules to packages. |
| phpstan.neon | Updates PHPStan paths, excludePaths, and configDirectories to packages. |
| packages/SystemAdmin/src/SystemAdminPanelProvider.php | Updates Filament discovery paths to packages/SystemAdmin/.... |
| packages/SystemAdmin/src/Filament/Widgets/UserRetentionChartWidget.php | Adds sysadmin retention chart widget (reviewed for query efficiency). |
| packages/ImportWizard/src/Jobs/ResolveMatchesJob.php | Import job execution in queue context (reviewed for tenant isolation). |
| packages/ImportWizard/src/Jobs/ValidateColumnJob.php | Import validation job in queue context (reviewed for tenant isolation). |
| packages/SystemAdmin/src/Policies/CompanyPolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/PeoplePolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/OpportunityPolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/TaskPolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/NotePolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/TeamPolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/UserPolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/SystemAdministratorPolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/ImportPolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
| packages/SystemAdmin/src/Policies/FailedImportRowPolicy.php | Adds sysadmin policy (reviewed for Laravel policy signature correctness). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
app-modules/directory topackages/across the entire projectcomposer.jsonAppPanelProvider,SystemAdminPanelProvider)Test plan
composer dump-autoloadsucceedsphp artisan test --compactpasses