File tree Expand file tree Collapse file tree 4 files changed +1527
-1511
lines changed Expand file tree Collapse file tree 4 files changed +1527
-1511
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ node_js:
11
11
before_script :
12
12
- npm prune
13
13
script :
14
- - yarn add jest
15
14
- yarn run test -- --coverage --outputFile test-results.json --json
16
15
- yarn run lint
17
16
- yarn run build
18
- - yarn run danger
17
+ - npx danger ci
19
18
- rm -f test-results.json
20
19
after_success :
21
20
- npm run semantic-release
Original file line number Diff line number Diff line change 36
36
"strip-ansi" : " ^4.0.0"
37
37
},
38
38
"devDependencies" : {
39
- "@types/jest" : " ^21.1.2 " ,
39
+ "@types/jest" : " ^24.0.15 " ,
40
40
"@types/node" : " ^8.0.37" ,
41
- "danger" : " ^2 .0.0-alpha.19 " ,
41
+ "danger" : " ^9 .0.3 " ,
42
42
"eslint" : " ^6.0.1" ,
43
43
"eslint-config-macklinu" : " ^2.0.1" ,
44
44
"husky" : " ^0.14.3" ,
45
- "jest" : " ^21.2.1 " ,
45
+ "jest" : " ^24.8.0 " ,
46
46
"lint-staged" : " ^4.2.3" ,
47
47
"prettier" : " ^1.18.2" ,
48
48
"semantic-release" : " ^6.3.6" ,
49
- "ts-jest" : " ^21.1 .2" ,
49
+ "ts-jest" : " ^24.0 .2" ,
50
50
"typescript" : " ^3.5.3" ,
51
51
"validate-commit-msg" : " ^2.12.1"
52
52
},
53
53
"jest" : {
54
- "testRegex" : " .*\\ .test\\ .ts$" ,
55
- "transform" : {
56
- ".(ts|tsx)" : " <rootDir>/node_modules/ts-jest/preprocessor.js"
57
- },
58
- "moduleFileExtensions" : [
59
- " ts" ,
60
- " js"
61
- ]
54
+ "preset" : " ts-jest"
62
55
},
63
56
"lint-staged" : {
64
57
"src/**/*.ts" : [
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ beforeEach(() => {
21
21
} ,
22
22
} ,
23
23
utils : {
24
- fileLinks : a => a ,
24
+ fileLinks : ( a : any ) => a ,
25
25
} ,
26
26
} ,
27
27
}
You can’t perform that action at this time.
0 commit comments