aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-17 09:29:23 +0100
committerChocobozzz <me@florianbigard.com>2021-12-17 09:29:23 +0100
commitbf54587a3e2ad9c2c186828f2a5682b91ee2cc00 (patch)
tree54b40aaf01bae210632473285c3c7571d51e4f89 /scripts
parent6b5f72beda96d8b7e4d6329c4001827334de27dd (diff)
downloadPeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.tar.gz
PeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.tar.zst
PeerTube-bf54587a3e2ad9c2c186828f2a5682b91ee2cc00.zip
shared/ typescript types dir server-commands
Diffstat (limited to 'scripts')
-rw-r--r--scripts/benchmark.ts2
-rwxr-xr-xscripts/generate-code-contributors.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts
index 788318313..011519fe3 100644
--- a/scripts/benchmark.ts
+++ b/scripts/benchmark.ts
@@ -3,7 +3,7 @@ registerTSPaths()
3 3
4import autocannon, { printResult } from 'autocannon' 4import autocannon, { printResult } from 'autocannon'
5import { writeJson } from 'fs-extra' 5import { writeJson } from 'fs-extra'
6import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/extra-utils' 6import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands'
7import { Video, VideoPrivacy } from '@shared/models' 7import { Video, VideoPrivacy } from '@shared/models'
8 8
9let server: PeerTubeServer 9let server: PeerTubeServer
diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts
index 70b33c0d3..449407c44 100755
--- a/scripts/generate-code-contributors.ts
+++ b/scripts/generate-code-contributors.ts
@@ -1,7 +1,7 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths' 1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths() 2registerTSPaths()
3 3
4import { CLICommand } from '@shared/extra-utils' 4import { CLICommand } from '@shared/server-commands'
5 5
6run() 6run()
7 .then(() => process.exit(0)) 7 .then(() => process.exit(0))