diff options
Diffstat (limited to 'support/doc/development/lib.md')
-rw-r--r-- | support/doc/development/lib.md | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/support/doc/development/lib.md b/support/doc/development/lib.md index 6b0372150..c43edbacc 100644 --- a/support/doc/development/lib.md +++ b/support/doc/development/lib.md | |||
@@ -2,9 +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 | ``` |
12 | |||
13 | ## @peertube/peertube-types | ||
14 | |||
15 | Typescript definition files generation is controlled by the various `tsconfig.types.json` files. | ||
16 | |||
17 | The complete types package is generated via: | ||
18 | |||
19 | ``` | ||
20 | $ npm run generate-types-package 4.x.x | ||
21 | $ cd packages/types/dist | ||
22 | $ npm publish --access=public | ||
23 | ``` | ||
24 | |||
25 | > See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details. | ||