Skip to content

Commit

Permalink
chore(packages): upgrade packages and add global outdated command (#1845
Browse files Browse the repository at this point in the history
)

- adds `npm run outdated` to our scripts that ensures every package in the monorepo is checked for outdated npm packages.
- upgrade nan for node 12 support
- upgrade debug and promirepl (no major changes)
- upgrade mocha and nyc
  • Loading branch information
reconbot authored Apr 26, 2019
1 parent 00dc272 commit e883f3b
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .generators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"main": "lib/{{dashCase name}}.js",
"dependencies": {
"debug": "^4.1.0"
"debug": "^4.1.1"
},
"engines": {
"node": ">=6.0.0"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"format": "eslint packages test --fix",
"generate": "plop",
"lint": "eslint packages test && lerna run --stream lint",
"outdated": "lerna exec --no-bail npm outdated && npm outdated",
"postinstall": "lerna bootstrap --no-ci",
"prebuild": "lerna run --stream prebuild",
"publish": "lerna publish",
Expand All @@ -35,7 +36,6 @@
],
"dependencies": {},
"devDependencies": {
"bluebird": "^3.5.2",
"cc": "^1.0.1",
"chai": "^4.0.2",
"chai-subset": "^1.5.0",
Expand All @@ -48,8 +48,8 @@
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.12.4",
"lerna": "^3.10.7",
"mocha": "^5.2.0",
"nyc": "^13.2.0",
"mocha": "^6.1.4",
"nyc": "^14.0.0",
"plop": "^2.2.0",
"prebuild": "^8.1.2",
"prettier": "^1.16.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/binding-abstract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"serialport-binding"
],
"dependencies": {
"debug": "^4.1.0"
"debug": "^4.1.1"
},
"engines": {
"node": ">=6.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/binding-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@serialport/binding-abstract": "^2.0.4",
"debug": "^4.1.0"
"debug": "^4.1.1"
},
"engines": {
"node": ">=6.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"@serialport/binding-abstract": "^2.0.4",
"@serialport/parser-readline": "^2.0.2",
"bindings": "^1.3.0",
"debug": "^4.1.0",
"nan": "^2.12.1",
"debug": "^4.1.1",
"nan": "^2.13.2",
"prebuild-install": "^5.2.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"serialport-repl": "./lib/repl.js"
},
"dependencies": {
"promirepl": "^1.0.1",
"promirepl": "^2.0.1",
"serialport": "^7.1.4"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/serialport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@serialport/parser-ready": "^2.0.2",
"@serialport/parser-regex": "^2.0.2",
"@serialport/stream": "^2.0.4",
"debug": "^4.1.0"
"debug": "^4.1.1"
},
"engines": {
"node": ">=6.0.0"
Expand Down
3 changes: 1 addition & 2 deletions packages/serialport/test-manual/many-writes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@


const SerialPort = require('../../');
const Promise = require('bluebird');
const fs = require('fs');
const Path = require('path');

Expand Down Expand Up @@ -101,7 +100,7 @@ findArduino()
})
.then((port) => {
console.log('delaying 3 seconds');
return Promise.delay(3000, port);
return new Promise(resolve => setTimeout(() => resolve(port), 3000));
})
.then(writeAllCommands) // broken?
// .then(writeOneCommandAtATime)
Expand Down
2 changes: 1 addition & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "stream.js",
"dependencies": {
"@serialport/binding-mock": "^2.0.4",
"debug": "^4.1.0"
"debug": "^4.1.1"
},
"engines": {
"node": ">=6.0.0"
Expand Down
4 changes: 0 additions & 4 deletions test/initializers/bluebird.js

This file was deleted.

0 comments on commit e883f3b

Please sign in to comment.