mirror of https://github.com/Chocobozzz/PeerTube
Fix generate types package script
parent
b8a4afa4c2
commit
41e5b788d9
|
@ -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 New Issue