Skip to content

Commit d66f085

Browse files
Merge pull request #86 from RobotlegsJS/upgrade-dependencies
Update dependencies to latest version 🚀
2 parents 10c9c50 + 727346c commit d66f085

File tree

6 files changed

+1348
-1274
lines changed

6 files changed

+1348
-1274
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ indent_size = 4
1515
indent_style = space
1616
indent_size = 2
1717

18-
[{.codeclimate.yml,.eslintignore,.eslintrc,.istanbul.yml,.publishrc,.travis.yml}]
18+
[{.auditignore,.codeclimate.yml,.eslintignore,.eslintrc,.istanbul.yml,.prettierrc,.publishrc,.travis.yml}]
1919
indent_style = space
2020
indent_size = 2

.prettierrc

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,19 @@
55
"semi": true,
66
"singleQuote": false,
77
"trailingComma": "none",
8-
"bracketSpacing": true
8+
"bracketSpacing": true,
9+
"overrides": [
10+
{
11+
"files": "*.json",
12+
"options": {
13+
"tabWidth": 2
14+
}
15+
},
16+
{
17+
"files": ".prettierrc",
18+
"options": {
19+
"tabWidth": 2
20+
}
21+
}
22+
]
923
}

.vscode/settings.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
33
"typescript.tsdk": "node_modules/typescript/lib",
4-
"tslint.configFile": "tslint.test.json"
4+
"tslint.configFile": "tslint.test.json",
5+
6+
// Set the default
7+
"editor.formatOnSave": false,
8+
9+
// Enable per-language
10+
"[html]": {
11+
"editor.formatOnSave": true
12+
},
13+
14+
"[json]": {
15+
"editor.formatOnSave": true
16+
},
17+
18+
"[javascript]": {
19+
"editor.formatOnSave": true
20+
},
21+
22+
"[typescript]": {
23+
"editor.formatOnSave": true
24+
}
525
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ Types of changes:
4141
- in case of vulnerabilities.
4242
-->
4343

44+
#### Changed
45+
46+
- Improve `prettier` rules and `autoformat` script (see #86).
47+
48+
- Enable `"editor.formatOnSave"` rule for `VS Code` (see #86).
49+
50+
- Update dev dependencies to latest version.
51+
4452
## RobotlegsJS-SignalCommandMap 1.0.0
4553

4654
### [v1.0.0](https://github.com/RobotlegsJS/RobotlegsJS-SignalCommandMap/releases/tag/1.0.0) - 2018-11-25

package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"test": "nyc mocha",
99
"karma": "karma start --single-run",
10-
"autoformat": "prettier --config .prettierrc --write {src,test}/**/*.ts",
10+
"autoformat": "prettier --config .prettierrc --write --list-different \"{src,static,test,example,definitions}{/**/,/}*.{html,css,js,json,ts}\"",
1111
"tslint-check:src": "tslint-config-prettier-check ./tslint.json",
1212
"tslint-check:test": "tslint-config-prettier-check ./tslint.test.json",
1313
"tslint:src": "tslint --project tsconfig.json",
@@ -75,11 +75,11 @@
7575
"@robotlegsjs/signals": "^1.0.0"
7676
},
7777
"devDependencies": {
78-
"@types/bluebird": "^3.5.24",
78+
"@types/bluebird": "^3.5.26",
7979
"@types/chai": "^4.1.7",
80-
"@types/mocha": "^5.2.5",
81-
"@types/sinon": "^5.0.7",
82-
"@types/webpack-env": "^1.13.6",
80+
"@types/mocha": "^5.2.6",
81+
"@types/sinon": "^7.0.10",
82+
"@types/webpack-env": "^1.13.9",
8383
"bluebird": "^3.5.3",
8484
"browserify-versionify": "^1.0.6",
8585
"chai": "^4.2.0",
@@ -89,9 +89,9 @@
8989
"imports-loader": "^0.8.0",
9090
"istanbul": "^0.4.5",
9191
"istanbul-instrumenter-loader": "^3.0.1",
92-
"karma": "^3.1.1",
92+
"karma": "^4.0.1",
9393
"karma-chrome-launcher": "^2.2.0",
94-
"karma-coverage-istanbul-reporter": "^2.0.4",
94+
"karma-coverage-istanbul-reporter": "^2.0.5",
9595
"karma-es6-shim": "^1.0.0",
9696
"karma-mocha": "^1.3.0",
9797
"karma-mocha-reporter": "^2.2.5",
@@ -100,26 +100,26 @@
100100
"karma-sourcemap-loader": "^0.3.7",
101101
"karma-sourcemap-writer": "^0.1.2",
102102
"karma-webpack": "^3.0.5",
103-
"mocha": "^5.2.0",
104-
"nyc": "^13.1.0",
105-
"prettier": "^1.15.2",
106-
"publish-please": "^5.4.0",
107-
"puppeteer": "^1.10.0",
108-
"reflect-metadata": "^0.1.12",
109-
"remap-istanbul": "^0.12.0",
110-
"rimraf": "^2.6.2",
111-
"sinon": "^7.1.1",
112-
"sinon-chai": "^3.2.0",
113-
"source-map-support": "^0.5.9",
114-
"ts-loader": "^5.3.0",
115-
"ts-node": "^7.0.1",
116-
"tslint": "^5.11.0",
117-
"tslint-config-prettier": "^1.16.0",
118-
"typescript": "^3.1.6",
119-
"uglifyjs-webpack-plugin": "^2.0.1",
120-
"webpack": "^4.26.0",
121-
"webpack-cli": "^3.1.2",
122-
"webpack-dev-server": "^3.1.10"
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",
108+
"reflect-metadata": "^0.1.13",
109+
"remap-istanbul": "^0.13.0",
110+
"rimraf": "^2.6.3",
111+
"sinon": "^7.2.7",
112+
"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",
117+
"tslint-config-prettier": "^1.18.0",
118+
"typescript": "^3.3.3333",
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"
123123
},
124124
"peerDependencies": {}
125125
}

0 commit comments

Comments
 (0)