Skip to content

Commit

Permalink
chore: cleanup package.json's (#2223)
Browse files Browse the repository at this point in the history
- Remove the post install in serialport and switch to the funding property
- Update the engines field as we don't support node 8 anymore, only node >= 10.0.0
  • Loading branch information
reconbot authored Feb 22, 2021
1 parent b371a2c commit 397eecc
Show file tree
Hide file tree
Showing 21 changed files with 60 additions and 51 deletions.
5 changes: 3 additions & 2 deletions .generators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"debug": "^4.3.1"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -15,5 +15,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.0",
"description": "Node.js packages to access serial ports, process data from them and speak many protocols",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"license": "MIT",
"scripts": {
Expand All @@ -25,13 +25,6 @@
"type": "git",
"url": "git://github.com/node-serialport/node-serialport.git"
},
"maintainers": [
{
"name": "Francis Gulotta",
"email": "[email protected]",
"url": "https://www.roborooter.com"
}
],
"devDependencies": {
"cc": "^3.0.1",
"chai": "^4.3.0",
Expand All @@ -53,5 +46,6 @@
"prettier": "^2.2.1",
"proxyquire": "^2.1.3",
"sinon": "^9.2.4"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/binding-abstract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"debug": "^4.3.1"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -18,5 +18,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/binding-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"debug": "^4.3.1"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -19,5 +19,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"node-abi": "^2.19.3"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"scripts": {
"install": "prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild",
Expand All @@ -45,5 +45,6 @@
"src/*.h"
],
"linelength": "120"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"commander": "^7.1.0"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -19,5 +19,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-byte-length/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "9.0.1",
"main": "lib",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -12,5 +12,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-cctalk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "9.0.1",
"main": "lib",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -12,5 +12,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-delimiter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "lib",
"version": "9.0.1",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -12,5 +12,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-inter-byte-timeout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "9.0.1",
"main": "lib",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -12,5 +12,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-readline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@serialport/parser-delimiter": "^9.0.1"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -15,5 +15,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-ready/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "lib",
"version": "9.0.1",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -12,5 +12,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-regex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "lib",
"version": "9.0.1",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -12,5 +12,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-slip-encoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "lib",
"version": "9.0.1",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -12,5 +12,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/parser-spacepacket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "lib",
"version": "9.0.5",
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -12,5 +12,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"serialport": "^9.0.6"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -19,5 +19,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
6 changes: 2 additions & 4 deletions packages/serialport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,9 @@
"debug": "^4.3.1"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"license": "MIT",
"scripts": {
"postinstall": "node thank-you.js"
},
"funding": "https://opencollective.com/serialport/donate",
"preferUnplugged": false
}
3 changes: 0 additions & 3 deletions packages/serialport/thank-you.js

This file was deleted.

5 changes: 3 additions & 2 deletions packages/stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@serialport/binding-mock": "^9.0.2"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -18,5 +18,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}
5 changes: 3 additions & 2 deletions packages/terminal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"enquirer": "^2.3.5"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
Expand All @@ -21,5 +21,6 @@
"repository": {
"type": "git",
"url": "git://github.com/serialport/node-serialport.git"
}
},
"funding": "https://opencollective.com/serialport/donate"
}

0 comments on commit 397eecc

Please sign in to comment.