]>
Commit | Line | Data |
---|---|---|
1 | # Lib development documentation | |
2 | ||
3 | ## @peertube/embed-api | |
4 | ||
5 | ### Build & Publish | |
6 | ||
7 | ``` | |
8 | $ cd client/src/standalone/player/ | |
9 | $ npm run build | |
10 | $ npm publish --access=public | |
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. |