aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release.sh
diff options
context:
space:
mode:
authorlutangar <johan.dufour@gmail.com>2021-11-09 13:49:08 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-12-16 10:08:43 +0100
commit8b03e2ce1a2098261de2f729f660b1ae2a320b65 (patch)
treeca4770cf86c9c54814dbb62bfc95ef38661646b2 /scripts/release.sh
parent06aad80165d09a8863ab8103149a8ff518b10641 (diff)
downloadPeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.tar.gz
PeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.tar.zst
PeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.zip
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
Diffstat (limited to 'scripts/release.sh')
-rwxr-xr-xscripts/release.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 6423d17ee..7681de90d 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -118,3 +118,8 @@ rm -f "./client/dist/embed-stats.json"
118 git checkout "$branch" 118 git checkout "$branch"
119 fi 119 fi
120) 120)
121
122# Release types package
123npm run generate-types-package
124cd types
125npm publish --access public