From 9b3294a8496c89c7880054de1f1f09c9990f1b46 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Dec 2021 13:48:13 +0100 Subject: Fix some build scripts and lint --- types/generate-package.ts | 1 + types/tsconfig.dist.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'types') 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() async function run () { execSync('npm run build:types', { stdio: 'inherit' }) + const typesPath = resolve(cwd(), './types/') const typesDistPath = resolve(cwd(), typesPath, './dist/') 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 @@ { - "extends": "./tsconfig.base.json", + "extends": "./tsconfig.json", "compilerOptions": { "typeRoots": [ "node_modules/@types", -- cgit v1.2.3