Skip to content

Commit 5074b91

Browse files
Merge pull request #97 from RobotlegsJS/update-istanbul
Update Istanbul Settings
2 parents aeb5604 + dc7befb commit 5074b91

File tree

5 files changed

+23
-112
lines changed

5 files changed

+23
-112
lines changed

.publishrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"validations": {
3-
"vulnerableDependencies": true,
3+
"vulnerableDependencies": false,
44
"uncommittedChanges": true,
55
"untrackedFiles": true,
66
"sensitiveData": true,

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Types of changes:
4343

4444
#### Changed
4545

46+
- Update `instanbul` settings (see #97).
47+
4648
- Migrate project to `travis-ci.com`.
4749

4850
- Update `codebeat` Project UUID.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"publish-please": "npm run tslint && npm run autoformat && npm run clean-up && npm run test && publish-please"
2424
},
2525
"nyc": {
26+
"extends": "@istanbuljs/nyc-config-typescript",
2627
"include": [
2728
"src/**/*.ts"
2829
],
@@ -39,6 +40,7 @@
3940
"text-summary",
4041
"lcov"
4142
],
43+
"check-coverage": true,
4244
"sourceMap": true,
4345
"instrument": true
4446
},
@@ -75,6 +77,7 @@
7577
"@robotlegsjs/signals": "^1.0.2"
7678
},
7779
"devDependencies": {
80+
"@istanbuljs/nyc-config-typescript": "^0.1.3",
7881
"@types/bluebird": "^3.5.28",
7982
"@types/chai": "^4.2.3",
8083
"@types/mocha": "^5.2.7",
@@ -87,7 +90,6 @@
8790
"es6-symbol": "^3.1.2",
8891
"glslify": "^7.0.0",
8992
"imports-loader": "^0.8.0",
90-
"istanbul": "^0.4.5",
9193
"istanbul-instrumenter-loader": "^3.0.1",
9294
"karma": "^4.4.1",
9395
"karma-chrome-launcher": "^3.1.0",

test/mocha.opts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
--require ts-node/register
22
--require source-map-support/register
3+
--recursive
34
--full-trace
45
--bail
56
node_modules/reflect-metadata/Reflect.js

yarn.lock

Lines changed: 16 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@
9696
dependencies:
9797
commander "^2.15.1"
9898

99+
"@istanbuljs/nyc-config-typescript@^0.1.3":
100+
version "0.1.3"
101+
resolved "https://registry.npmjs.org/@istanbuljs/nyc-config-typescript/-/nyc-config-typescript-0.1.3.tgz#944d15b3ebdb71f963a628daffaa25ade981bb86"
102+
integrity sha512-EzRFg92bRSD1W/zeuNkeGwph0nkWf+pP2l/lYW4/5hav7RjKKBN5kV1Ix7Tvi0CMu3pC4Wi/U7rNisiJMR3ORg==
103+
99104
"@robotlegsjs/core@^1.0.2":
100105
version "1.0.2"
101106
resolved "https://registry.npmjs.org/@robotlegsjs/core/-/core-1.0.2.tgz#084aa26bbea00b9659bc11dae3e1925f25210c9f"
@@ -350,11 +355,6 @@ abbrev@1:
350355
resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
351356
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
352357

353-
abbrev@1.0.x:
354-
version "1.0.9"
355-
resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135"
356-
integrity sha1-kbR5JYinc4wl813W9jdSovh3YTU=
357-
358358
accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7:
359359
version "1.3.7"
360360
resolved "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
@@ -415,11 +415,6 @@ ajv@^6.1.0, ajv@^6.10.2:
415415
json-schema-traverse "^0.4.1"
416416
uri-js "^4.2.2"
417417

418-
amdefine@>=0.0.4:
419-
version "1.0.1"
420-
resolved "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5"
421-
integrity sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=
422-
423418
ansi-colors@3.2.3:
424419
version "3.2.3"
425420
resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813"
@@ -614,11 +609,6 @@ async-limiter@~1.0.0:
614609
resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
615610
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
616611

617-
async@1.x:
618-
version "1.5.2"
619-
resolved "https://registry.npmjs.org/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
620-
integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=
621-
622612
async@^2.6.2:
623613
version "2.6.3"
624614
resolved "https://registry.npmjs.org/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
@@ -2029,18 +2019,6 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1
20292019
resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
20302020
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
20312021

2032-
escodegen@1.8.x:
2033-
version "1.8.1"
2034-
resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz#5a5b53af4693110bebb0867aa3430dd3b70a1018"
2035-
integrity sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=
2036-
dependencies:
2037-
esprima "^2.7.1"
2038-
estraverse "^1.9.1"
2039-
esutils "^2.0.2"
2040-
optionator "^0.8.1"
2041-
optionalDependencies:
2042-
source-map "~0.2.0"
2043-
20442022
escodegen@^1.8.1:
20452023
version "1.12.0"
20462024
resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.12.0.tgz#f763daf840af172bb3a2b6dd7219c0e17f7ff541"
@@ -2061,11 +2039,6 @@ eslint-scope@^4.0.3:
20612039
esrecurse "^4.1.0"
20622040
estraverse "^4.1.1"
20632041

2064-
esprima@2.7.x, esprima@^2.7.1:
2065-
version "2.7.3"
2066-
resolved "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581"
2067-
integrity sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=
2068-
20692042
esprima@^3.1.3:
20702043
version "3.1.3"
20712044
resolved "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
@@ -2083,11 +2056,6 @@ esrecurse@^4.1.0:
20832056
dependencies:
20842057
estraverse "^4.1.0"
20852058

2086-
estraverse@^1.9.1:
2087-
version "1.9.3"
2088-
resolved "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44"
2089-
integrity sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=
2090-
20912059
estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0:
20922060
version "4.3.0"
20932061
resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
@@ -2587,17 +2555,6 @@ glob@7.1.3:
25872555
once "^1.3.0"
25882556
path-is-absolute "^1.0.0"
25892557

2590-
glob@^5.0.15:
2591-
version "5.0.15"
2592-
resolved "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1"
2593-
integrity sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=
2594-
dependencies:
2595-
inflight "^1.0.4"
2596-
inherits "2"
2597-
minimatch "2 || 3"
2598-
once "^1.3.0"
2599-
path-is-absolute "^1.0.0"
2600-
26012558
glob@^7.0.3, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4:
26022559
version "7.1.4"
26032560
resolved "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
@@ -2809,7 +2766,7 @@ handle-thing@^2.0.0:
28092766
resolved "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz#0e039695ff50c93fc288557d696f3c1dc6776754"
28102767
integrity sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ==
28112768

2812-
handlebars@^4.0.1, handlebars@^4.1.2:
2769+
handlebars@^4.1.2:
28132770
version "4.4.3"
28142771
resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.4.3.tgz#180bae52c1d0e9ec0c15d7e82a4362d662762f6e"
28152772
integrity sha512-B0W4A2U1ww3q7VVthTKfh+epHx+q4mCt6iK+zEAzbMBpWQAwxCeKxEGpj/1oQTpzPXDNSOG7hmG14TsISH50yw==
@@ -2839,11 +2796,6 @@ has-cors@1.1.0:
28392796
resolved "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz#5e474793f7ea9843d1bb99c23eef49ff126fff39"
28402797
integrity sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=
28412798

2842-
has-flag@^1.0.0:
2843-
version "1.0.0"
2844-
resolved "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
2845-
integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=
2846-
28472799
has-flag@^3.0.0:
28482800
version "3.0.0"
28492801
resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
@@ -3549,26 +3501,6 @@ istanbul-reports@^2.2.4:
35493501
dependencies:
35503502
handlebars "^4.1.2"
35513503

3552-
istanbul@^0.4.5:
3553-
version "0.4.5"
3554-
resolved "https://registry.npmjs.org/istanbul/-/istanbul-0.4.5.tgz#65c7d73d4c4da84d4f3ac310b918fb0b8033733b"
3555-
integrity sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs=
3556-
dependencies:
3557-
abbrev "1.0.x"
3558-
async "1.x"
3559-
escodegen "1.8.x"
3560-
esprima "2.7.x"
3561-
glob "^5.0.15"
3562-
handlebars "^4.0.1"
3563-
js-yaml "3.x"
3564-
mkdirp "0.5.x"
3565-
nopt "3.x"
3566-
once "1.x"
3567-
resolve "1.1.x"
3568-
supports-color "^3.1.0"
3569-
which "^1.1.1"
3570-
wordwrap "^1.0.0"
3571-
35723504
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
35733505
version "4.0.0"
35743506
resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -3579,7 +3511,7 @@ js-tokens@^3.0.2:
35793511
resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
35803512
integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=
35813513

3582-
js-yaml@3.13.1, js-yaml@3.x, js-yaml@^3.13.1:
3514+
js-yaml@3.13.1, js-yaml@^3.13.1:
35833515
version "3.13.1"
35843516
resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
35853517
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
@@ -4074,7 +4006,7 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
40744006
resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
40754007
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
40764008

4077-
"minimatch@2 || 3", minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
4009+
minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
40784010
version "3.0.4"
40794011
resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
40804012
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
@@ -4135,7 +4067,7 @@ mixin-deep@^1.2.0:
41354067
for-in "^1.0.2"
41364068
is-extendable "^1.0.1"
41374069

4138-
mkdirp@0.5.1, mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1:
4070+
mkdirp@0.5.1, mkdirp@^0.5.0, mkdirp@^0.5.1:
41394071
version "0.5.1"
41404072
resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
41414073
integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
@@ -4353,13 +4285,6 @@ node-pre-gyp@^0.12.0:
43534285
semver "^5.3.0"
43544286
tar "^4"
43554287

4356-
nopt@3.x:
4357-
version "3.0.6"
4358-
resolved "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9"
4359-
integrity sha1-xkZdvwirzU2zWTF/eaxopkayj/k=
4360-
dependencies:
4361-
abbrev "1"
4362-
43634288
nopt@^4.0.1:
43644289
version "4.0.1"
43654290
resolved "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d"
@@ -4539,7 +4464,7 @@ on-headers@~1.0.2:
45394464
resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f"
45404465
integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==
45414466

4542-
once@1.x, once@^1.3.0, once@^1.3.1, once@^1.4.0:
4467+
once@^1.3.0, once@^1.3.1, once@^1.4.0:
45434468
version "1.4.0"
45444469
resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
45454470
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
@@ -5259,11 +5184,6 @@ resolve-url@^0.2.1:
52595184
resolved "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
52605185
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
52615186

5262-
resolve@1.1.x:
5263-
version "1.1.7"
5264-
resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
5265-
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
5266-
52675187
resolve@^0.6.1:
52685188
version "0.6.3"
52695189
resolved "https://registry.npmjs.org/resolve/-/resolve-0.6.3.tgz#dd957982e7e736debdf53b58a4dd91754575dd46"
@@ -5697,13 +5617,6 @@ source-map@^0.7.3:
56975617
resolved "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
56985618
integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
56995619

5700-
source-map@~0.2.0:
5701-
version "0.2.0"
5702-
resolved "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz#dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d"
5703-
integrity sha1-2rc/vPwrqBm03gO9b26qSBZLP50=
5704-
dependencies:
5705-
amdefine ">=0.0.4"
5706-
57075620
spawn-wrap@^1.4.2:
57085621
version "1.4.3"
57095622
resolved "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-1.4.3.tgz#81b7670e170cca247d80bf5faf0cfb713bdcf848"
@@ -5968,13 +5881,6 @@ supports-color@^2.0.0:
59685881
resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
59695882
integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=
59705883

5971-
supports-color@^3.1.0:
5972-
version "3.2.3"
5973-
resolved "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6"
5974-
integrity sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=
5975-
dependencies:
5976-
has-flag "^1.0.0"
5977-
59785884
supports-color@^5.3.0, supports-color@^5.5.0:
59795885
version "5.5.0"
59805886
resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
@@ -6562,7 +6468,7 @@ which-module@^2.0.0:
65626468
resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
65636469
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
65646470

6565-
which@1.3.1, which@^1.1.1, which@^1.2.1, which@^1.2.14, which@^1.2.8, which@^1.2.9, which@^1.3.0, which@^1.3.1:
6471+
which@1.3.1, which@^1.2.1, which@^1.2.14, which@^1.2.8, which@^1.2.9, which@^1.3.0, which@^1.3.1:
65666472
version "1.3.1"
65676473
resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
65686474
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
@@ -6576,16 +6482,16 @@ wide-align@1.1.3, wide-align@^1.1.0:
65766482
dependencies:
65776483
string-width "^1.0.2 || 2"
65786484

6579-
wordwrap@^1.0.0, wordwrap@~1.0.0:
6580-
version "1.0.0"
6581-
resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
6582-
integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=
6583-
65846485
wordwrap@~0.0.2:
65856486
version "0.0.3"
65866487
resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
65876488
integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc=
65886489

6490+
wordwrap@~1.0.0:
6491+
version "1.0.0"
6492+
resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
6493+
integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=
6494+
65896495
worker-farm@^1.7.0:
65906496
version "1.7.0"
65916497
resolved "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8"

0 commit comments

Comments
 (0)