diff --git a/.drone.yml b/.drone.yml index 2367bf6..832b2e0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,3 +11,12 @@ pipeline: image: node:10.15.1 commands: - npm run all + + publish: + image: plugins/npm + settings: + token: + from_secret: NPM_TOKEN + when: + event: [tag] + ref: [refs/tags/v*] \ No newline at end of file diff --git a/README.md b/README.md index 003acf1..a59984e 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,7 @@ LEGO Powered UP is the successor to Power Functions, the system for adding electronics to LEGO models. Powered UP is a collection of ranges - starting with LEGO WeDo 2.0 released in 2016, LEGO Boost released in 2017, and LEGO Powered UP released in 2018. It also includes the 2018 Duplo App-Controlled Train sets. -Powered UP has a few improvements over Power Functions: - -1. The use of Bluetooth Low Energy makes it easy to control from a computer, and even write code for. - -2. The ability to use sensors to react to events happening in the real world opens up a whole new world of possibilities. - -3. As Powered UP hubs and remotes pair with each other, the system allows for a near unlimited number of independently controlled models in the same room. Power Functions was limited to 8 due to the use of infra-red for communication. +This library allows communication and control of Powered UP devices and peripherals via Javascript, both from Node.js and from the browser using Web Bluetooth. ### Node.js Installation @@ -66,7 +60,7 @@ In addition, the Hubs themselves have certain built-in features which this libra [Full documentation is available here.](https://nathankellenicki.github.io/node-poweredup/) -### Sample Usage +### Node.js Sample Usage ```javascript const PoweredUP = require("node-poweredup"); diff --git a/docs/BoostMoveHub.html b/docs/BoostMoveHub.html index e0d51b7..6663abc 100644 --- a/docs/BoostMoveHub.html +++ b/docs/BoostMoveHub.html @@ -4,7 +4,7 @@
-