Skip to content

Commit e19d77a

Browse files
authored
chore: update to bindings-cpp (#2385)
Remove @serialport/bindings and switch to @serialport/bindings-cpp Works #2384
1 parent 09d0c07 commit e19d77a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1038
-17862
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
9-
directory: "/" # Location of package manifests
10-
schedule:
11-
interval: "daily"
12-
allow:
13-
# Allow updates for node-abi as quick as possible
14-
- dependency-name: "node-abi"
15-
commit-message:
16-
prefix: "chore: "
17-
include: "scope"
188
- package-ecosystem: "npm" # See documentation for possible values
199
directory: "/" # Location of package manifests
2010
schedule:

.github/workflows/build.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 81 additions & 81 deletions
Large diffs are not rendered by default.

PUBLISHING.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
# How to publish node Serialport
22

3-
Every time a new tag for the latest release is pushed to Github, the continuous integration builds in Travis-CI and AppVeyor will generate the binaries for each platform and architecture. We use [prebuild](https://github.com/mafintosh/prebuild) to publish these binaries on Github.
4-
This can be checked in the .travis.yml file and appveyor.yml file. Within these files, if a git tag is detected a binary will be built and published for each version on each platform.
5-
63
Two factor auth is required for publishing.
74

85
1. run `npm run publish`
9-
2. if you released a new `@serialport/bindings` run `git tag @serialport/bindings@x.x.x` with the version you just released.
10-
3. Let everyone know 🎉
11-
12-
Note:
13-
14-
CI sets the `prebuild_upload` environment variable with a GitHub token to trigger `prebuild` to upload the binaries to the release tag.
6+
2. Let everyone know 🎉

README.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
11
# Node Serialport
2-
[![Backers on Open Collective](https://opencollective.com/serialport/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/serialport/sponsors/badge.svg)](#sponsors) [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)
2+
3+
[![Backers on Open Collective](https://opencollective.com/serialport/backers/badge.svg)](#backers)
4+
[![Sponsors on Open Collective](https://opencollective.com/serialport/sponsors/badge.svg)](#sponsors)
5+
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)
36
[![codecov](https://codecov.io/gh/serialport/node-serialport/branch/master/graph/badge.svg)](https://codecov.io/gh/serialport/node-serialport)
4-
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fserialport%2Fnode-serialport%2Fbadge&style=flat-square)](https://actions-badge.atrox.dev/serialport/node-serialport/goto)
5-
[![Build Status](https://travis-ci.org/serialport/node-serialport.svg?branch=master)](https://travis-ci.org/serialport/node-serialport)
6-
[![Build status](https://ci.appveyor.com/api/projects/status/ijg4rnd9vi16tbgr/branch/master?svg=true)](https://ci.appveyor.com/project/serialport/node-serialport/branch/master)
7+
[![Test / Lint](https://github.com/serialport/node-serialport/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/serialport/node-serialport/actions/workflows/test.yml)
78

89
Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
910

10-
> Go to https://serialport.io/ to learn more, find guides and api documentation.
11+
> Go to <https://serialport.io/> to learn more, find guides and api documentation.
1112
1213
## Quick Links
14+
1315
- [**Guides**](https://serialport.io/docs/)
1416
- [**API Docs**](https://serialport.io/docs/api-serialport)
15-
- [The `serialport` package api docs](https://serialport.io/docs/api-serialport)
17+
- [The `serialport` package api docs](https://serialport.io/docs/api-serialport) (most people start here)
1618

1719
### Serialport
20+
1821
- [`serialport`](https://serialport.io/docs/api-serialport) Chances are you're looking for the `serialport` package which provides a good set of defaults for most projects. However it is quite easy to mix and match the parts of serialport you need.
1922

2023
### Bindings
24+
25+
The code for bindings can be found here https://github.com/serialport/bindings-cpp
26+
2127
The Bindings provide a low level interface to work with your serialport. It is possible to use them alone but it's usually easier to use them with an interface.
28+
2229
- [`@serialport/bindings`](https://serialport.io/docs/api-bindings) bindings for Linux, Mac and Windows
2330
- [`@serialport/binding-abstract`](https://serialport.io/docs/api-bindings-abstract) as an abstract class to use if you're making your own bindings
2431
- [`@serialport/binding-mock`](https://serialport.io/docs/api-binding-mock) for a mock binding package for testing
2532

2633
### Interfaces
34+
2735
Interfaces take a binding object and provide a different API on top of it. Currently we only ship a Node Stream Interface.
2836

2937
- [`@serialport/stream`](https://serialport.io/docs/api-stream) our traditional Node.js Stream interface
@@ -45,6 +53,7 @@ Parsers are traditionally Transform streams, but Duplex streams and other non st
4553
## Developing
4654

4755
### Developing node serialport projects
56+
4857
1. Clone this repo `git clone git@github.com:serialport/node-serialport.git`
4958
1. Run `npm install` to setup local package dependencies (run this any time you depend on a package local to this repo)
5059
1. Run `npm test` to ensure everything is working properly
@@ -53,15 +62,18 @@ Parsers are traditionally Transform streams, but Duplex streams and other non st
5362

5463
### Developing Docs
5564

56-
See https://github.com/node-serialport/website
65+
See <https://github.com/serialport/website>
5766

5867
## License
68+
5969
SerialPort packages are all [MIT licensed](LICENSE) and all it's dependencies are MIT licensed.
6070

6171
## Code of Conduct
72+
6273
SerialPort follows the [Nodebots Code of Conduct](http://nodebots.io/conduct.html). While the code is MIT licensed participation in the community has some rules to make this a good place to work and learn.
6374

6475
### TLDR
76+
6577
- Be respectful.
6678
- Abusive behavior is never tolerated.
6779
- Data published to NodeBots is hosted at the discretion of the service administrators, and may be removed.
@@ -78,12 +90,11 @@ SerialPort is currently employees a [governance](https://medium.com/the-node-js-
7890

7991
If you have a PR that improves the project people in any or all of the above people will help you land it.
8092

81-
**Maintainers**
93+
### Maintainers
8294

8395
- [Francis Gulotta](https://twitter.com/reconbot) | [reconbot](https://github.com/reconbot)
8496
- [Nick Hehr](https://twitter.com/hipsterbrown) | [hipsterbrown](https://github.com/hipsterbrown)
8597

86-
8798
### Contributors
8899

89100
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
@@ -99,13 +110,14 @@ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com
99110

100111
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/serialport#sponsor)]
101112

102-
<!-- <a href="https://opencollective.com/serialport/sponsor/0/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/0/avatar.svg"></a>
103-
<a href="https://opencollective.com/serialport/sponsor/1/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/1/avatar.svg"></a>
113+
<a href="https://opencollective.com/serialport/sponsor/0/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/0/avatar.svg"></a>
114+
115+
<!-- <a href="https://opencollective.com/serialport/sponsor/1/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/1/avatar.svg"></a>
104116
<a href="https://opencollective.com/serialport/sponsor/2/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/2/avatar.svg"></a>
105117
<a href="https://opencollective.com/serialport/sponsor/3/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/3/avatar.svg"></a>
106118
<a href="https://opencollective.com/serialport/sponsor/4/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/4/avatar.svg"></a>
107119
<a href="https://opencollective.com/serialport/sponsor/5/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/5/avatar.svg"></a>
108120
<a href="https://opencollective.com/serialport/sponsor/6/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/6/avatar.svg"></a>
109121
<a href="https://opencollective.com/serialport/sponsor/7/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/7/avatar.svg"></a>
110122
<a href="https://opencollective.com/serialport/sponsor/8/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/8/avatar.svg"></a>
111-
<a href="https://opencollective.com/serialport/sponsor/9/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/9/avatar.svg"></a> -->
123+
<a href="https://opencollective.com/serialport/sponsor/9/website" target="_blank"><img src="https://opencollective.com/serialport/sponsor/9/avatar.svg"></a> --> -->

greenkeeper.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)