Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm: Update depedencies to current and nail deps #422

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2163c50
npm: Update depedencies to current and nail deps
rzr Dec 20, 2018
e0a8953
npm: Update noble from abandonware org
rzr Dec 20, 2018
c2cab8f
- Fixed jshint errors
petersaints Mar 5, 2019
0ec156e
abandonware: Update npm manifest to new org
rzr Jul 23, 2019
09ea7cb
npm: Update dependencies to current
rzr Jul 23, 2019
d3c206a
npm: Update dependencies to current
rzr Jul 23, 2019
97dfc57
npm: Lock dependencies
rzr Jul 23, 2019
605717c
0.5.1-0
rzr Jul 23, 2019
5a29cba
xpc-connection -> xpc-connect
derhuerst Aug 10, 2019
be3743e
Merge pull request #3 from derhuerst/xpc-connect
rzr Aug 13, 2019
5a27e4a
docs: fix typo
Jason-Cooke Jun 30, 2019
f7db5e1
0.5.1-1
rzr Sep 2, 2019
af9833e
github: Support node.js
rzr Mar 5, 2020
f8668be
github: Add npm-publish action
rzr Mar 5, 2020
60e2c88
abandonware: Update battery-service npm manifest
rzr Mar 5, 2020
c1edf6b
npm: Update dependencies to current
rzr Mar 5, 2020
407749e
npm: Update dependencies to current
rzr Mar 5, 2020
972203c
npm: Lock dependencies
rzr Mar 5, 2020
a030aad
npm: Lock dependencies
rzr Mar 5, 2020
4652a1e
github: Add send-tweet-action
rzr Mar 5, 2020
150a9a1
github: Update send-tweet-action status
rzr Mar 5, 2020
d48c7fb
Release 0.5.1-2
rzr Mar 5, 2020
9d6828e
Fixes #5: ignore unrelated disconn_complete events
RasPelikan Mar 21, 2020
a072f32
Fixes according outcome of review
RasPelikan Mar 28, 2020
de0f064
Merge pull request #6 from RasPelikan/issue_5_ignore_unrelated_discon…
rzr Mar 30, 2020
34bf487
Import native mac bindings from notjosh/bleno-mac.
ptx2 Aug 9, 2020
db09e44
Appease jshint.
ptx2 Aug 9, 2020
6e68eac
Allow ES6.
ptx2 Aug 10, 2020
e5daab4
Use const instead of var.
ptx2 Aug 10, 2020
3136337
Fix insufficient permission/capability check.
ptx2 Aug 27, 2020
e00ba5b
Add type definitions from DefinitelyTyped
ceckerle Jun 29, 2020
ffbdc91
Add missing events, improve updateValueCallback typing
ceckerle Jun 29, 2020
c410236
npm: Update dependencies to current
rzr Nov 4, 2020
7d2e9a0
npm: Update dependencies to current
rzr Nov 4, 2020
8eb02d2
npm: Lock dependencies
rzr Nov 4, 2020
8d8aee4
npm: Lock dependencies
rzr Nov 4, 2020
e97c2f1
github: Install libusb, libudev
rzr Nov 4, 2020
fa67185
Release 0.5.1-3
rzr Nov 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install system dependencies
run: |
sudo apt -qq update
sudo apt install -y libusb-1.0-0-dev libudev-dev
- run: npm ci
- run: npm run build --if-present
- run: npm test
env:
CI: true
25 changes: 25 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: npm-publish
on:
push:
branches:
- master # Change this to your default branch
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 10.0.0
- name: Publish if version has been updated
uses: pascalgn/npm-publish-action@51fdb4531e99aac1873764ef7271af448dc42ab4
with: # All of theses inputs are optional
tag_name: "v%s"
tag_message: "v%s"
commit_pattern: "^Release (\\S+)"
env: # More info about the environment variables in the README
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
13 changes: 13 additions & 0 deletions .github/workflows/send-tweet-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Send a Tweet
on: [push]
jobs:
tweet:
runs-on: ubuntu-latest
steps:
- uses: ethomson/send-tweet-action@v1
with:
status: "https://github.com/abandonware/bleno/# #AbandonWare 's #Bleno has been updated, feedback welcome"
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ results
npm-debug.log
node_modules
build

lib/mac/native
1 change: 1 addition & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"esversion": 6,
"undef": true,
"node": true
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ __Note:__ macOS / Mac OS X, Linux, FreeBSD and Windows are currently the only su

### OS X

* install [Xcode](https://itunes.apple.com/ca/app/xcode/id497799835?mt=12)
* install the XCode command line tools via `xcode-select --install`
* 10.9 or later

### Linux
Expand Down Expand Up @@ -378,7 +378,7 @@ process.env['BLENO_DEVICE_NAME'] = 'custom device name';

bleno uses a 100 ms advertising interval by default.

A custom advertising interval can be specified by setting the ```BLENO_ADVERTISING_INTERVAL``` enviroment variable with the desired value in milliseconds:
A custom advertising interval can be specified by setting the ```BLENO_ADVERTISING_INTERVAL``` environment variable with the desired value in milliseconds:

```sh
sudo BLENO_ADVERTISING_INTERVAL=500 node <your file>.js
Expand Down
14 changes: 14 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
'targets': [
{
'target_name': 'bleno',
'conditions': [
['OS=="mac"', {
'dependencies': [
'lib/mac/binding.gyp:binding',
],
}],
],
},
],
}
Loading