]>
Commit | Line | Data |
---|---|---|
6f9719b5 C |
1 | # Lib development documentation |
2 | ||
3 | ## @peertube/embed-api | |
4 | ||
9b3294a8 | 5 | ### Build & Publish |
6f9719b5 C |
6 | |
7 | ``` | |
8 | $ cd client/src/standalone/player/ | |
9 | $ npm run build | |
9b3294a8 | 10 | $ npm publish --access=public |
6f9719b5 | 11 | ``` |
8b03e2ce | 12 | |
13 | ## @peertube/peertube-types | |
14 | ||
9b3294a8 C |
15 | Typescript definition files generation is controlled by the various `tsconfig.types.json` files. |
16 | ||
17 | The complete types package is generated via: | |
8b03e2ce | 18 | |
8b03e2ce | 19 | ``` |
21d68e68 C |
20 | $ npm run generate-types-package 4.x.x |
21 | $ cd packages/types/dist | |
9b3294a8 | 22 | $ npm publish --access=public |
8b03e2ce | 23 | ``` |
9b3294a8 | 24 | |
8b03e2ce | 25 | > See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details. |