From 41e5b788d9890a5bcb562e36f5a89a843d1e50fd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Dec 2021 17:17:16 +0100 Subject: [PATCH] Fix generate types package script --- support/doc/development/lib.md | 2 +- types/generate-package.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/support/doc/development/lib.md b/support/doc/development/lib.md index 097afa4fb..0c77cff56 100644 --- a/support/doc/development/lib.md +++ b/support/doc/development/lib.md @@ -18,7 +18,7 @@ The complete types package is generated via: ``` $ npm run generate-types-package -$ cd dist +$ cd types/dist $ npm publish --access=public ``` diff --git a/types/generate-package.ts b/types/generate-package.ts index ae7937430..e20e9b624 100644 --- a/types/generate-package.ts +++ b/types/generate-package.ts @@ -12,7 +12,7 @@ run() }) async function run () { - execSync('npm run build:types', { stdio: 'inherit' }) + execSync('npm run tsc -- -b --verbose types', { stdio: 'inherit' }) const typesPath = resolve(cwd(), './types/') const typesDistPath = resolve(cwd(), typesPath, './dist/')