Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename modules.local to modules #28

Merged
merged 6 commits into from
Aug 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .idea/plugin.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).


## [[*next-version*]] - YYYY-MM-DD
### Changed
- Renamed `modules.local` to simply `modules` (#28).

### Added
- Now building on PHP 8.1 and 8.2 as well (#30).

## [0.2.0] - 2023-08-04
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Use this project as a starter for your [modular][modularity] WordPress plugin!
into packages of their own when necessary.

Modules can be installed from other packages, or included in the package. In the latter
case, they should be added to the directory `modules.local`. One such module, the `core`
case, they should be added to the directory `modules`. One such module, the `core`
module of the plugin, is already included in the package. Its `composer.json` should
also be personalized, just like the `composer.json` of this package.

Expand Down Expand Up @@ -215,7 +215,7 @@ To add a module from another package, require that package with Composer
and add the `ModuleInterface` instance to the list.

##### Local Modules
To add a local module, add the module to the `modules.local` folder,
To add a local module, add the module to the `modules` folder,
and do the same as for any other module. Local modules may also declare their own
dependencies by adding a `composer.json` file to their root folder.
These files will be picked up by Composer when updating dependencies in
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"extra": {
"merge-plugin": {
"include": [
"modules.local/*/composer.json"
"modules/*/composer.json"
]
}
},
Expand Down
Loading
Loading