Skip to content

Commit f6ccacf

Browse files
Merge pull request #114 from RobotlegsJS/upgrade-dependencies
Update dependencies to latest version 🚀 fix #112 fix #113
2 parents 2a906eb + c5babda commit f6ccacf

File tree

4 files changed

+1175
-1684
lines changed

4 files changed

+1175
-1684
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ Types of changes:
4545

4646
## Signals 1.0.0
4747

48+
### [v1.0.3](https://github.com/RobotlegsJS/SignalsJS/releases/tag/1.0.3) - 2019-08-15
49+
50+
#### Changed
51+
52+
- Update dev dependencies to latest version.
53+
4854
### [v1.0.2](https://github.com/RobotlegsJS/SignalsJS/releases/tag/1.0.2) - 2019-07-18
4955

5056
#### Changed

karma.conf.js

Lines changed: 53 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const puppeteer = require('puppeteer');
1+
const puppeteer = require("puppeteer");
22

33
process.env.TEST = true;
44
process.env.NODE_ENV = "test";
@@ -9,71 +9,59 @@ const webpackConfig = require("./webpack.config.js")({ production: false, karma:
99
delete webpackConfig.entry;
1010

1111
module.exports = config => {
12-
"use strict";
12+
"use strict";
1313

14-
var configuration = {
15-
basePath: "",
16-
frameworks: [
17-
"mocha",
18-
"sinon-chai",
19-
"es6-shim"
20-
],
21-
files: [
22-
{ pattern: "./test/index.ts", include: true },
23-
{ pattern: '**/*.map', served: true, included: false, watched: true }
24-
],
25-
preprocessors: {
26-
"./test/index.ts": ["webpack"],
27-
"./**/**/**/**.ts": ["sourcemap"]
28-
},
29-
webpack: webpackConfig,
30-
webpackMiddleware: {
31-
noInfo: true
32-
},
33-
plugins: [
34-
"karma-webpack",
35-
"karma-sourcemap-writer",
36-
"karma-sourcemap-loader",
37-
"karma-remap-istanbul",
38-
"karma-mocha-reporter",
39-
"karma-mocha",
40-
"karma-sinon-chai",
41-
"karma-es6-shim",
42-
"karma-coverage-istanbul-reporter"
43-
],
44-
mime: {
45-
"text/x-typescript": ["ts","tsx"]
46-
},
47-
reporters: (
48-
config.singleRun ?
49-
["dots", "mocha", "coverage-istanbul"] :
50-
["dots", "mocha"]
51-
),
52-
coverageIstanbulReporter: {
53-
reports: ["html", "lcov", "lcovonly", "text-summary"],
54-
dir: "coverage",
55-
fixWebpackSourcePaths: true,
56-
"report-config": {
57-
html: {
58-
subdir: "html-report"
59-
}
60-
}
61-
},
62-
port: 9876,
63-
colors: true,
64-
logLevel: config.LOG_INFO,
65-
autoWatch: true,
66-
browsers: [],
67-
browserNoActivityTimeout: 50000
68-
};
14+
var configuration = {
15+
basePath: "",
16+
frameworks: ["mocha", "sinon-chai", "es6-shim"],
17+
files: [{ pattern: "./test/index.ts", include: true }, { pattern: "**/*.map", served: true, included: false, watched: true }],
18+
preprocessors: {
19+
"./test/index.ts": ["webpack"],
20+
"./**/**/**/**.ts": ["sourcemap"]
21+
},
22+
webpack: webpackConfig,
23+
webpackMiddleware: {
24+
noInfo: true
25+
},
26+
plugins: [
27+
"karma-webpack",
28+
"karma-sourcemap-writer",
29+
"karma-sourcemap-loader",
30+
"karma-mocha-reporter",
31+
"karma-mocha",
32+
"karma-sinon-chai",
33+
"karma-es6-shim",
34+
"karma-coverage-istanbul-reporter"
35+
],
36+
mime: {
37+
"text/x-typescript": ["ts", "tsx"]
38+
},
39+
reporters: config.singleRun ? ["dots", "mocha", "coverage-istanbul"] : ["dots", "mocha"],
40+
coverageIstanbulReporter: {
41+
reports: ["html", "lcov", "lcovonly", "text-summary"],
42+
dir: "coverage",
43+
fixWebpackSourcePaths: true,
44+
"report-config": {
45+
html: {
46+
subdir: "html-report"
47+
}
48+
}
49+
},
50+
port: 9876,
51+
colors: true,
52+
logLevel: config.LOG_INFO,
53+
autoWatch: true,
54+
browsers: [],
55+
browserNoActivityTimeout: 50000
56+
};
6957

70-
if (process.env.TRAVIS) {
71-
configuration.browsers.push("ChromeHeadless");
72-
configuration.plugins.push("karma-chrome-launcher");
73-
} else {
74-
configuration.browsers.push("ChromeHeadless");
75-
configuration.plugins.push("karma-chrome-launcher");
76-
}
58+
if (process.env.TRAVIS) {
59+
configuration.browsers.push("ChromeHeadless");
60+
configuration.plugins.push("karma-chrome-launcher");
61+
} else {
62+
configuration.browsers.push("ChromeHeadless");
63+
configuration.plugins.push("karma-chrome-launcher");
64+
}
7765

78-
config.set(configuration);
66+
config.set(configuration);
7967
};

package.json

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
},
7575
"devDependencies": {
7676
"@types/bluebird": "^3.5.27",
77-
"@types/chai": "^4.1.7",
77+
"@types/chai": "^4.2.0",
7878
"@types/mocha": "^5.2.7",
7979
"@types/sinon": "^7.0.13",
8080
"@types/webpack-env": "^1.14.0",
@@ -89,35 +89,33 @@
8989
"istanbul-instrumenter-loader": "^3.0.1",
9090
"karma": "^4.2.0",
9191
"karma-chai-sinon": "^0.1.5",
92-
"karma-chrome-launcher": "^3.0.0",
93-
"karma-coverage-istanbul-reporter": "^2.0.5",
92+
"karma-chrome-launcher": "^3.1.0",
93+
"karma-coverage-istanbul-reporter": "^2.1.0",
9494
"karma-es6-shim": "^1.0.0",
9595
"karma-mocha": "^1.3.0",
9696
"karma-mocha-reporter": "^2.2.5",
97-
"karma-remap-istanbul": "^0.6.0",
9897
"karma-sinon-chai": "^2.0.2",
9998
"karma-sourcemap-loader": "^0.3.7",
10099
"karma-sourcemap-writer": "^0.1.2",
101100
"karma-webpack": "^4.0.2",
102-
"mocha": "^6.1.4",
101+
"mocha": "^6.2.0",
103102
"nyc": "^14.1.1",
104103
"prettier": "^1.18.2",
105-
"publish-please": "^5.5.0",
106-
"puppeteer": "^1.18.1",
104+
"publish-please": "^5.5.1",
105+
"puppeteer": "^1.19.0",
107106
"reflect-metadata": "^0.1.13",
108-
"remap-istanbul": "^0.13.0",
109-
"rimraf": "^2.6.3",
110-
"sinon": "^7.3.2",
107+
"rimraf": "^3.0.0",
108+
"sinon": "^7.4.1",
111109
"sinon-chai": "^3.3.0",
112-
"source-map-support": "^0.5.12",
110+
"source-map-support": "^0.5.13",
113111
"ts-loader": "^6.0.4",
114112
"ts-node": "^8.3.0",
115113
"tslint": "^5.18.0",
116114
"tslint-config-prettier": "^1.18.0",
117115
"typescript": "^3.5.3",
118-
"uglifyjs-webpack-plugin": "^2.1.3",
119-
"webpack": "^4.36.1",
116+
"uglifyjs-webpack-plugin": "^2.2.0",
117+
"webpack": "^4.39.2",
120118
"webpack-cli": "^3.3.6",
121-
"webpack-dev-server": "^3.7.2"
119+
"webpack-dev-server": "^3.8.0"
122120
}
123121
}

0 commit comments

Comments
 (0)