build: add release helper scripts (#22378)

PR Close #22378
This commit is contained in:
Victor Berchet
2018-02-22 12:07:17 -08:00
parent b2f366b3b7
commit f791862e52
8 changed files with 58 additions and 3 deletions

11
scripts/release/pre-check Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Verify peer deps constraints and package.json before publishing to npm
# There should be no npm errors
mkdir tmp
cd tmp
npm init -y
npm install --save ../dist/packages-dist/* zone.js@0.8.10 rxjs@5.5.0 typescript@2.6
cd ..
rm -rf ./tmp