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/')