Skip to content

Commit

Permalink
[fixed] Workaround for nasty npm bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Oct 8, 2015
1 parent ebaf437 commit 3be6a2d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,14 @@ git push origin latest -f

./scripts/build.sh

# This is a workaround for a nasty npm bug. :'(
# First, we need to uninstall the history package so
# it's not included in the react-router npm package.
# https://github.com/rackt/react-router/issues/2195
# https://github.com/npm/npm/issues/9894
rm -rf node_modules/history

npm publish

# And then re-install it after we publish.
npm install history

0 comments on commit 3be6a2d

Please sign in to comment.