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