You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 15, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/main/Contributing.md
+13-26
Original file line number
Diff line number
Diff line change
@@ -17,17 +17,16 @@ Contributors and people new to open source will find the following guides especi
17
17
18
18
19
19
## 👊 [Code of Conduct](https://code.fb.com/codeofconduct)
20
-
21
20
Please read [the full text](https://code.fb.com/codeofconduct), so that you are able to understand what interpersonal actions will and will not be tolerated.
22
21
23
22
24
23
## 😎 Get Involved
25
24
There are many ways to contribute to AgileTs, and some of them don't involve writing any code.
26
25
Here are a few ideas to get started:
27
-
- Just start using AgileTs. Does everything work as expected? If not, we're always looking for improvements. Let us know by [opening an issue](#reporting-new-issues).
26
+
- Just start using AgileTs. Does everything work as expected? If not, we're always looking for improvements. Let us know by [opening an issue](#-reporting-new-issues).
28
27
- Help us solving [open issues](https://github.com/agile-ts/agile/issues) by suggesting workarounds or fixing them.
29
28
-[Improve open issues](#improve-issues-and-pull-requests) to make them more clear, readable and understandable for others.
30
-
- Read through the [AgileTs docs](https://agile-ts.org/docs). If you find anything that is confusing or can be improved, feel free to make edits by clicking "Edit" at the bottom of the doc page.
29
+
- Read through the [AgileTs documentation](https://agile-ts.org/docs). If you find anything that is confusing or can be improved, feel free to make edits by clicking "Edit" at the bottom of the doc page.
31
30
- Take a look at the [features requested](https://github.com/agile-ts/agile/labels/enhancement) by others and consider opening a pull request if you see something you want to work on.
32
31
33
32
### Join our Discord Server
@@ -36,21 +35,17 @@ our [Discord Community](https://discord.gg/T9GzreAwPH) by helping other people w
36
35
have solved.
37
36
38
37
### Improve Issues and Pull Requests
39
-
40
38
One great way to contribute without writing _any_ code is to improve open issues and pull requests.
41
-
42
39
- Ask for more information if you believe the issue does not provide all the details required to solve it
43
40
- Suggest [labels](https://github.com/agile-ts/agile/labels) that help to categorize issues/pull-requests
44
41
- Flag issues that are stale or that should be closed
45
42
46
43
47
44
## ⏰ Our Development Process
48
-
49
45
AgileTs uses Github as it's source of truth.
50
46
All changes made so far and which will be made in future are and will remain publicly accessible here.
51
47
52
48
### Branch Organization
53
-
54
49
AgileTs has two primary branches: `master` and `develop`
55
50
56
51
`master` contains the latest released code
@@ -63,41 +58,38 @@ The root of all your branches have to be the `develop` branch!
63
58
64
59
65
60
## 🐞 Bugs
66
-
67
61
We use [GitHub Issues](https://github.com/agile-ts/agile/issues) to keep track of our bugs.
68
62
If you would like to report any problem, **take a look around and see if someone already opened an issue about it**.
69
-
If you are certain this is a new unreported bug, you can submit a [bug report](#reporting-new-issues).
63
+
If you are certain this is a new unreported bug, you can submit a [bug report](#-reporting-new-issues).
70
64
71
65
72
66
## 📕 Reporting New Issues
73
-
74
67
When [opening a new issue](https://github.com/agile-ts/agile/issues/new/choose), always make sure to fill out the whole issue template.
75
68
**This step is very important!** Not doing so may result in your issue not managed in a timely fashion.
76
69
Don't take this personally if this happens, and feel free to open a new issue once you've gathered all the information required by the template.
77
70
78
71
-**One issue, one bug!** Please report a single bug per issue.
79
-
-**Provide reproduction steps!** List all steps that are necessary to reproduce the issue. The person reading your bug report should be able to reproduce your issue with minimal effort.
72
+
-**Provide reproduction steps!** List all steps that are necessary to reproduce the issue.
73
+
The person reading your bug report should be able to reproduce your issue with minimal effort.
80
74
81
75
82
76
## ⏳ Installation
83
-
84
77
1. Ensure you have [Yarn](https://yarnpkg.com/) installed
85
78
2. After cloning the repository, run `yarn run install-packages` in the root of the repository,
86
79
which simply runs `yarn install` in each package to ensure all dependencies are installed.
87
80
88
81
### Run Example Project's
89
-
90
-
1. Follow the [Installation](#Installation) steps above
82
+
1. Follow the [Installation](#-Installation) steps above
91
83
2. Ensure you have [Yalc](https://www.google.com/search?client=firefox-b-d&q=yalc) installed
92
-
3. Run `yarn run dev-publish` to publish all packages in your local 'npm store'
84
+
3. Run `yarn run dev:publish` to publish all packages in your local 'yalc/(npm) store'
93
85
4. Execute `yarn install` in the Example Project to install its dependencies like AgileTs
94
-
5. If you made your desired changes. Run `yarn run dev-push` to push your updated changes into your local 'npm store' <br />
95
-
_ProTip:_ To make realtime changes, run `yarn run watch`, which automatically runs `yarn run dev-push` everytime you update a file in a package.
86
+
5. If you made your desired changes. Run `yarn run dev:push` to push your updated changes into your local 'yalc store' <br />
87
+
_ProTip:_ To make realtime changes, run `yarn run watch`, which automatically runs `yarn run dev:push` everytime you update a file in a package.
88
+
96
89
97
90
## ☄️ Pull Request
98
91
99
92
### Your First Pull Request
100
-
101
93
So you have also decided to merge code back to the upstream by opening a PR.
102
94
You've invested a good chunk of time, and we appreciate it.
103
95
We will do our best to work with you and get the PR looked at.
@@ -110,7 +102,6 @@ We have a list of [beginner friendly issues](https://github.com/agile-ts/agile/l
110
102
and familiar with our contribution process. This is a great place to get started.
111
103
112
104
### Proposing a Change
113
-
114
105
If you would like to request a new feature or enhancement but you only want to give an impulse and don't want to implement it,
115
106
feel free to create an issue that follows the [feature template](https://github.com/agile-ts/agile/issues/new?template=feature_request.md).
116
107
@@ -119,14 +110,13 @@ but we still recommend creating an [issue](https://github.com/agile-ts/agile/iss
119
110
This is helpful in case we don't accept that specific changes, but want to keep track of the issue.
120
111
121
112
### Sending a Pull Request
122
-
123
113
Keep in mind that small pull requests are much easier to review and more likely to get merged.
124
114
Make sure your PR only solves one problem (issue), otherwise please split it up in multiple PR's for a better overview.
125
115
Commit Messages that follow this [style guide](https://www.conventionalcommits.org/en/v1.0.0/) are very welcome ^^
126
116
127
117
Please make sure the following is done before submitting a new pull request:
128
118
129
-
1. Fork [the repository](https://github.com/agile-ts/agile) and create your branch from `develop`
119
+
1. Fork [the repository](https://github.com/agile-ts/agile) and **create your branch starting from the `develop` branch**
130
120
2. Make sure your code is right formatted (`yarn prettier`)
131
121
3. Make sure all Jest tests pass (`yarn test`)
132
122
4. Don't forget the **How has this been Tested?** part!
@@ -135,7 +125,6 @@ All pull requests should be opened against the `develop` branch
135
125
and have a related Issue for better organization!
136
126
137
127
#### Breaking Changes
138
-
139
128
When adding a new [breaking change](https://stackoverflow.com/questions/21703216/what-is-a-breaking-change-in-software), follow this template in your pull request:
140
129
141
130
```md
@@ -148,21 +137,19 @@ When adding a new [breaking change](https://stackoverflow.com/questions/21703216
148
137
```
149
138
150
139
### What Happens Next?
151
-
152
140
The core Team of AgileTs is constantly monitoring pull requests and merges them if they seem correct.
153
141
Help us to keep pull requests consistent by following the guidelines above.
154
142
155
143
156
144
## 🌟 Style Guide
157
-
158
145
[Prettier](https://prettier.io) will catch most styling issues that may exist in your code.
159
146
You can check the status of your code styling by simply running `yarn prettier`.
160
147
161
-
**Most important:** Look around. Match the style you see used in the rest of the project(formatting, naming, ..).
148
+
**Most important:** Look around. Match the style you see used in the rest of the project(formatting, naming, ..).
162
149
163
150
164
151
## 📄 License
165
-
By contributing to AgileTs, you agree that your contributions will be licensed under its **MIT license**.
152
+
By contributing to AgileTs, you agree that your contributions will be licensed under its **[MIT license](https://github.com/agile-ts/agile/blob/master/LICENSE)**.
0 commit comments