Skip to content

Commit 3ab42f8

Browse files
Merge pull request #94 from RobotlegsJS/upgrade-dependencies
Update dependencies to latest version 🚀 closes #88 closes #89 closes #90 closes #91 closes #92 closes #93
2 parents e221787 + f2601d8 commit 3ab42f8

File tree

4 files changed

+1455
-1707
lines changed

4 files changed

+1455
-1707
lines changed

CHANGELOG.md

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

4444
## RobotlegsJS-SignalCommandMap 1.0.0
4545

46+
### [v1.0.2](https://github.com/RobotlegsJS/RobotlegsJS-SignalCommandMap/releases/tag/1.0.2) - 2019-08-15
47+
48+
#### Changed
49+
50+
- Update dev dependencies to latest version.
51+
4652
### [v1.0.1](https://github.com/RobotlegsJS/RobotlegsJS-SignalCommandMap/releases/tag/1.0.1) - 2019-03-20
4753

4854
#### Changed

karma.conf.js

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

72-
if (process.env.TRAVIS) {
73-
configuration.browsers.push("ChromeHeadless");
74-
configuration.plugins.push("karma-chrome-launcher");
75-
} else {
76-
configuration.browsers.push("ChromeHeadless");
77-
configuration.plugins.push("karma-chrome-launcher");
78-
}
63+
if (process.env.TRAVIS) {
64+
configuration.browsers.push("ChromeHeadless");
65+
configuration.plugins.push("karma-chrome-launcher");
66+
} else {
67+
configuration.browsers.push("ChromeHeadless");
68+
configuration.plugins.push("karma-chrome-launcher");
69+
}
7970

80-
config.set(configuration);
71+
config.set(configuration);
8172
};

package.json

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@
7171
"lib": "./lib"
7272
},
7373
"dependencies": {
74-
"@robotlegsjs/core": "^1.0.1",
75-
"@robotlegsjs/signals": "^1.0.1"
74+
"@robotlegsjs/core": "^1.0.2",
75+
"@robotlegsjs/signals": "^1.0.2"
7676
},
7777
"devDependencies": {
78-
"@types/bluebird": "^3.5.26",
79-
"@types/chai": "^4.1.7",
80-
"@types/mocha": "^5.2.6",
81-
"@types/sinon": "^7.0.10",
82-
"@types/webpack-env": "^1.13.9",
83-
"bluebird": "^3.5.3",
78+
"@types/bluebird": "^3.5.27",
79+
"@types/chai": "^4.2.0",
80+
"@types/mocha": "^5.2.7",
81+
"@types/sinon": "^7.0.13",
82+
"@types/webpack-env": "^1.14.0",
83+
"bluebird": "^3.5.5",
8484
"browserify-versionify": "^1.0.6",
8585
"chai": "^4.2.0",
8686
"es6-map": "^0.1.5",
@@ -89,37 +89,35 @@
8989
"imports-loader": "^0.8.0",
9090
"istanbul": "^0.4.5",
9191
"istanbul-instrumenter-loader": "^3.0.1",
92-
"karma": "^4.0.1",
93-
"karma-chrome-launcher": "^2.2.0",
94-
"karma-coverage-istanbul-reporter": "^2.0.5",
92+
"karma": "^4.2.0",
93+
"karma-chrome-launcher": "^3.1.0",
94+
"karma-coverage-istanbul-reporter": "^2.1.0",
9595
"karma-es6-shim": "^1.0.0",
9696
"karma-mocha": "^1.3.0",
9797
"karma-mocha-reporter": "^2.2.5",
98-
"karma-remap-istanbul": "^0.6.0",
9998
"karma-sinon-chai": "^2.0.2",
10099
"karma-sourcemap-loader": "^0.3.7",
101100
"karma-sourcemap-writer": "^0.1.2",
102-
"karma-webpack": "^3.0.5",
103-
"mocha": "^6.0.2",
104-
"nyc": "^13.3.0",
105-
"prettier": "^1.16.4",
106-
"publish-please": "^5.4.3",
107-
"puppeteer": "^1.13.0",
101+
"karma-webpack": "^4.0.2",
102+
"mocha": "^6.2.0",
103+
"nyc": "^14.1.1",
104+
"prettier": "^1.18.2",
105+
"publish-please": "^5.5.1",
106+
"puppeteer": "^1.19.0",
108107
"reflect-metadata": "^0.1.13",
109-
"remap-istanbul": "^0.13.0",
110-
"rimraf": "^2.6.3",
111-
"sinon": "^7.3.0",
108+
"rimraf": "^3.0.0",
109+
"sinon": "^7.4.1",
112110
"sinon-chai": "^3.3.0",
113-
"source-map-support": "^0.5.11",
114-
"ts-loader": "^5.3.3",
115-
"ts-node": "^8.0.3",
116-
"tslint": "^5.14.0",
111+
"source-map-support": "^0.5.13",
112+
"ts-loader": "^6.0.4",
113+
"ts-node": "^8.3.0",
114+
"tslint": "^5.18.0",
117115
"tslint-config-prettier": "^1.18.0",
118-
"typescript": "^3.3.4000",
119-
"uglifyjs-webpack-plugin": "^2.1.2",
120-
"webpack": "^4.29.6",
121-
"webpack-cli": "^3.3.0",
122-
"webpack-dev-server": "^3.2.1"
116+
"typescript": "^3.5.3",
117+
"uglifyjs-webpack-plugin": "^2.2.0",
118+
"webpack": "^4.39.2",
119+
"webpack-cli": "^3.3.6",
120+
"webpack-dev-server": "^3.8.0"
123121
},
124122
"peerDependencies": {}
125123
}

0 commit comments

Comments
 (0)