diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-09 10:42:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-09 10:43:35 +0200 |
commit | 8d5ffb016934b5d5a12ed251d212c38aa4578a0f (patch) | |
tree | f1553c529a31547c59b3b43b280a8dfccf0ba77f | |
parent | 9aff314023ed0a9d74b6d5afd2a02a43a100fc8e (diff) | |
download | PeerTube-8d5ffb016934b5d5a12ed251d212c38aa4578a0f.tar.gz PeerTube-8d5ffb016934b5d5a12ed251d212c38aa4578a0f.tar.zst PeerTube-8d5ffb016934b5d5a12ed251d212c38aa4578a0f.zip |
Add node shebang
-rw-r--r-- | packages/peertube-runner/package.json | 2 | ||||
-rw-r--r-- | packages/peertube-runner/peertube-runner.ts | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/peertube-runner/package.json b/packages/peertube-runner/package.json index 7901a1e3e..f04d0b64f 100644 --- a/packages/peertube-runner/package.json +++ b/packages/peertube-runner/package.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "name": "@peertube/peertube-runner", | 2 | "name": "@peertube/peertube-runner", |
3 | "version": "0.0.1", | 3 | "version": "0.0.2", |
4 | "main": "dist/peertube-runner.js", | 4 | "main": "dist/peertube-runner.js", |
5 | "bin": "dist/peertube-runner.js", | 5 | "bin": "dist/peertube-runner.js", |
6 | "license": "AGPL-3.0", | 6 | "license": "AGPL-3.0", |
diff --git a/packages/peertube-runner/peertube-runner.ts b/packages/peertube-runner/peertube-runner.ts index f02526ef9..ddad84f1f 100644 --- a/packages/peertube-runner/peertube-runner.ts +++ b/packages/peertube-runner/peertube-runner.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | #!/usr/bin/env node | ||
2 | |||
1 | import { Command, InvalidArgumentError } from '@commander-js/extra-typings' | 3 | import { Command, InvalidArgumentError } from '@commander-js/extra-typings' |
2 | import { listRegistered, registerRunner, unregisterRunner } from './register' | 4 | import { listRegistered, registerRunner, unregisterRunner } from './register' |
3 | import { RunnerServer } from './server' | 5 | import { RunnerServer } from './server' |