From c60576479159258de51778123b9aa6042c5b5bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20W=C3=B3jcik?= <1711174+lwojcik@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:39:46 +0100 Subject: [PATCH] Final build (#671) --- README.md | 5 +-- appveyor.yml | 10 ------ package.json | 86 ++++++++++++++++++++++++++-------------------------- 3 files changed, 44 insertions(+), 57 deletions(-) diff --git a/README.md b/README.md index 8b10d23..7006d01 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ # bnet-auth-service (BAS) -[![Build status](https://ci.appveyor.com/api/projects/status/5lunfkv0ot8rh3yt/branch/master?svg=true)](https://ci.appveyor.com/project/lwojcik/bnet-auth-service/branch/master) -[![codecov](https://codecov.io/gh/sc2pte/bnet-auth-service/branch/master/graph/badge.svg?token=sFEmFjKiRo)](https://codecov.io/gh/sc2pte/bnet-auth-service) - -**This is version 2 of the project and it's incompatible with previous version. If you're looking for the previous version, head to [v1 branch](https://github.com/sc2pte/bnet-auth-service/tree/v1).** +> **As of 15 March 2023 this project is no longer updated or maintained.** REST microservice retrieving and caching OAuth access tokens from [Blizzard Battle.net API](https://develop.battle.net/). diff --git a/appveyor.yml b/appveyor.yml index 48b6285..6a89b79 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -43,16 +43,6 @@ after_build: - if [[ "${APPVEYOR_REPO_BRANCH}" == "master" ]] && [[ -z "${APPVEYOR_PULL_REQUEST_NUMBER}" ]]; then docker push "${GHCR_REGISTRY}/${APPVEYOR_REPO_NAME}" --all-tags; fi # Logout - docker logout - # Login to Docker Hub - - echo "${DH_PASSWORD}" | docker login --username "${DH_USERNAME}" --password-stdin - # Build images from development branches and PRs - - if [[ "${APPVEYOR_REPO_BRANCH}" != "master" ]] || [[ ! -z "${APPVEYOR_PULL_REQUEST_NUMBER}" ]]; then docker build -t "${APPVEYOR_REPO_NAME}:${APPVEYOR_BUILD_VERSION}" .; fi - # Build images from master branch - - if [[ "${APPVEYOR_REPO_BRANCH}" == "master" ]] && [[ -z "${APPVEYOR_PULL_REQUEST_NUMBER}" ]]; then docker build -t "${APPVEYOR_REPO_NAME}:${APPVEYOR_BUILD_VERSION}" -t "${APPVEYOR_REPO_NAME}:${IMAGE_STABLE_TAG}" -t "${APPVEYOR_REPO_NAME}:latest" .; fi - # Push all images - - if [[ "${APPVEYOR_REPO_BRANCH}" == "master" ]] && [[ -z "${APPVEYOR_PULL_REQUEST_NUMBER}" ]]; then docker push "${APPVEYOR_REPO_NAME}" --all-tags; fi - # Logout - - docker logout deploy: release: ${APPVEYOR_BUILD_VERSION} diff --git a/package.json b/package.json index 8137e24..4f99fe3 100644 --- a/package.json +++ b/package.json @@ -75,63 +75,63 @@ "@types/eslint": "8.4.3" }, "dependencies": { - "@fastify/swagger": "^8.0.0", - "@liaoliaots/nestjs-redis": "^9.0.2", - "@nestjs/common": "^9.0.11", - "@nestjs/config": "^2.2.0", - "@nestjs/core": "^9.0.11", - "@nestjs/jwt": "^10.0.0", - "@nestjs/passport": "^9.0.0", - "@nestjs/platform-fastify": "^9.0.11", - "@nestjs/schedule": "^2.1.0", - "@nestjs/swagger": "^6.1.2", + "@fastify/swagger": "^8.3.1", + "@liaoliaots/nestjs-redis": "^9.0.5", + "@nestjs/common": "^9.3.10", + "@nestjs/config": "^2.3.1", + "@nestjs/core": "^9.3.10", + "@nestjs/jwt": "^10.0.2", + "@nestjs/passport": "^9.0.3", + "@nestjs/platform-fastify": "^9.3.10", + "@nestjs/schedule": "^2.2.0", + "@nestjs/swagger": "^6.2.1", "@nestjs/throttler": "^4.0.0", - "blizzapi": "^2.3.1", + "blizzapi": "^2.5.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", - "ioredis": "^5.2.3", - "joi": "^17.6.0", - "luxon": "^3.0.3", - "nestjs-pino": "^3.1.1", - "nestjs-request-context": "^2.0.1", + "ioredis": "^5.3.1", + "joi": "^17.8.4", + "luxon": "^3.3.0", + "nestjs-pino": "^3.1.2", + "nestjs-request-context": "^2.1.0", "passport": "^0.6.0", - "passport-jwt": "^4.0.0", + "passport-jwt": "^4.0.1", "reflect-metadata": "^0.1.13", - "rimraf": "^4.0.4", - "rxjs": "^7.5.6", + "rimraf": "^4.4.0", + "rxjs": "^7.8.0", "uuid": "^9.0.0" }, "devDependencies": { - "@nestjs/cli": "^9.1.3", - "@nestjs/schematics": "^9.0.3", - "@nestjs/testing": "^9.0.11", + "@nestjs/cli": "^9.2.0", + "@nestjs/schematics": "^9.0.4", + "@nestjs/testing": "^9.3.10", "@types/cron": "^2.0.0", - "@types/jest": "29.4.0", - "@types/luxon": "^3.0.1", + "@types/jest": "29.4.2", + "@types/luxon": "^3.2.0", "@types/module-alias": "^2.0.1", - "@types/node": "^18.7.18", - "@types/passport-jwt": "^3.0.6", + "@types/node": "^18.15.3", + "@types/passport-jwt": "^3.0.8", "@types/supertest": "^2.0.12", - "@types/uuid": "^9.0.0", - "eslint": "^8.23.1", - "eslint-config-lukemnet": "^1.0.1", - "husky": "^8.0.1", - "ioredis-mock": "^8.2.2", - "jest": "^29.0.3", - "jest-mock": "^29.0.3", - "lint-staged": "^13.0.3", + "@types/uuid": "^9.0.1", + "eslint": "^8.36.0", + "eslint-config-lukemnet": "^1.0.2", + "husky": "^8.0.3", + "ioredis-mock": "^8.2.6", + "jest": "^29.5.0", + "jest-mock": "^29.5.0", + "lint-staged": "^13.2.0", "make-cert": "^1.2.1", "module-alias": "^2.2.2", - "pino-pretty": "^9.1.0", - "prettier": "^2.7.1", + "pino-pretty": "^10.0.0", + "prettier": "^2.8.4", "pretty-quick": "^3.1.3", - "sort-package-json": "^2.0.0", + "sort-package-json": "^2.4.1", "source-map-support": "^0.5.21", - "supertest": "^6.2.4", - "ts-jest": "^29.0.1", - "ts-loader": "^9.3.1", + "supertest": "^6.3.3", + "ts-jest": "^29.0.5", + "ts-loader": "^9.4.2", "ts-node": "^10.9.1", - "tsconfig-paths": "^4.1.0", - "typescript": "^4.8.3" + "tsconfig-paths": "^4.1.2", + "typescript": "^4.9.5" } -} +} \ No newline at end of file