File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ cache:
39
39
40
40
This command is similar to ` npm-install(1) ` , except it's meant to be used in
41
41
automated environments such as test platforms, continuous integration, and
42
- deployment. It can be significantly faster than a regular npm install by
43
- skipping certain user-oriented features. It is also more strict than a regular
44
- install, which can help catch errors or inconsistencies caused by the
42
+ deployment -- or any situation where you want to make sure you're doing a clean
43
+ install of your dependencies. It can be significantly faster than a regular npm
44
+ install by skipping certain user-oriented features. It is also more strict than
45
+ a regular install, which can help catch errors or inconsistencies caused by the
45
46
incrementally-installed local environments of most npm users.
46
47
47
48
In short, the main differences between using ` npm install ` and ` npm ci ` are:
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ var shorthands = {
17
17
't' : 'test' ,
18
18
'ddp' : 'dedupe' ,
19
19
'v' : 'view' ,
20
- 'run' : 'run-script'
20
+ 'run' : 'run-script' ,
21
+ 'clean-install' : 'ci' ,
22
+ 'clean-install-test' : 'cit'
21
23
}
22
24
23
25
var affordances = {
@@ -27,6 +29,8 @@ var affordances = {
27
29
'ic' : 'ci' ,
28
30
'innit' : 'init' ,
29
31
'isntall' : 'install' ,
32
+ 'install-clean' : 'ci' ,
33
+ 'isntall-clean' : 'ci' ,
30
34
'dist-tags' : 'dist-tag' ,
31
35
'apihelp' : 'help' ,
32
36
'find-dupes' : 'dedupe' ,
@@ -46,13 +50,13 @@ var affordances = {
46
50
'rm' : 'uninstall' ,
47
51
'r' : 'uninstall' ,
48
52
'rum' : 'run-script' ,
49
- 'sit' : 'cit' ,
50
- 'urn' : 'run-script'
53
+ 'sit' : 'cit'
51
54
}
52
55
53
56
// these are filenames in .
54
57
var cmdList = [
55
58
'ci' ,
59
+ 'install-ci-test' ,
56
60
'install' ,
57
61
'install-test' ,
58
62
'uninstall' ,
You can’t perform that action at this time.
0 commit comments