@@ -38,7 +38,7 @@ Please consider these guidelines when filing a pull request:
38
38
_ What you added
39
39
_ What you removed
40
40
41
- ## Coding Rules
41
+ ### Coding Rules
42
42
43
43
To keep the code base of commitlint neat and tidy the following rules apply to every change
44
44
@@ -48,7 +48,7 @@ To keep the code base of commitlint neat and tidy the following rules apply to e
48
48
- Favor micro library over swiss army knives (rimraf, ncp vs. fs-extra)
49
49
- Be awesome
50
50
51
- ## Commit Rules
51
+ ### Commit Rules
52
52
53
53
To help everyone with understanding the commit history of commitlint the following commit rules are enforced.
54
54
To make your life easier commitlint is commitizen-friendly and provides the npm run-script ` commit ` .
@@ -61,17 +61,43 @@ To make your life easier commitlint is commitizen-friendly and provides the npm
61
61
- maximum of 100 characters
62
62
- message format of ` $type($scope): $message `
63
63
64
- ## Testing
64
+ ### Environment setup
65
65
66
- From the project root directory, use the following commands to run the test suite
66
+ This project uses ` yarn ` , so be sure that it is available in your shell environment.
67
+
68
+ After cloning the repo run
67
69
68
70
``` sh
69
- yarn clean
70
71
yarn install
72
+ ```
73
+
74
+ ### Testing
75
+
76
+ From the project root directory, use the following commands to run the test suite
77
+
78
+ ``` sh
71
79
yarn build
72
80
yarn test
73
81
```
74
82
83
+ ### Documentation updates
84
+
85
+ Documentation uses ` vitepress ` .
86
+ To run and edit the documentation locally run:
87
+
88
+ ``` sh
89
+ yarn docs-dev
90
+ ```
91
+
92
+ To have a preview of the deployed doc run:
93
+
94
+ ``` sh
95
+ yarn docs-build
96
+ yarn docs-serve
97
+ ```
98
+
99
+ For more information refer to [ vitepress documentation] ( https://vitepress.dev ) .
100
+
75
101
## Package dependency overview
76
102
77
103
![ commitlint-dependencies] ( https://user-images.githubusercontent.com/4248851/58385093-34b79780-7feb-11e9-8f27-bffc4aca3eba.png )
0 commit comments