1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

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
This commit is contained in:
lutangar 2021-11-09 13:49:08 +01:00 committed by Chocobozzz
parent 06aad80165
commit 8b03e2ce1a
18 changed files with 544 additions and 18 deletions

View file

@ -118,3 +118,8 @@ rm -f "./client/dist/embed-stats.json"
git checkout "$branch"
fi
)
# Release types package
npm run generate-types-package
cd types
npm publish --access public