]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit
feat(types): create peertube-types package
authorlutangar <johan.dufour@gmail.com>
Tue, 9 Nov 2021 12:49:08 +0000 (13:49 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Thu, 16 Dec 2021 09:08:43 +0000 (10:08 +0100)
commit8b03e2ce1a2098261de2f729f660b1ae2a320b65
treeca4770cf86c9c54814dbb62bfc95ef38661646b2
parent06aad80165d09a8863ab8103149a8ff518b10641
feat(types): create peertube-types package

Create dedicated Typescript "types" configuration file for each "projects".
Create a types folder which includes every useful ts definition:
- client
- server
- shared
Add tooling to create a proper package, extract dependencies, etc...
Add CI Github task.

refactor(types): publish types package in release script
18 files changed:
.gitignore
client/src/index.ts [new file with mode: 0644]
client/src/types/index.ts [new file with mode: 0644]
client/tsconfig.json
client/tsconfig.types.json [new file with mode: 0644]
index.ts [new file with mode: 0644]
package.json
scripts/generate-types-package.ts [new file with mode: 0644]
scripts/release.sh
scripts/tsconfig.json
server/tsconfig.types.json [new file with mode: 0644]
shared/tsconfig.types.json [new file with mode: 0644]
support/doc/development/lib.md
support/doc/plugins/guide.md
tsconfig.base.json
tsconfig.json
tsconfig.types.json
yarn.lock