From 9b3294a8496c89c7880054de1f1f09c9990f1b46 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Dec 2021 13:48:13 +0100 Subject: Fix some build scripts and lint --- support/doc/development/lib.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'support') 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 @@ ## @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, see: -``` -yarn tsc -b --verbose tsconfig.types.json -``` +Typescript definition files generation is controlled by the various `tsconfig.types.json` files. + +The complete types package is generated via: -But the complete types package is generated via: ``` -yarn generate-types-package +$ npm run generate-types-package +$ cd dist +$ npm publish --access=public ``` + > See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details. -- cgit v1.2.3