-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from RobotlegsJS/peer-dependencies
Move phaser-ce library to peerDependencies
- Loading branch information
Showing
4 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,8 +28,35 @@ Or using [Yarn](https://yarnpkg.com/en/): | |
yarn add @robotlegsjs/phaser-ce-signalcommandmap | ||
``` | ||
|
||
From version `0.2.0` of this package, the [Phaser-CE](https://github.com/photonstorm/phaser-ce) dependency was moved to **peerDependencies**, | ||
allowing the final user to choose the desired version of the `phaser-ce` library on each project. | ||
|
||
The `@robotlegsjs/phaser-ce-signalcommandmap` package is compatible with versions between the `>=2.8.1 <3` version range of `phaser-ce` library. | ||
|
||
As example, when you would like to use the version `2.8.1` of `phaser-ce` library, you can run: | ||
|
||
```bash | ||
npm install [email protected] reflect-metadata --save-prod | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
yarn add [email protected] reflect-metadata | ||
``` | ||
|
||
Then follow the [installation instructions](https://github.com/RobotlegsJS/RobotlegsJS/blob/master/README.md#installation) of **RobotlegsJS** library to complete the setup of your project. | ||
|
||
**Dependencies** | ||
|
||
+ [RobotlegsJS](https://github.com/RobotlegsJS/RobotlegsJS) | ||
+ [tslib](https://github.com/Microsoft/tslib) | ||
|
||
**Peer Dependencies** | ||
|
||
+ [Phaser-CE](https://github.com/photonstorm/phaser-ce) | ||
+ [reflect-metadata](https://github.com/rbuckton/reflect-metadata) | ||
|
||
License | ||
--- | ||
|
||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1248,8 +1248,8 @@ [email protected]: | |
resolved "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" | ||
|
||
commander@^2.12.1, commander@^2.15.1, commander@^2.9.0: | ||
version "2.16.0" | ||
resolved "https://registry.npmjs.org/commander/-/commander-2.16.0.tgz#f16390593996ceb4f3eeb020b31d78528f7f8a50" | ||
version "2.17.0" | ||
resolved "https://registry.npmjs.org/commander/-/commander-2.17.0.tgz#9d07b25e2a6f198b76d8b756a0e8a9604a6a1a60" | ||
|
||
commander@~2.13.0: | ||
version "2.13.0" | ||
|