-
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.
Showing
3 changed files
with
47 additions
and
22 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Contributing | ||
|
||
How nice of you to swing by! | ||
This must mean that you're serious about thinking to contribute to our little OSS project. | ||
Let's get acquainted by allowing us to show you how we contribute to this project ourselves. | ||
By following these tips and guidelines you'll find that you can contribute more easily. | ||
|
||
## Release tagging | ||
|
||
Tagging the repository on GitHub with a release will automatically start the GitHub Actions. It currently consists of 2 workflows: | ||
|
||
- build | ||
- release | ||
|
||
After the build has completed the release will be run which does the actual packaging of the Component Library and publishes it to both NPMJS and GitHub Packages. | ||
|
||
Versioning convention: | ||
|
||
`v{major}.{minor}.{patch}[-canary.{patch}]` | ||
|
||
Examples: | ||
|
||
- v0.3.5 | ||
- v1.2.2 | ||
- v1.2.3 | ||
- v1.2.3-canary.1 | ||
|
||
Canary releases are pre-releases. So version `v1.2.3-canary.1` is considered as an older release than `v1.2.3`. Canary releases are useful if you want to test it in your own application without risking other users installing it by mistake. | ||
|
||
With NPM a developer typically installs node modules like so: | ||
|
||
`npm i @fdmg/imgix-upload` | ||
|
||
or | ||
|
||
`npm i @fdmg/imgix-upload@latest` | ||
|
||
Let's say we haven't released `v1.2.3` yet then both these commands would automatically install `v1.2.2` and not `v1.2.3-canary.1`. Even though the latter has been packaged and released later than `v1.2.2`. | ||
|
||
In order to install `v1.2.3-canary.1` the developer could use the following commands: | ||
|
||
`npm i @fdmg/[email protected]` | ||
|
||
or | ||
|
||
`npm i @fdmg/imgix-upload@next` |
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