File tree Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
sudo : false
3
3
node_js :
4
- - 6
5
- - 7
6
4
- 8
7
5
- 9
8
6
- 10
7
+ - 11
8
+ - 12
9
+ - 13
10
+ - 14
11
+ - 15
9
12
10
13
os :
11
14
- linux
Original file line number Diff line number Diff line change 10
10
commands, providing an easy solution for simple Unix-like, cross-platform
11
11
commands in npm package scripts.
12
12
13
- ` shx ` is proudly tested on every node release since <!-- start minVersion --> ` v6 ` <!-- stop minVersion --> !
13
+ ` shx ` is proudly tested on every node release since <!-- start minVersion --> ` v8 ` <!-- stop minVersion --> !
14
14
15
15
## Difference Between ShellJS and shx
16
16
Original file line number Diff line number Diff line change 1
1
environment :
2
2
matrix :
3
+ - nodejs_version : ' 15'
4
+ - nodejs_version : ' 14'
5
+ - nodejs_version : ' 13'
6
+ - nodejs_version : ' 12'
7
+ - nodejs_version : ' 11'
3
8
- nodejs_version : ' 10'
4
9
- nodejs_version : ' 9'
5
10
- nodejs_version : ' 8'
6
- - nodejs_version : ' 7'
7
- - nodejs_version : ' 6'
8
11
9
12
version : ' {build}'
10
13
Original file line number Diff line number Diff line change 75
75
"shelljs" : " ^0.8.4"
76
76
},
77
77
"engines" : {
78
- "node" : " >=6 "
78
+ "node" : " >=8 "
79
79
}
80
80
}
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ var yaml = require('js-yaml');
8
8
var shell = require ( 'shelljs' ) ;
9
9
10
10
// This is the authoritative list of supported node versions.
11
- var MIN_NODE_VERSION = 6 ;
12
- var MAX_NODE_VERSION = 10 ;
11
+ var MIN_NODE_VERSION = 8 ;
12
+ var MAX_NODE_VERSION = 15 ;
13
13
14
14
function checkReadme ( minNodeVersion ) {
15
15
var start = '<!-- start minVersion -->' ;
78
78
var appveyorFileName = path . join ( __dirname , '..' , 'appveyor.yml' ) ;
79
79
var appveyorYaml = yaml . safeLoad ( shell . cat ( appveyorFileName ) ) ;
80
80
checkAppveyor ( MIN_NODE_VERSION , MAX_NODE_VERSION , appveyorYaml ) ;
81
+ console . log ( 'All files look good (this project supports v' +
82
+ MIN_NODE_VERSION + '-v' + MAX_NODE_VERSION + ')!' ) ;
81
83
} catch ( e ) {
82
84
console . error ( 'Please check the files which declare our Node version' ) ;
83
85
console . error ( 'support, as something is out-of-sync. This script failed' ) ;
You can’t perform that action at this time.
0 commit comments