Update version number for migration code (#5354)
This commit is contained in:
parent
4361aa089b
commit
0913c77140
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"version": "1.6.4",
|
"version": "1.7.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"version": "1.6.4",
|
"version": "1.7.0",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@material/material-color-utilities": "^0.2.7",
|
"@material/material-color-utilities": "^0.2.7",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.6.4",
|
"version": "1.7.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "vite",
|
"start": "vite",
|
||||||
|
|
|
@ -172,7 +172,7 @@ class SystemVersionConverter extends VersionConverter {
|
||||||
this.callMigrators(data, v1_1_0.systemMigrators);
|
this.callMigrators(data, v1_1_0.systemMigrators);
|
||||||
}
|
}
|
||||||
if (curMinor < 7) {
|
if (curMinor < 7) {
|
||||||
console.log("Applying v1.7.0 session data migration!");
|
console.log("Applying v1.7.0 system data migration!");
|
||||||
this.callMigrators(data, v1_7_0.systemMigrators);
|
this.callMigrators(data, v1_7_0.systemMigrators);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -202,11 +202,11 @@ class SettingsVersionConverter extends VersionConverter {
|
||||||
this.callMigrators(data, v1_1_0.settingsMigrators);
|
this.callMigrators(data, v1_1_0.settingsMigrators);
|
||||||
}
|
}
|
||||||
if (curMinor < 7) {
|
if (curMinor < 7) {
|
||||||
console.log("Applying v1.7.0 session data migration!");
|
console.log("Applying v1.7.0 settings data migration!");
|
||||||
this.callMigrators(data, v1_7_0.settingsMigrators);
|
this.callMigrators(data, v1_7_0.settingsMigrators);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`System data successfully migrated to v${version}!`);
|
console.log(`Settings data successfully migrated to v${version}!`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue