swarmsim / swarm

Swarm Simulator, an idle game with lots of bugs.

Home Page:https://www.swarmsim.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dependency updates

erosson opened this issue · comments

it's been a while. update all our ancient dependencies so it's practical to start making real changes again

notable issues during the upgrade:

  • font locations/packaging, especially fontawesome - missing icons
  • renamed/rearranged dependencies
  • double-importing the same css due to rearranged dependencies, - broken 'more' menu
  • imagemin version problems
  • stateless vs. stateful angular filters. old versions had only stateful, our code assumes stateful, default is now stateless so we override that. #682 will update
  • <select> missing its default option because it insists on strings now instead of numbers - broke notify menus

all of this is fixed on staging now. staging seems happy, need to test more thoroughly before release though, this touched a lot of stuff (plus, we should probably include a new feature or bugfix or something with our first change in 6 months)

https://gemnasium.com/swarmsim/swarm

still a couple bower deps and a bunch of build deps that need updates, though we got most of them.

this was much easier than updating manually:

npm install -g npm-check-updates
npm-check-updates -u
npm-check-updates -um bower
  • uglify was hanging with no error message. found something on google about it hanging with already-minified files, and sure enough, mathjs update was now using math.min.js
  • connect.static went away, now use a separate module serve-static

that should be everything. things worked okay on my desktop (serve:dist), but we'll test more thoroughly on preprod tomorrow/later, before releasing

This was released in v1.0.60