2021-09-07 05:47:40 -04:00
|
|
|
# Lib development documentation
|
|
|
|
|
|
|
|
## @peertube/embed-api
|
|
|
|
|
2021-12-14 07:48:13 -05:00
|
|
|
### Build & Publish
|
2021-09-07 05:47:40 -04:00
|
|
|
|
|
|
|
```
|
2023-07-10 10:41:08 -04:00
|
|
|
cd client/src/standalone/embed-player-api/
|
2023-04-04 03:16:53 -04:00
|
|
|
npm run build
|
|
|
|
npm publish --access=public
|
2021-09-07 05:47:40 -04:00
|
|
|
```
|
2021-11-09 07:49:08 -05:00
|
|
|
|
|
|
|
## @peertube/peertube-types
|
|
|
|
|
2021-12-14 07:48:13 -05:00
|
|
|
Typescript definition files generation is controlled by the various `tsconfig.types.json` files.
|
|
|
|
|
|
|
|
The complete types package is generated via:
|
2021-11-09 07:49:08 -05:00
|
|
|
|
|
|
|
```
|
2023-04-04 03:16:53 -04:00
|
|
|
npm run generate-types-package 4.x.x
|
2023-07-31 08:34:36 -04:00
|
|
|
cd packages/types-generator/dist
|
2023-04-04 03:16:53 -04:00
|
|
|
npm publish --access=public
|
2021-11-09 07:49:08 -05:00
|
|
|
```
|
2021-12-14 07:48:13 -05:00
|
|
|
|
2021-11-09 07:49:08 -05:00
|
|
|
> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details.
|