Last active
March 7, 2017 21:29
-
-
Save StephenFluin/536da78667dc5a92ffa2ca942b12c51f to your computer and use it in GitHub Desktop.
Angular package switching
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *; do cd $i; npm link; cd ..; done | |
# Install latest stable | |
npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router}@latest --save --save-exact | |
# Install latest next | |
npm install @angular/{animations,common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router}@next typescript@latest --save --save-exact | |
#Install tagged master release | |
npm install angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}-builds#4.0.0-rc.1+126fda2 | |
# Install local master | |
npm install ../angular/dist/packages-dist/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router} --save | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment