File tree Expand file tree Collapse file tree 23 files changed +24
-100
lines changed Expand file tree Collapse file tree 23 files changed +24
-100
lines changed Original file line number Diff line number Diff line change 12
12
},
13
13
"scripts" : {
14
14
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
15
- "clean" : " npx rimraf lib" ,
16
15
"deps" : " dep-check" ,
17
16
"pkg" : " pkg-check" ,
18
17
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
66
65
"mkdirp" : " 0.5.1" ,
67
66
"pkg-dir" : " 2.0.0" ,
68
67
"resolve-bin" : " 0.4.0" ,
69
- "rimraf" : " 2.6.2" ,
70
68
"sander" : " 0.6.0" ,
71
69
"string-to-stream" : " 1.1.0" ,
72
70
"tmp" : " 0.1.0"
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check --skip-import" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
65
64
"babel-register" : " 6.26.0" ,
66
65
"concurrently" : " 3.5.1" ,
67
66
"cross-env" : " 5.1.1" ,
68
- "globby" : " 8.0.1" ,
69
- "rimraf" : " 2.6.1"
67
+ "globby" : " 8.0.1"
70
68
},
71
69
"dependencies" : {
72
70
"lodash" : " 4.17.11"
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
65
64
"babel-preset-commitlint" : " ^7.5.0" ,
66
65
"babel-register" : " 6.26.0" ,
67
66
"concurrently" : " 3.5.1" ,
68
- "cross-env" : " 5.1.1" ,
69
- "rimraf" : " 2.6.1"
67
+ "cross-env" : " 5.1.1"
70
68
},
71
69
"dependencies" : {
72
70
"babel-runtime" : " 6.26.0"
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " tsc" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check --skip-import" ,
14
13
"start" : " concurrently \" yarn test --watchAll\" \" yarn run watch\" " ,
47
46
"jest" : " 24.8.0" ,
48
47
"rimraf" : " 2.6.1" ,
49
48
"ts-jest" : " 24.0.2" ,
50
- "typescript" : " 3.4.5"
49
+ "typescript" : " 3.4.5" ,
50
+ "lodash" : " 4.17.11"
51
51
},
52
52
"dependencies" : {
53
53
"chalk" : " ^2.0.1"
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
65
64
"babel-preset-commitlint" : " ^7.5.0" ,
66
65
"babel-register" : " 6.26.0" ,
67
66
"concurrently" : " 3.5.1" ,
68
- "cross-env" : " 5.1.1" ,
69
- "rimraf" : " 2.6.1"
67
+ "cross-env" : " 5.1.1"
70
68
},
71
69
"dependencies" : {
72
70
"semver" : " 6.0.0"
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check --skip-import" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
67
66
"cross-env" : " 5.1.1" ,
68
67
"execa" : " 0.9.0" ,
69
68
"globby" : " 8.0.1" ,
70
- "rimraf" : " 2.6.1" ,
71
69
"proxyquire" : " 2.1.0"
72
70
},
73
71
"dependencies" : {
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check --skip-import" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
66
65
"concurrently" : " 3.5.1" ,
67
66
"cross-env" : " 5.1.1" ,
68
67
"execa" : " 0.9.0" ,
69
- "globby" : " 8.0.1" ,
70
- "rimraf" : " 2.6.1"
68
+ "globby" : " 8.0.1"
71
69
},
72
70
"dependencies" : {
73
71
"@commitlint/execute-rule" : " ^7.5.0" ,
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
64
63
"babel-preset-commitlint" : " ^7.5.0" ,
65
64
"babel-register" : " 6.26.0" ,
66
65
"concurrently" : " 3.5.1" ,
67
- "cross-env" : " 5.1.1" ,
68
- "rimraf" : " 2.6.1"
66
+ "cross-env" : " 5.1.1"
69
67
}
70
68
}
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
65
64
"babel-register" : " 6.26.0" ,
66
65
"concurrently" : " 3.5.1" ,
67
66
"cross-env" : " 5.1.1" ,
68
- "import-from" : " 3.0.0" ,
69
- "rimraf" : " 2.6.1"
67
+ "import-from" : " 3.0.0"
70
68
},
71
69
"dependencies" : {
72
70
"conventional-changelog-angular" : " ^1.3.3" ,
Original file line number Diff line number Diff line change 9
9
"commit" : " ./cli.js"
10
10
},
11
11
"scripts" : {
12
- "clean" : " npx rimraf lib" ,
13
12
"commit" : " $npm_package_bin_commit" ,
14
13
"deps" : " dep-check" ,
15
14
"pkg" : " pkg-check --skip-main" ,
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"commit" : " git-cz" ,
13
12
"deps" : " dep-check" ,
14
13
"pkg" : " pkg-check --skip-import" ,
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check --skip-import" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
65
64
"babel-register" : " 6.26.0" ,
66
65
"concurrently" : " 3.5.1" ,
67
66
"cross-env" : " 5.1.1" ,
68
- "execa" : " 0.9.0" ,
69
- "rimraf" : " 2.6.1"
67
+ "execa" : " 0.9.0"
70
68
},
71
69
"dependencies" : {
72
70
"@commitlint/top-level" : " ^7.5.0" ,
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
67
66
"babel-register" : " 6.26.0" ,
68
67
"concurrently" : " 3.5.1" ,
69
68
"cross-env" : " 5.1.1" ,
70
- "execa" : " 0.9.0" ,
71
- "rimraf" : " 2.6.1"
69
+ "execa" : " 0.9.0"
72
70
},
73
71
"dependencies" : {
74
72
"babel-runtime" : " 6.26.0" ,
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check --skip-import" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
68
67
"conventional-changelog-angular" : " 1.6.6" ,
69
68
"cross-env" : " 5.1.1" ,
70
69
"globby" : " 8.0.1" ,
71
- "lodash" : " 4.17.11" ,
72
- "rimraf" : " 2.6.1"
70
+ "lodash" : " 4.17.11"
73
71
},
74
72
"dependencies" : {
75
73
"@commitlint/ensure" : " ^7.5.2" ,
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check" ,
14
13
"start" : " concurrently \" ava -c 4 --verbose --watch\" \" yarn run watch\" " ,
65
64
"babel-preset-commitlint" : " ^7.5.0" ,
66
65
"babel-register" : " 6.26.0" ,
67
66
"concurrently" : " 3.5.1" ,
68
- "cross-env" : " 5.1.1" ,
69
- "rimraf" : " 2.6.1"
67
+ "cross-env" : " 5.1.1"
70
68
}
71
69
}
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
11
"deps" : " dep-check" ,
13
12
"pkg" : " pkg-check" ,
14
13
"start" : " yarn watch" ,
46
45
"babel-cli" : " 6.26.0" ,
47
46
"babel-preset-commitlint" : " ^7.5.0" ,
48
47
"babel-register" : " 6.26.0" ,
49
- "cross-env" : " 5.1.1" ,
50
- "rimraf" : " 2.6.1"
48
+ "cross-env" : " 5.1.1"
51
49
},
52
50
"dependencies" : {
53
51
"find-up" : " ^2.1.0"
Original file line number Diff line number Diff line change 10
10
},
11
11
"scripts" : {
12
12
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
13
- "clean" : " npx rimraf lib" ,
14
13
"deps" : " dep-check" ,
15
14
"pkg" : " pkg-check --skip-main" ,
16
15
"start" : " ava -c 4 --verbose --watch" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
"files" : [
7
7
" index.js"
8
8
],
9
- "scripts" : {
10
- "deps" : " dep-check" ,
11
- "pkg" : " pkg-check" ,
12
- "start" : " ava --watch --verbose" ,
13
- "test" : " ava --verbose"
14
- },
15
9
"ava" : {
16
10
"files" : [
17
11
" test.js" ,
49
43
},
50
44
"license" : " MIT" ,
51
45
"devDependencies" : {
52
- "@commitlint/utils" : " ^7.5.0" ,
53
46
"ava" : " 0.22.0" ,
54
47
"babel-core" : " 6.26.0"
55
48
},
Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
11
- "clean" : " npx rimraf lib" ,
12
- "deps" : " dep-check" ,
13
- "pkg" : " pkg-check --skip-import" ,
14
11
"start" : " concurrently \" ava --watch --verbose\" \" yarn run watch\" " ,
15
12
"test" : " ava --verbose" ,
16
13
"watch" : " babel src --out-dir lib --watch --source-maps"
56
53
},
57
54
"license" : " MIT" ,
58
55
"dependencies" : {
59
- "@commitlint/utils" : " ^7.5.0" ,
60
56
"@marionebl/sander" : " 0.6.1" ,
61
57
"execa" : " 0.9.0" ,
62
58
"pkg-dir" : " 2.0.0"
63
59
},
64
60
"devDependencies" : {
65
- "@commitlint/utils" : " ^7.5.0" ,
66
- "ava" : " 0.22.0" ,
67
61
"babel-cli" : " 6.26.0" ,
68
62
"babel-preset-commitlint" : " ^7.5.0" ,
69
63
"babel-register" : " 6.26.0" ,
70
64
"concurrently" : " 3.5.1" ,
71
- "cross-env" : " 5.1.1" ,
72
- "rimraf" : " 2.6.1"
65
+ "cross-env" : " 5.1.1"
73
66
}
74
67
}
Original file line number Diff line number Diff line change @@ -187,21 +187,21 @@ Copyright by @marionebl. All `commitlint` packages are released under the MIT li
187
187
``` sh
188
188
git clone
[email protected] :conventional-changelog/commitlint.git
189
189
cd commitlint
190
- npx yarn install
191
- npx yarn run build # run build tasks
192
- npx yarn start # run tests, again on change
190
+ yarn
191
+ yarn run build # run build tasks
192
+ yarn start # run tests, again on change
193
193
```
194
194
195
195
For more information on how to contribute please take a look at our [ contribution guide] ( ./.github/CONTRIBUTING.md ) .
196
196
197
197
### Publishing a release
198
198
199
199
``` sh
200
- npx yarn run clean
201
- npx yarn install
202
- npx yarn run build
203
- npx yarn test
204
- npx yarn run publish
200
+ yarn clean
201
+ yarn install
202
+ yarn run build
203
+ yarn test
204
+ yarn run publish
205
205
```
206
206
207
207
Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"build" : " lerna run build --stream --parallel --include-filtered-dependencies" ,
9
9
"watch" : " lerna run watch --stream --parallel --include-filtered-dependencies" ,
10
- "clean" : " npx lerna clean --yes && npx lerna run clean --stream --parallel --include-filtered-dependencies " ,
10
+ "clean" : " lerna clean --yes && lerna exec 'git clean -xdf lib' && git clean -xdf node_modules " ,
11
11
"commit" : " node @commitlint/prompt-cli/cli.js" ,
12
12
"deps" : " lerna run deps" ,
13
13
"pkg" : " lerna run pkg" ,
You can’t perform that action at this time.
0 commit comments