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 Apr 13, 2025. It is now read-only.
There are many ways to contribute to nodecg-io: logging bugs, submitting pull requests, reporting issues, and creating suggestions.
4
-
5
-
First you'll need an installation of nodecg-io. Please refer to the [installation guide](../getting_started/install.md) and create a development installation.
6
-
The CLI asks you whether you want to clone the documentation. It's highly recommended that you do that and update the documentation as you add new services or features.
7
-
To be able to create Pull Requests you should fork the corresponding repositories and add them as a remote (update URL for e.g., documentation repository):
3
+
There are many ways to contribute to nodecg-io: logging bugs, submitting pull
4
+
requests, reporting issues, and creating suggestions. You can also contribute to
5
+
this [documentation](docs_setup.md).
6
+
7
+
First you'll need an installation of nodecg-io. Please refer to the
8
+
[installation guide](../getting_started/install.md) and create a development
9
+
installation. The CLI asks you whether you want to clone the documentation. It's
10
+
highly recommended that you do that and update the documentation as you add new
11
+
services or features. To be able to create Pull Requests you should fork the
12
+
corresponding repositories and add them as a remote (update URL for e.g.,
You can kill the build task by pressing <kbd>Ctrl</kbd>+<kbd>D</kbd> in the task terminal (<kbd>CMD</kbd>+<kbd>D</kbd>) on macOS.
31
-
Errors and warnings will be shown in the status bar at the bottom left of the editor. You can view the error list using `View | Errors and Warnings` or pressing <kbd>Ctrl</kbd>+<kbd>P</kbd> and then <kbd>!</kbd> (<kbd>CMD</kbd>+<kbd>P</kbd> and <kbd>!</kbd> on macOS)
30
+
In Visual Studio Code you can start the build task with <kbd>Ctrl</kbd> +
You can kill the build task by pressing <kbd>Ctrl</kbd> + <kbd>D</kbd> in the
39
+
task terminal (<kbd>CMD</kbd> + <kbd>D</kbd>) on macOS.
40
+
Errors and warnings will be shown in the status bar at the bottom left of the
41
+
editor. You can view the error list using `View | Errors and Warnings` or
42
+
pressing <kbd>Ctrl</kbd> + <kbd>P</kbd> and then <kbd>!</kbd> (or
43
+
<kbd>CMD</kbd> + <kbd>P</kbd> and <kbd>!</kbd> on macOS).
32
44
33
45
### Terminal
34
46
35
47
You can also use you terminal to build nodecg-io:
36
48
37
-
```
49
+
```shell
38
50
cd path/to/nodecg-io
39
51
npm run build
40
52
```
41
53
42
-
To do a full rebuild instead of just an incremental build you can use `npm run rebuild`.
54
+
To do a full rebuild instead of just an incremental build you can use
55
+
`npm run rebuild`.
43
56
44
57
The watch builder can be activated here too:
45
58
46
-
```
59
+
```shell
47
60
cd path/to/nodecg-io
48
61
npm run watch
49
62
```
@@ -54,36 +67,58 @@ To test the changes you simply need to start/restart NodeCG.
54
67
55
68
## Adding dependencies to packages
56
69
57
-
This project uses [npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces/) to manage our monorepo, and most importantly link all our packages together.
58
-
Because of linking you should not use `npm install xyz --save` to add dependencies because npm can't get the development version of internal packages like `nodecg-io-core`. Doing so will result in an error and break the link.
59
-
Instead, you should edit the `package.json` directly using a text editor and the run `npm install` in the repository root.
70
+
This project uses
71
+
[npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces/) to manage
72
+
our monorepo, and most importantly link all our packages together. Because of
73
+
linking you should not use `npm install xyz --save` to add dependencies because
74
+
npm can't get the development version of internal packages like
75
+
`nodecg-io-core`. Doing so will result in an error and break the link. Instead,
76
+
you should edit the `package.json` directly using a text editor and the run
77
+
`npm install` in the repository root.
60
78
61
79
## Open a Pull Request
62
80
63
-
Once you have implemented your feature or fixed a bug push it to your fork and start a Pull Request.
81
+
Once you have implemented your feature or fixed a bug push it to your fork and
82
+
start a Pull Request.
64
83
65
84
## Merge Upstream Changes
66
85
67
-
Occasionally you will want to merge changes in the upstream repository (the official code repo) with your fork.
86
+
Occasionally you will want to merge changes in the upstream repository (the
Manage any merge conflicts, commit them, and then push them to your fork.
76
96
77
-
You may also occasionally need to merge upstream master in a pull request. To do that make the above to update your local master, and then merge your local master into your PR branch.
97
+
You may also occasionally need to merge upstream master in a pull request. To do
98
+
that make the above to update your local master, and then merge your local
99
+
master into your PR branch.
78
100
79
101
### Where to Contribute
80
102
81
-
After cloning and building the repo, check out the [issues list](https://github.com/codeoverflow-org/nodecg-io/issues). Issues labelled [`help wanted`](https://github.com/codeoverflow-org/nodecg-io/labels/help%20wanted) are good issues to submit a PR for. Issues labelled [`good first issue`](https://github.com/codeoverflow-org/nodecg-io/labels/good%20first%20issue) are great candidates to pick up if you are in the code for the first time. If you are contributing significant changes, please discuss with the assignee of the issue first before starting to work on the issue.
103
+
After cloning and building the repo, check out the
are good issues to submit a PR for. Issues labelled
108
+
[good first issue](https://github.com/codeoverflow-org/nodecg-io/labels/good%20first%20issue)
109
+
are great candidates to pick up if you are in the code for the first time. If
110
+
you are contributing significant changes, please discuss with the assignee of
111
+
the issue first before starting to work on the issue. You may also contribute to
112
+
this [documentation](docs_setup.md).
82
113
83
114
## Suggestions
84
115
85
-
We're also interested in your feedback. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.
116
+
We're also interested in your feedback. You can submit a suggestion or feature
117
+
request through the issue tracker. To make this process more effective, we're
118
+
asking that these include more information to help define them more clearly.
86
119
87
120
## Discussion Etiquette
88
121
89
-
In order to keep the conversation clear and transparent, please limit discussion to English and keep things on topic with the issue. Be considerate to others and try to be courteous and professional at all times.
122
+
In order to keep the conversation clear and transparent, please limit discussion
123
+
to English and keep things on topic with the issue. Be considerate to others and
124
+
try to be courteous and professional at all times.
0 commit comments