From 6c630b6c029948aef2f6077b65ddf7f4de69e5ea 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 17:06:46 +0100 Subject: [PATCH] Final build (#646) --- README.md | 3 +- appveyor.yml | 10 ------ package.json | 88 ++++++++++++++++++++++++++-------------------------- 3 files changed, 45 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index ae2edaf..af299ee 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # sc2-api-service (SAS) -[![Build status](https://ci.appveyor.com/api/projects/status/5lunfkv0ot8rh3yt/branch/master?svg=true)](https://ci.appveyor.com/project/lwojcik/sc2-api-service/branch/master) -[![codecov](https://codecov.io/gh/sc2pte/sc2-api-service/branch/master/graph/badge.svg?token=sFEmFjKiRo)](https://codecov.io/gh/sc2pte/sc2-api-service) +> **As of 15 March 2023 this project is no longer updated or maintained.** REST API service retrieving and caching data objects from [StarCraft II Community APIs](https://develop.battle.net/documentation/starcraft-2/community-apis) and [StarCraft II Game Data APIs](https://develop.battle.net/documentation/starcraft-2/game-data-apis). diff --git a/appveyor.yml b/appveyor.yml index 2b6fa55..4b57f22 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 e234235..04d5d2d 100644 --- a/package.json +++ b/package.json @@ -74,66 +74,66 @@ } }, "dependencies": { - "@fastify/swagger": "^8.0.0", - "@liaoliaots/nestjs-redis": "^9.0.2", + "@fastify/swagger": "^8.3.1", + "@liaoliaots/nestjs-redis": "^9.0.5", "@nestjs/axios": "^2.0.0", - "@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/swagger": "^6.1.2", + "@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/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", - "joi": "^17.6.0", - "luxon": "^3.0.3", - "nestjs-pino": "^3.1.1", - "nestjs-request-context": "^2.0.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", - "starcraft2-api": "^2.4.1", - "ts-mixer": "^6.0.1", + "rimraf": "^4.4.0", + "rxjs": "^7.8.0", + "starcraft2-api": "^2.5.0", + "ts-mixer": "^6.0.3", "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/cache-manager": "^4.0.2", - "@types/cache-manager-ioredis": "^2.0.2", - "@types/jest": "29.4.0", - "@types/luxon": "^3.0.1", + "@types/cache-manager-ioredis": "^2.0.3", + "@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": "^5.2.3", - "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": "^5.3.1", + "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" } }