diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f86e905..54bc579 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,7 +2,7 @@ name: Build
on:
push:
branches:
- - main
+ - fork
- beta
concurrency:
group: build-${{ github.ref }}
diff --git a/.releaserc b/.releaserc
index 986c1b4..a77c59a 100644
--- a/.releaserc
+++ b/.releaserc
@@ -16,7 +16,7 @@
"assets": [
{
"path": "prebuilds-*.tar.gz",
- "label": "Binary modules (from npm @serialport/bindings-cpp)"
+ "label": "Binary modules (from npm @sie-js/node-serialport-bindings-cpp)"
}
]
}
diff --git a/README.md b/README.md
index 1bf126a..514bc60 100644
--- a/README.md
+++ b/README.md
@@ -1,95 +1,2 @@
-# @serialport/bindings-cpp
-
-[](#backers)
-[](#sponsors)
-[](https://codecov.io/gh/serialport/bindings-cpp)
-[](https://github.com/serialport/bindings-cpp/actions/workflows/test.yml)
-
-Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
-
-> Go to https://serialport.io/ to learn more, find guides and api documentation.
-
-## Quick Links
-
-- 📚 [**Guides**](https://serialport.io/docs/)
-- [**API Docs**](https://serialport.io/docs/api-serialport)
-- [`@serialport/bindings-cpp`](https://www.npmjs.com/package/@serialport/bindings-cpp)
-- 🐛 [Help and Bugs](https://github.com/serialport/node-serialport/issues/new/choose) All serialport issues are pointed to the main serialport repo.
-
-### Bindings
-
-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.
-
-- [`@serialport/bindings-cpp`](https://serialport.io/docs/api-bindings-cpp) bindings for Linux, Mac and Windows
-- [`@serialport/binding-interface`](https://serialport.io/docs/api-bindings-interface) as an interface to use if you're making your own bindings
-- [`@serialport/binding-mock`](https://serialport.io/docs/api-binding-mock) for a mock binding package for testing
-
-## Developing
-
-### Developing node serialport projects
-
-1. Clone this repo `git clone git@github.com:serialport/bindings-cpp.git`
-1. Run `npm install` to setup local package dependencies (run this any time you depend on a package local to this repo)
-1. Run `npm test` to ensure everything is working properly
-1. If you have a serial loopback device (TX to RX) you can run run `TEST_PORT=/path/to/port npm test` for a more comprehensive test suite. (Defaults to 115200 baud customize with the TEST_BAUD env.) You can use an arduino with the `test/arduino-echo` sketch.
-
-### Developing Docs
-
-See https://github.com/serialport/website
-
-## License
-
-SerialPort packages are all [MIT licensed](LICENSE) and all it's dependencies are MIT licensed.
-
-## Code of Conduct
-
-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.
-
-### TLDR
-
-- Be respectful.
-- Abusive behavior is never tolerated.
-- Data published to NodeBots is hosted at the discretion of the service administrators, and may be removed.
-- Don't build evil robots.
-- Violations of this code may result in swift and permanent expulsion from the NodeBots community.
-
-## Governance and Community
-
-SerialPort is currently employees a [governance](https://medium.com/the-node-js-collection/healthy-open-source-967fa8be7951) with a group of maintainers, committers and contributors, all fixing bugs and adding features and improving documentation. You need not apply to work on SerialPort, all are welcome to join, build, and maintain this project.
-
-- A Contributor is any individual creating or commenting on an issue or pull request. By participating, this is you.
-- Committers are contributors who have been given write access to the repository. They can review and merge pull requests.
-- Maintainers are committers representing the required technical expertise to resolve rare disputes.
-
-If you have a PR that improves the project people in any or all of the above people will help you land it.
-
-**Maintainers**
-
-- [Francis Gulotta](https://twitter.com/reconbot) | [reconbot](https://github.com/reconbot)
-- [Nick Hehr](https://twitter.com/hipsterbrown) | [hipsterbrown](https://github.com/hipsterbrown)
-
-### Contributors
-
-This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
-
-
-### Backers
-
-Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/serialport#backer)]
-
-
-
-### Sponsors
-
-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)]
-
-
+# @sie-js/node-serialport-bindings-cpp
+Fork with https://github.com/serialport/bindings-cpp/pull/229
diff --git a/fork.sh b/fork.sh
new file mode 100644
index 0000000..d3bc633
--- /dev/null
+++ b/fork.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+cp $0 /tmp/node_serialport_fork.sh
+
+git reset --hard
+grep -r '@serialport/bindings-cpp' -l | xargs sed 's/@serialport\/bindings-cpp/@sie-js\/node-serialport-bindings-cpp/g' -i
+grep -r 'github.com/serialport/bindings-cpp.git' -l | xargs sed 's/github.com\/serialport\/bindings-cpp.git/github.com\/siemens-mobile-hacks\/node-serialport-bindings-cpp.git/g' -i
+echo '# @sie-js/node-serialport-bindings-cpp' > README.md
+echo 'Fork with https://github.com/serialport/bindings-cpp/pull/229' >> README.md
+sed -i 's/- main/- fork/g' ./.github/workflows/build.yml
+
+mv /tmp/node_serialport_fork.sh $0
diff --git a/package-lock.json b/package-lock.json
index 1eebe7f..02ebdc5 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "@serialport/bindings-cpp",
+ "name": "@sie-js/node-serialport-bindings-cpp",
"version": "0.0.0-development",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "@serialport/bindings-cpp",
+ "name": "@sie-js/node-serialport-bindings-cpp",
"version": "0.0.0-development",
"hasInstallScript": true,
"license": "MIT",
diff --git a/package.json b/package.json
index 4f89851..26befbf 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "@serialport/bindings-cpp",
+ "name": "@sie-js/node-serialport-bindings-cpp",
"description": "SerialPort Hardware bindings for node serialport written in c++",
"version": "0.0.0-development",
"main": "./dist/index.js",
@@ -91,7 +91,7 @@
},
"repository": {
"type": "git",
- "url": "https://github.com/serialport/bindings-cpp.git"
+ "url": "https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git"
},
"funding": "https://opencollective.com/serialport/donate",
"changelog": {