From 3bf58bd6042b440b563da8a3b08527609674c56b Mon Sep 17 00:00:00 2001 From: Scott Prue Date: Fri, 29 May 2020 23:51:27 -0400 Subject: [PATCH] v0.9.5 * fix(app): fix error caused from onClick not being passed to SplitButton * fix(app): pass user info to error handler * fix(app): switch start_url in manifest.json ot ./ (in attempt to fix invalid loading of manifest) --- .github/workflows/app-deploy.yml | 16 ++---- package.json | 7 +-- public/index.html | 8 ++- public/manifest.json | 5 +- .../AnalyticsPageViewLogger.js | 2 + src/components/SplitButton/SplitButton.js | 4 +- src/utils/errorHandler.js | 54 ++++++++++--------- yarn.lock | 51 +++++++++++++++++- 8 files changed, 97 insertions(+), 50 deletions(-) diff --git a/.github/workflows/app-deploy.yml b/.github/workflows/app-deploy.yml index 1a8248f7..026250fb 100644 --- a/.github/workflows/app-deploy.yml +++ b/.github/workflows/app-deploy.yml @@ -114,14 +114,13 @@ jobs: -y --project $gcloudProject \ "/versionInfo" - - name: Archive Debug Log - uses: actions/upload-artifact@v2 - if: failure() - with: - name: firebase-debug - path: firebase-debug.log + - name: Check if version has been updated + if: github.ref == 'refs/heads/prod' + id: check + uses: EndBug/version-check@v1 - name: Create Release In Sentry + if: github.ref == 'refs/heads/prod' && steps.check.outputs.changed == 'true' env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_ORG: pruvit @@ -142,11 +141,6 @@ jobs: $(yarn bin)/sentry-cli releases finalize $releaseName echo Release created successfully - - name: Check if version has been updated - if: github.ref == 'refs/heads/prod' - id: check - uses: EndBug/version-check@v1 - - name: Create Release if: github.ref == 'refs/heads/prod' && steps.check.outputs.changed == 'true' id: create_release diff --git a/package.json b/package.json index 2b72fb7b..ce847849 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "fireadmin", - "version": "0.9.4", + "version": "0.9.5", "description": "Application for Managing Firebase Applications. Includes support for multiple environments and data migrations.", "scripts": { "clean": "rimraf build", "size": "size-limit", - "build": "react-scripts build && cp public/manifest.json build", + "build": "react-scripts build", "build:config": "firebase-ci createConfig", "build:size": "yarn build && size-limit", "build:size:why": "yarn build && yarn size --why", @@ -52,7 +52,8 @@ "react-hook-form": "^5.7.2", "react-instantsearch": "^4.2.0", "react-router-dom": "^5.1.2", - "reactfire": "^2.0.3" + "reactfire": "^2.0.3", + "stackdriver-errors-js": "^0.8.0" }, "devDependencies": { "@sentry/cli": "^1.53.0", diff --git a/public/index.html b/public/index.html index 5189233b..332a747d 100644 --- a/public/index.html +++ b/public/index.html @@ -13,9 +13,6 @@ --> - - - - - + + +