Semver-based migrations

- Put migrations into a separate file: migrations.js
- Add semver, for more specific version-based migrations.
- Change `state.saved.version` to semver app version.
This commit is contained in:
Feross Aboukhadijeh
2016-05-31 13:04:39 -07:00
parent c82bdbd39d
commit 2c0de25423
4 changed files with 92 additions and 56 deletions

View File

@@ -32,6 +32,7 @@
"network-address": "^1.1.0",
"prettier-bytes": "^1.0.1",
"run-parallel": "^1.1.6",
"semver": "^5.1.0",
"simple-concat": "^1.0.0",
"simple-get": "^2.0.0",
"srt-to-vtt": "^1.1.1",