Skip to content

Commit ae43e75

Browse files
Merge pull request #9 from magento/readme_links
Fixing doc links and normalizing composer.json
2 parents 609d603 + 3a7eada commit ae43e75

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ This is accomplished by comparing the root `composer.json` file for the Magento
88

99
# Getting Started
1010

11-
For system requirements and installation instructions, see [README.md](src/magento/composerrootupdateplugin#gettingstarted) in the source directory.
11+
For system requirements and installation instructions, see [README.md](src/Magento/ComposerRootUpdatePlugin#getting-started) in the source directory.
1212

1313
# Usage
1414

15-
For a usage overview and example use cases, see [README.md](src/magento/composerrootupdateplugin#usage) in the source directory.
15+
For a usage overview and example use cases, see [README.md](src/Magento/ComposerRootUpdatePlugin#usage) in the source directory.
1616

1717
# Developer documentation
1818

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2+
"type": "project",
23
"description": "Git source for the Magento root update lookahead composer plugin",
34
"license": [
45
"OSL-3.0",
56
"AFL-3.0"
67
],
7-
"type": "project",
88
"require": {
9-
"composer/composer": "<=1.8.0",
10-
"composer-plugin-api": "^1.0"
9+
"composer-plugin-api": "^1.0",
10+
"composer/composer": "<=1.8.0"
1111
},
1212
"require-dev": {
1313
"phpunit/phpunit": "~6.5.0"

docs/class_descriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Because the plugin is hooking into the native `composer require` functionality d
2727

2828
#### [**AccessibleRootPackageLoader**](../src/Magento/ComposerRootUpdatePlugin/ComposerReimplementation/AccessibleRootPackageLoader.php)
2929

30-
**Composer class:** [RootPackageLoader](https://getcomposer.org/apidoc/master/Composer/Package/Loader/RootPackageLoader.htmlp)
30+
**Composer class:** [RootPackageLoader](https://getcomposer.org/apidoc/master/Composer/Package/Loader/RootPackageLoader.html)
3131

3232
- **`extractStabilityFlags()`** -- see [RootPackageLoader::extractStabilityFlags()](https://github.com/composer/composer/blob/master/src/Composer/Package/Loader/RootPackageLoader.php)
3333
- Takes a package name, version, and minimum-stability setting and returns the stability level that should be used to find the package on a repository
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
22
"name": "magento/composer-root-update-plugin",
3+
"type": "composer-plugin",
34
"description": "Plugin to look ahead for Magento project root changes when running composer update for new Magento versions",
45
"version": "0.1.0",
56
"license": [
67
"OSL-3.0",
78
"AFL-3.0"
89
],
9-
"type": "composer-plugin",
1010
"require": {
11-
"composer/composer": "<=1.8.0",
12-
"composer-plugin-api": "^1.0"
11+
"composer-plugin-api": "^1.0",
12+
"composer/composer": "<=1.8.0"
1313
},
14-
"autoload": {
15-
"files": [
16-
"registration.php"
17-
],
18-
"psr-4": {
19-
"Magento\\ComposerRootUpdatePlugin\\": ""
20-
}
14+
"suggest": {
15+
"magento/framework": "Enables the Magento Composer Root Update Plugin's functionality for the Web Setup Wizard"
2116
},
2217
"extra": {
2318
"class": "Magento\\ComposerRootUpdatePlugin\\Plugin\\PluginDefinition"
2419
},
25-
"suggest": {
26-
"magento/framework": "Enables the Magento Composer Root Update Plugin's functionality for the Web Setup Wizard"
20+
"autoload": {
21+
"psr-4": {
22+
"Magento\\ComposerRootUpdatePlugin\\": ""
23+
},
24+
"files": [
25+
"registration.php"
26+
]
2727
}
2828
}

0 commit comments

Comments
 (0)