1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00
Commit graph

9 commits

Author SHA1 Message Date
Chocobozzz
bf54587a3e
shared/ typescript types dir server-commands 2021-12-17 09:29:23 +01:00
lutangar
06aad80165 chore(refactor): remove shared folder dependencies to the server
Many files from the `shared` folder were importing files from the `server` folder.
When attempting to use Typescript project references to describe dependencies,
it highlighted a circular dependency beetween `shared` <-> `server`.

The Typescript project forbid such usages.
Using project references greatly improve performance by rebuilding only
the updated project and not all source files.
> see https://www.typescriptlang.org/docs/handbook/project-references.html
2021-12-16 10:08:43 +01:00
John Livingston
3a1157a68a
CLI: plugins install command accept a --plugin-version parameter. (#4599)
* CLI: plugins install command accept a --plugin-version parameter.

* Unit tests for plugins install --plugin-version.

* Fix linting.

* Styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-03 10:14:01 +01:00
Chocobozzz
4c7e60bc17
Reorganize imports 2021-07-20 15:27:19 +02:00
Chocobozzz
c0e8b12e7f
Refactor requests 2021-07-20 15:27:18 +02:00
Chocobozzz
89d241a79c
Shorter server command names 2021-07-20 15:27:18 +02:00
Chocobozzz
6c5065a011
Introduce server commands 2021-07-20 15:27:18 +02:00
Chocobozzz
a1637fa1e2
Specify if we want to fallback to the server token 2021-07-20 15:27:17 +02:00
Chocobozzz
ae2abfd3ae
Introduce plugins command 2021-07-20 15:27:17 +02:00