aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-16 17:17:16 +0100
committerChocobozzz <me@florianbigard.com>2021-12-16 17:19:42 +0100
commit41e5b788d9890a5bcb562e36f5a89a843d1e50fd (patch)
treeca1e01f8f62b0afcaaf2839a81a7f8d22a281106
parentb8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3 (diff)
downloadPeerTube-41e5b788d9890a5bcb562e36f5a89a843d1e50fd.tar.gz
PeerTube-41e5b788d9890a5bcb562e36f5a89a843d1e50fd.tar.zst
PeerTube-41e5b788d9890a5bcb562e36f5a89a843d1e50fd.zip
Fix generate types package script
-rw-r--r--support/doc/development/lib.md2
-rw-r--r--types/generate-package.ts2
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:
18 18
19``` 19```
20$ npm run generate-types-package 20$ npm run generate-types-package
21$ cd dist 21$ cd types/dist
22$ npm publish --access=public 22$ npm publish --access=public
23``` 23```
24 24
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()
12 }) 12 })
13 13
14async function run () { 14async function run () {
15 execSync('npm run build:types', { stdio: 'inherit' }) 15 execSync('npm run tsc -- -b --verbose types', { stdio: 'inherit' })
16 16
17 const typesPath = resolve(cwd(), './types/') 17 const typesPath = resolve(cwd(), './types/')
18 const typesDistPath = resolve(cwd(), typesPath, './dist/') 18 const typesDistPath = resolve(cwd(), typesPath, './dist/')