diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-14 13:48:13 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-12-16 10:08:43 +0100 |
commit | 9b3294a8496c89c7880054de1f1f09c9990f1b46 (patch) | |
tree | 4c3271417505ee81c36b1ac23fc2829e5aad432a /support | |
parent | 75278e289067977291baa7e2ac217e85fc7d6088 (diff) | |
download | PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.gz PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.zst PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.zip |
Fix some build scripts and lint
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/development/lib.md | 16 |
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 | ||
14 | Typescript definition files generation is controlled by the various `tsconfig.types.json` files, see: | 15 | Typescript definition files generation is controlled by the various `tsconfig.types.json` files. |
15 | ``` | 16 | |
16 | yarn tsc -b --verbose tsconfig.types.json | 17 | The complete types package is generated via: |
17 | ``` | ||
18 | 18 | ||
19 | But the complete types package is generated via: | ||
20 | ``` | 19 | ``` |
21 | yarn 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. |