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 11language : node_js
22sudo : false
33node_js :
4- - 6
5- - 7
64 - 8
75 - 9
86 - 10
7+ - 11
8+ - 12
9+ - 13
10+ - 14
11+ - 15
912
1013os :
1114 - linux
Original file line number Diff line number Diff line change 1010commands, providing an easy solution for simple Unix-like, cross-platform
1111commands in npm package scripts.
1212
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 --> !
1414
1515## Difference Between ShellJS and shx
1616
Original file line number Diff line number Diff line change 11environment :
22 matrix :
3+ - nodejs_version : ' 15'
4+ - nodejs_version : ' 14'
5+ - nodejs_version : ' 13'
6+ - nodejs_version : ' 12'
7+ - nodejs_version : ' 11'
38 - nodejs_version : ' 10'
49 - nodejs_version : ' 9'
510 - nodejs_version : ' 8'
6- - nodejs_version : ' 7'
7- - nodejs_version : ' 6'
811
912version : ' {build}'
1013
Original file line number Diff line number Diff line change 7575 "shelljs" : " ^0.8.4"
7676 },
7777 "engines" : {
78- "node" : " >=6 "
78+ "node" : " >=8 "
7979 }
8080}
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ var yaml = require('js-yaml');
88var shell = require ( 'shelljs' ) ;
99
1010// 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 ;
1313
1414function checkReadme ( minNodeVersion ) {
1515 var start = '<!-- start minVersion -->' ;
7878 var appveyorFileName = path . join ( __dirname , '..' , 'appveyor.yml' ) ;
7979 var appveyorYaml = yaml . safeLoad ( shell . cat ( appveyorFileName ) ) ;
8080 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 + ')!' ) ;
8183} catch ( e ) {
8284 console . error ( 'Please check the files which declare our Node version' ) ;
8385 console . error ( 'support, as something is out-of-sync. This script failed' ) ;
You can’t perform that action at this time.
0 commit comments