Fix generate types package script
This commit is contained in:
parent
b8a4afa4c2
commit
41e5b788d9
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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/')
|
||||
|
|
Loading…
Reference in a new issue