postinstall.sh 397 B

123456789101112
  1. #!/usr/bin/env bash
  2. set -e # always immediately exit upon error
  3. cd "`dirname $0`/.." # always start in project root
  4. # rewire the @fullcalendar/angular package.
  5. # we still want yarn to install its dependencies,
  6. # but we want other packages to reference it by its dist/fullcalendar folder
  7. cd node_modules/@fullcalendar
  8. rm -f angular
  9. ln -s ../../packages-contrib/angular/dist/fullcalendar angular