Skip to content

Commit

Permalink
Avoid semver when talking about NPM/Bower versions
Browse files Browse the repository at this point in the history
Avoid semver when talking about how NPM/Bower describe versions

fixes #327
  • Loading branch information
cebe authored Oct 10, 2018
1 parent 0d07328 commit 270b7d1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Resources/doc/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ The `bower.json` of asset repository is automatically converted to a Complete Pa

##### Verison conversion

NPM and Bower use [Semver](http://semver.org) for formatting the versions, which is not
the case for Composer. It is therefore necessary to perform a conversion, but it's not
perfect because of the differences in operation between Semver and Composer.
NPM, Bower, and Composer use slightly different syntax for representing versions.
It is therefore necessary to perform a conversion, but it's not
perfect because of the differences in operation between NPM/Bower and Composer.

Here are the matches currently validated:

| Semver version | Composer version |
| NPM/Bower version| Composer version |
| ---------------- | ---------------- |
| 1.2.3 | 1.2.3 |
| 20170124.0.0 | 20170124.000000 |
Expand Down Expand Up @@ -195,13 +195,13 @@ Here are the matches currently validated:

##### Range verison conversion

NPM and Bower use [Semver](http://semver.org) for formatting the range versions, which is not
the case for Composer. It is therefore necessary to perform a conversion, but it's not
perfect because of the differences in operation between Semver and Composer.
NPM, Bower, and Composer use slightly different syntax for representing version ranges.
It is therefore necessary to perform a conversion, but it's not
perfect because of the differences in operation between NPM/Bower and Composer.

Here are the matches currently validated:

| Semver range version | Composer range version |
| NPM/Bower range version | Composer range version |
| -------------------- | ---------------------- |
| >1.2.3 | >1.2.3 |
| > 1.2.3 | >1.2.3 |
Expand Down

0 comments on commit 270b7d1

Please sign in to comment.