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
| Please keep in mind that the issue tracker is for _issues_. Please do _not_ post an issue if you need help or support. Instead, use StackOverflow. |
24
22
25
23
# Contribute
26
24
@@ -32,13 +30,11 @@ Please keep in mind that the issue tracker is for *issues*. Please do *not* post
32
30
33
31
**(4)** Finally, commit some code and open a pull request. Code & commits should abide by the following rules:
34
32
35
-
-*Always* have test coverage for new features (or regression tests for bug fixes), and *never* break existing tests
33
+
-_Always_ have test coverage for new features (or regression tests for bug fixes), and _never_ break existing tests
36
34
- Commits should represent one logical change each; if a feature goes through multiple iterations, squash your commits down to one
37
35
- Make sure to follow the [Angular commit message format](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format) so your change will appear in the changelog of the next release.
38
36
- Changes should always respect the coding style of the project
39
37
40
-
41
-
42
38
# Developing
43
39
44
40
`ui-router-ng2` uses <code>npm</code> and <code>webpack</code>.
@@ -47,8 +43,8 @@ Please keep in mind that the issue tracker is for *issues*. Please do *not* post
47
43
48
44
The code for `ui-router-ng2` is split into two source repositories:
49
45
50
-
*[UI-Router Core](https://github.com/ui-router/core) (`@uirouter/core` on npm)
51
-
*[UI-Router for Angular 2](https://github.com/ui-router/ng2) (`ui-router-ng2` on npm)
46
+
-[UI-Router Core](https://github.com/ui-router/core) (`@uirouter/core` on npm)
47
+
-[UI-Router for Angular 2](https://github.com/ui-router/ng2) (`ui-router-ng2` on npm)
52
48
53
49
Clone both repositories into directories next to each other.
54
50
@@ -89,11 +85,10 @@ instead of the prebuilt version specified in `package.json`.
89
85
90
86
## Develop
91
87
92
-
*`npm run build`: Perform a full build.
93
-
*`npm run watch`: Continuously builds and runs tests when source or tests change.
88
+
-`npm run build`: Perform a full build.
89
+
-`npm run test:watch`: Continuously builds and runs tests when source or tests change.
94
90
95
91
If you make changes in `@uirouter/core`, run these scripts before rebuilding or re-testing `@uirouter/angular`:
96
92
97
-
*`npm run build`: Compiles `@uirouter/core` code
98
-
*`npm run watch`: Continuously builds the `@uirouter/core` code when sources change.
99
-
93
+
-`npm run build`: Compiles `@uirouter/core` code
94
+
-`npm run watch`: Continuously builds the `@uirouter/core` code when sources change.
0 commit comments