Skip to content

Commit

Permalink
Version bump 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
evandcoleman committed Apr 1, 2018
1 parent 7e32ef8 commit ee95497
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
6 changes: 1 addition & 5 deletions dist/bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const credentials_1 = require("../lib/credentials");
const scan_1 = require("./scan");
const pair_1 = require("./pair");
cli
.version('1.0.4')
.version('1.0.5')
.command('pair', 'Pair with an Apple TV')
.option('--timeout <timeout>', 'The amount of time (in seconds) to scan for Apple TVs', cli.INTEGER)
.action((args, options, logger) => {
Expand All @@ -33,7 +33,6 @@ cli
});
});
cli
.version('1.0.4')
.command('command', 'Send a command to an Apple TV')
.argument('<command>', 'The command to send', /^up|down|left|right|menu|play|pause|next|previous|suspend$/)
.option('--credentials <credentials>', 'The device credentials from pairing', cli.STRING)
Expand Down Expand Up @@ -70,7 +69,6 @@ cli
});
});
cli
.version('1.0.4')
.command('state', 'Logs the playback state from the Apple TV')
.option('--credentials <credentials>', 'The device credentials from pairing', cli.STRING)
.action((args, options, logger) => {
Expand Down Expand Up @@ -103,7 +101,6 @@ cli
});
});
cli
.version('1.0.4')
.command('queue', 'Request the playback state from the Apple TV')
.option('--credentials <credentials>', 'The device credentials from pairing', cli.STRING)
.option('--location <location>', 'The location in the queue', cli.INTEGER)
Expand Down Expand Up @@ -149,7 +146,6 @@ cli
});
});
cli
.version('1.0.4')
.command('messages', 'Log all messages sent from the Apple TV')
.option('--credentials <credentials>', 'The device credentials from pairing', cli.STRING)
.action((args, options, logger) => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-appletv",
"version": "1.0.4",
"version": "1.0.5",
"description": "A Node.js library for communicating with an Apple TV",
"homepage": "https://github.com/edc1591/node-appletv",
"bugs": "https://github.com/edc1591/node-appletv/issues",
Expand All @@ -13,7 +13,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepublish": "npm run build",
"prepare": "npm run build",
"build": "npm run clean && tsc && cp -R ./src/lib/protos ./dist/lib/protos",
"clean": "rimraf dist",
"docs": "rimraf docs && typedoc --mode modules --excludePrivate --excludeExternals --out ./docs ./src"
Expand Down
6 changes: 1 addition & 5 deletions src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { scan } from './scan';
import { pair } from './pair';

cli
.version('1.0.4')
.version('1.0.5')
.command('pair', 'Pair with an Apple TV')
.option('--timeout <timeout>', 'The amount of time (in seconds) to scan for Apple TVs', cli.INTEGER)
.action((args, options, logger) => {
Expand All @@ -36,7 +36,6 @@ cli
});

cli
.version('1.0.4')
.command('command', 'Send a command to an Apple TV')
.argument('<command>', 'The command to send', /^up|down|left|right|menu|play|pause|next|previous|suspend$/)
.option('--credentials <credentials>', 'The device credentials from pairing', cli.STRING)
Expand Down Expand Up @@ -74,7 +73,6 @@ cli
});

cli
.version('1.0.4')
.command('state', 'Logs the playback state from the Apple TV')
.option('--credentials <credentials>', 'The device credentials from pairing', cli.STRING)
.action((args, options, logger) => {
Expand Down Expand Up @@ -108,7 +106,6 @@ cli
});

cli
.version('1.0.4')
.command('queue', 'Request the playback state from the Apple TV')
.option('--credentials <credentials>', 'The device credentials from pairing', cli.STRING)
.option('--location <location>', 'The location in the queue', cli.INTEGER)
Expand Down Expand Up @@ -155,7 +152,6 @@ cli
});

cli
.version('1.0.4')
.command('messages', 'Log all messages sent from the Apple TV')
.option('--credentials <credentials>', 'The device credentials from pairing', cli.STRING)
.action((args, options, logger) => {
Expand Down

0 comments on commit ee95497

Please sign in to comment.