File tree 3 files changed +2
-8
lines changed
3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1
1
import * as ts from "typescript" ;
2
2
3
- import * as expand from "glob-expand" ;
4
-
5
3
import * as fs from "fs" ;
6
4
import * as path from "path" ;
7
5
@@ -44,7 +42,6 @@ export function readFilesFromTsconfig(configPath: string): string[] {
44
42
45
43
interface TsConfigJSON {
46
44
files ?: string [ ] ;
47
- filesGlob ?: string [ ] ;
48
45
include ?: string [ ] ;
49
46
exclude ?: string [ ] ;
50
47
}
@@ -56,8 +53,6 @@ export function readFilesFromTsconfig(configPath: string): string[] {
56
53
} else if ( tsconfig . files ) {
57
54
let files : string [ ] = tsconfig . files ;
58
55
return files . map ( filePath => path . resolve ( tsconfigDir , filePath ) ) ;
59
- } else if ( tsconfig . filesGlob ) {
60
- return expand ( { filter : "isFile" , cwd : tsconfigDir } , tsconfig . filesGlob ) ;
61
56
} else if ( tsconfig . include || tsconfig . exclude ) {
62
57
return tsMatchFiles ( tsconfig . exclude || [ ] , tsconfig . include || [ ] ) ;
63
58
} else {
Original file line number Diff line number Diff line change 32
32
},
33
33
"dependencies" : {
34
34
"commandpost" : " ^1.0.0" ,
35
- "editorconfig" : " ^0.13.2" ,
36
- "glob-expand" : " ^0.2.1"
35
+ "editorconfig" : " ^0.13.2"
37
36
},
38
37
"peerDependencies" : {
39
38
"typescript" : " ^2.0.6 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev"
40
39
},
41
40
"devDependencies" : {
42
- "@types/glob-expand" : " ^0.0.30" ,
43
41
"@types/mkdirp" : " ^0.3.29" ,
44
42
"@types/mocha" : " ^2.2.33" ,
45
43
"@types/node" : " ^7.0.5" ,
Original file line number Diff line number Diff line change 8
8
" es2017"
9
9
],
10
10
"types" : [
11
+ " node" ,
11
12
" mocha"
12
13
],
13
14
"noImplicitAny" : true ,
You can’t perform that action at this time.
0 commit comments