From ae70bc2340840b85a4f34fd81b5f1b4ef1214eb9 Mon Sep 17 00:00:00 2001 From: Sascha Trifunovic Date: Wed, 1 May 2024 11:05:21 +0200 Subject: [PATCH] Update to latest bazaar version --- .github/workflows/build_battleship.yml | 6 +++--- package-lock.json | 8 ++++---- package.json | 2 +- src/views/GameView.vue | 1 - 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_battleship.yml b/.github/workflows/build_battleship.yml index 035efa7..ef707ee 100644 --- a/.github/workflows/build_battleship.yml +++ b/.github/workflows/build_battleship.yml @@ -7,7 +7,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build Vue app env: VITE_APP_ID: 018e5126-7024-7a06-9936-a6c0e7e0fb34 @@ -15,7 +15,7 @@ jobs: npm ci npm run build - name: Upload artifacts - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: "dist/" # Deploy job @@ -38,4 +38,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/package-lock.json b/package-lock.json index feb1061..9b1270e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "bazaar_battleship", "version": "0.0.0", "dependencies": { - "@bzr/bazaar": "^1.1.0", + "@bzr/bazaar": "^1.1.1", "pinia": "^2.1.7", "vue": "^3.3.4", "vue-router": "^4.2.5" @@ -76,9 +76,9 @@ } }, "node_modules/@bzr/bazaar": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@bzr/bazaar/-/bazaar-1.1.0.tgz", - "integrity": "sha512-FJr6to5sw/DlwzJwByw1cTLpLhTDPvj78L/uE00s3c2m69pabSRXbu7u+LZbz6GnCwiFg2MBPE6kEVTgpR6eYg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@bzr/bazaar/-/bazaar-1.1.1.tgz", + "integrity": "sha512-RRj0N+bPUsYtUp4esyRIYXMexJrYaZiq3k/CbHJQnAVg1aq6qNy7wHkkD/V4icKP9MKYyFWKqtiqGrOJP7w+mg==", "dependencies": { "@badgateway/oauth2-client": "^2.2.4", "jwt-decode": "^4.0.0", diff --git a/package.json b/package.json index ee80de0..c9a6693 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "format": "prettier --write src/" }, "dependencies": { - "@bzr/bazaar": "^1.1.0", + "@bzr/bazaar": "^1.1.1", "pinia": "^2.1.7", "vue": "^3.3.4", "vue-router": "^4.2.5" diff --git a/src/views/GameView.vue b/src/views/GameView.vue index 44dfa78..c8d35c0 100644 --- a/src/views/GameView.vue +++ b/src/views/GameView.vue @@ -375,7 +375,6 @@ const completeSetup: () => void = () => { // Update config and status gameCollection - // @ts-ignore TODO should no longer be required with bazaar v1.1.1 .updateOne(realGameId, gameUpdate) .then(() => { gameCollection