aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/development
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-14 13:48:13 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-12-16 10:08:43 +0100
commit9b3294a8496c89c7880054de1f1f09c9990f1b46 (patch)
tree4c3271417505ee81c36b1ac23fc2829e5aad432a /support/doc/development
parent75278e289067977291baa7e2ac217e85fc7d6088 (diff)
downloadPeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.gz
PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.zst
PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.zip
Fix some build scripts and lint
Diffstat (limited to 'support/doc/development')
-rw-r--r--support/doc/development/lib.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/support/doc/development/lib.md b/support/doc/development/lib.md
index 9c67a39dd..097afa4fb 100644
--- a/support/doc/development/lib.md
+++ b/support/doc/development/lib.md
@@ -2,22 +2,24 @@
2 2
3## @peertube/embed-api 3## @peertube/embed-api
4 4
5### Build 5### Build & Publish
6 6
7``` 7```
8$ cd client/src/standalone/player/ 8$ cd client/src/standalone/player/
9$ npm run build 9$ npm run build
10$ npm publish --access=public
10``` 11```
11 12
12## @peertube/peertube-types 13## @peertube/peertube-types
13 14
14Typescript definition files generation is controlled by the various `tsconfig.types.json` files, see: 15Typescript definition files generation is controlled by the various `tsconfig.types.json` files.
15``` 16
16yarn tsc -b --verbose tsconfig.types.json 17The complete types package is generated via:
17```
18 18
19But the complete types package is generated via:
20``` 19```
21yarn generate-types-package 20$ npm run generate-types-package
21$ cd dist
22$ npm publish --access=public
22``` 23```
24
23> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details. 25> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details.