diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-14 13:48:13 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-12-16 10:08:43 +0100 |
commit | 9b3294a8496c89c7880054de1f1f09c9990f1b46 (patch) | |
tree | 4c3271417505ee81c36b1ac23fc2829e5aad432a /types | |
parent | 75278e289067977291baa7e2ac217e85fc7d6088 (diff) | |
download | PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.gz PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.zst PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.zip |
Fix some build scripts and lint
Diffstat (limited to 'types')
-rw-r--r-- | types/generate-package.ts | 1 | ||||
-rw-r--r-- | types/tsconfig.dist.json | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/types/generate-package.ts b/types/generate-package.ts index e0bdd721a..ae7937430 100644 --- a/types/generate-package.ts +++ b/types/generate-package.ts | |||
@@ -13,6 +13,7 @@ run() | |||
13 | 13 | ||
14 | async function run () { | 14 | async function run () { |
15 | execSync('npm run build:types', { stdio: 'inherit' }) | 15 | execSync('npm run build:types', { stdio: 'inherit' }) |
16 | |||
16 | const typesPath = resolve(cwd(), './types/') | 17 | const typesPath = resolve(cwd(), './types/') |
17 | const typesDistPath = resolve(cwd(), typesPath, './dist/') | 18 | const typesDistPath = resolve(cwd(), typesPath, './dist/') |
18 | const typesDistPackageJsonPath = resolve(typesDistPath, './package.json') | 19 | const typesDistPackageJsonPath = resolve(typesDistPath, './package.json') |
diff --git a/types/tsconfig.dist.json b/types/tsconfig.dist.json index d9c3fdfc3..fc2dbe45b 100644 --- a/types/tsconfig.dist.json +++ b/types/tsconfig.dist.json | |||
@@ -1,5 +1,5 @@ | |||
1 | { | 1 | { |
2 | "extends": "./tsconfig.base.json", | 2 | "extends": "./tsconfig.json", |
3 | "compilerOptions": { | 3 | "compilerOptions": { |
4 | "typeRoots": [ | 4 | "typeRoots": [ |
5 | "node_modules/@types", | 5 | "node_modules/@types", |