aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/doc/development/lib.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/support/doc/development/lib.md b/support/doc/development/lib.md
index 9c67a39dd..097afa4fb 100644
--- a/support/doc/development/lib.md
+++ b/support/doc/development/lib.md
@@ -2,22 +2,24 @@
2 2
3## @peertube/embed-api 3## @peertube/embed-api
4 4
5### Build 5### Build & Publish
6 6
7``` 7```
8$ cd client/src/standalone/player/ 8$ cd client/src/standalone/player/
9$ npm run build 9$ npm run build
10$ npm publish --access=public
10``` 11```
11 12
12## @peertube/peertube-types 13## @peertube/peertube-types
13 14
14Typescript definition files generation is controlled by the various `tsconfig.types.json` files, see: 15Typescript definition files generation is controlled by the various `tsconfig.types.json` files.
15``` 16
16yarn tsc -b --verbose tsconfig.types.json 17The complete types package is generated via:
17```
18 18
19But the complete types package is generated via:
20``` 19```
21yarn generate-types-package 20$ npm run generate-types-package
21$ cd dist
22$ npm publish --access=public
22``` 23```
24
23> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details. 25> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details.