PeerTube/support/doc/development/lib.md

26 lines
542 B
Markdown
Raw Normal View History

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