From 99f64107f991e7ac5c8308e89a0dd417d4e580ea Mon Sep 17 00:00:00 2001
From: Thomas Champagne
Date: Wed, 25 May 2022 09:40:08 +0200
Subject: [PATCH] Bump to 7.0.0-beta.5
---
appcore/package-lock.json | 4 ++--
appcore/package.json | 2 +-
.../migration/desktop-registered-migrations.ts | 4 +++-
.../upgrade_7_0_0-beta.5/upgrade_7_0_0-beta.5.ts | 14 ++++++++++++++
desktop/package-lock.json | 4 ++--
desktop/package.json | 2 +-
package-lock.json | 4 ++--
package.json | 2 +-
webextension/manifest.json | 4 ++--
webextension/package-lock.json | 4 ++--
webextension/package.json | 2 +-
11 files changed, 31 insertions(+), 15 deletions(-)
create mode 100644 appcore/src/app/desktop/migration/upgrade_7_0_0-beta.5/upgrade_7_0_0-beta.5.ts
diff --git a/appcore/package-lock.json b/appcore/package-lock.json
index 498a9718e..d97e34362 100644
--- a/appcore/package-lock.json
+++ b/appcore/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"hasInstallScript": true,
"license": "MPL-2.0",
"dependencies": {
diff --git a/appcore/package.json b/appcore/package.json
index abb05f0bc..2fab80abd 100644
--- a/appcore/package.json
+++ b/appcore/package.json
@@ -1,6 +1,6 @@
{
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"license": "MPL-2.0",
"scripts": {
"ng": "ng",
diff --git a/appcore/src/app/desktop/migration/desktop-registered-migrations.ts b/appcore/src/app/desktop/migration/desktop-registered-migrations.ts
index b8e016905..c01549c14 100644
--- a/appcore/src/app/desktop/migration/desktop-registered-migrations.ts
+++ b/appcore/src/app/desktop/migration/desktop-registered-migrations.ts
@@ -1,12 +1,14 @@
import { DesktopMigration } from "./desktop-migrations.model";
import { Upgrade_7_0_0$beta_3 } from "./upgrade_7_0_0-beta.3/upgrade_7_0_0-beta.3";
+import { Upgrade_7_0_0$beta_5 } from "./upgrade_7_0_0-beta.5/upgrade_7_0_0-beta.5";
/**
* Add desktop migrations inside LIST. The LIST is sorted from lowest to high versions
*/
export class DesktopRegisteredMigrations {
public static readonly LIST: DesktopMigration[] = [
- new Upgrade_7_0_0$beta_3() // To version 7.0.0-beta.3
+ new Upgrade_7_0_0$beta_3(), // To version 7.0.0-beta.3
+ new Upgrade_7_0_0$beta_5() // To version 7.0.0-beta.5
/* Next Upgrade Here */
];
}
diff --git a/appcore/src/app/desktop/migration/upgrade_7_0_0-beta.5/upgrade_7_0_0-beta.5.ts b/appcore/src/app/desktop/migration/upgrade_7_0_0-beta.5/upgrade_7_0_0-beta.5.ts
new file mode 100644
index 000000000..df3e1b240
--- /dev/null
+++ b/appcore/src/app/desktop/migration/upgrade_7_0_0-beta.5/upgrade_7_0_0-beta.5.ts
@@ -0,0 +1,14 @@
+import { DesktopMigration } from "../desktop-migrations.model";
+import { Injector } from "@angular/core";
+
+export class Upgrade_7_0_0$beta_5 extends DesktopMigration {
+ public version: string = "7.0.0-beta.5";
+
+ public description: string = "Trigger recalculation for power/Hr new stats & settings lacks detection fix";
+
+ public requiresRecalculation: boolean = true;
+
+ public upgrade(db: LokiConstructor, injector: Injector): Promise {
+ return Promise.resolve();
+ }
+}
diff --git a/desktop/package-lock.json b/desktop/package-lock.json
index 3a46da931..4aa40937f 100644
--- a/desktop/package-lock.json
+++ b/desktop/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"license": "MPL-2.0",
"dependencies": {
"@thomaschampagne/sports-lib": "^6.0.3",
diff --git a/desktop/package.json b/desktop/package.json
index b37621801..71d75ee4a 100644
--- a/desktop/package.json
+++ b/desktop/package.json
@@ -1,7 +1,7 @@
{
"name": "elevate-sports-app",
"description": "Elevate your training experience and goals! Track your fitness and progressions over time. Analyse deeper your activities. And more...",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"scripts": {
"assert-app-exists": "node -e \"if ((require('fs').existsSync('./dist/app/')) === false) {console.log('Please run & wait for \\'npm start\\' task before.\\n\\n\\n\\n');process.exit(1);}\";",
"build:metadata": "node -e \"require('fs').writeFileSync('build_metadata.json', JSON.stringify({commit: require('child_process').execSync('git rev-parse HEAD').toString().trim(), date: new Date().toISOString()}));\"",
diff --git a/package-lock.json b/package-lock.json
index 82fb74274..aaf60aee3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"hasInstallScript": true,
"license": "MPL-2.0",
"devDependencies": {
diff --git a/package.json b/package.json
index 70243bf9c..f47aaa2a5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"description": "Wrap the needed tools required to cook Elevate desktop and web extension",
"maintainers": [
{
diff --git a/webextension/manifest.json b/webextension/manifest.json
index 652a90c83..df5103114 100644
--- a/webextension/manifest.json
+++ b/webextension/manifest.json
@@ -3,8 +3,8 @@
"name": "Elevate for Strava",
"short_name": "Elevate",
"description": "Elevate your strava experience and goals! Track your fitness and progressions over time. Analyse deeper your activities. And more...",
- "version": "7.0.0.4",
- "version_name": "7.0.0-4",
+ "version": "7.0.0.5",
+ "version_name": "7.0.0-5",
"background": {
"scripts": [
"extension/installer.bundle.js",
diff --git a/webextension/package-lock.json b/webextension/package-lock.json
index 4c9c68d51..94160fe82 100644
--- a/webextension/package-lock.json
+++ b/webextension/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"license": "MPL-2.0",
"dependencies": {
"@elevate/shared": "file:../appcore/modules/shared/",
diff --git a/webextension/package.json b/webextension/package.json
index 03636899c..a863286fc 100644
--- a/webextension/package.json
+++ b/webextension/package.json
@@ -1,6 +1,6 @@
{
"name": "elevate-sports-app",
- "version": "7.0.0-beta.4",
+ "version": "7.0.0-beta.5",
"description": "Chrome based extension adding features for Strava website with new performances data and improved ergonomics.",
"maintainers": [
{