]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/development/lib.md
Fix interface lang button when unlogged
[github/Chocobozzz/PeerTube.git] / support / doc / development / lib.md
index 6b0372150fc2ac989d8e860fdc3512a851ba7f77..c43edbacc717c07842373a89e1bffa6f2bbd537b 100644 (file)
@@ -2,9 +2,24 @@
 
 ## @peertube/embed-api
 
-### Build
+### Build & Publish
 
 ```
 $ cd client/src/standalone/player/
 $ npm run build
+$ npm publish --access=public
 ```
+
+## @peertube/peertube-types
+
+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/dist
+$ npm publish --access=public
+```
+
+> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details.