Fix generate types package script

This commit is contained in:
Chocobozzz 2021-12-16 17:17:16 +01:00
parent b8a4afa4c2
commit 41e5b788d9
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -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
```

View File

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