Merge pull request #217 from sambartik/fix-dependencies

fix(deps): do not list email-validator as a devDependency
This commit is contained in:
Fallenbagel
2022-09-07 21:49:16 +05:00
committed by GitHub
8 changed files with 899 additions and 977 deletions

View File

@@ -3,31 +3,27 @@ name: 'create docker image on pull request and push to private registery'
on: on:
pull_request: pull_request:
branches: branches:
- develop - develop
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build-image: build-image:
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- - name: Checkout
name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- - name: Set up Docker Buildx
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- - name: Login to private registery
name: Login to private registery
uses: docker/login-action@v2.0.0 uses: docker/login-action@v2.0.0
with: with:
registry: ${{ secrets.REGISTRY_URL }} registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }} password: ${{ secrets.REGISTRY_PASSWORD }}
- - name: Build and push
name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: ./ context: ./

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,7 @@ _The original Overseerr team have been busy and Jellyfin/Emby support aren't on
- Jellyfin Support - Jellyfin Support
- Emby Support - Emby Support
(Upcoming Features include: Multiple Server Instances, Music Support, Ability to change email address and much more!) (Upcoming Features include: Multiple Server Instances, Music Support, Ability to change email address and much more!)
Along with all the existing Overseerr features: Along with all the existing Overseerr features:

View File

@@ -50,6 +50,7 @@
"csurf": "1.11.0", "csurf": "1.11.0",
"date-fns": "2.29.1", "date-fns": "2.29.1",
"email-templates": "9.0.0", "email-templates": "9.0.0",
"email-validator": "2.0.4",
"express": "4.18.1", "express": "4.18.1",
"express-openapi-validator": "4.13.8", "express-openapi-validator": "4.13.8",
"express-rate-limit": "6.5.1", "express-rate-limit": "6.5.1",
@@ -134,7 +135,6 @@
"copyfiles": "2.4.1", "copyfiles": "2.4.1",
"cypress": "10.6.0", "cypress": "10.6.0",
"cz-conventional-changelog": "3.3.0", "cz-conventional-changelog": "3.3.0",
"email-validator": "2.0.4",
"eslint": "8.22.0", "eslint": "8.22.0",
"eslint-config-next": "12.2.5", "eslint-config-next": "12.2.5",
"eslint-config-prettier": "8.5.0", "eslint-config-prettier": "8.5.0",

View File

@@ -1,6 +1,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-explicit-any */
import axios, { AxiosInstance } from 'axios'; import logger from '@server/logger';
import logger from '../logger'; import type { AxiosInstance } from 'axios';
import axios from 'axios';
export interface JellyfinUserResponse { export interface JellyfinUserResponse {
Name: string; Name: string;
@@ -16,7 +17,7 @@ export interface JellyfinLoginResponse {
} }
export interface JellyfinUserListResponse { export interface JellyfinUserListResponse {
users: Array<JellyfinUserResponse>; users: JellyfinUserResponse[];
} }
export interface JellyfinLibrary { export interface JellyfinLibrary {

View File

@@ -1,4 +1,4 @@
import { MigrationInterface, QueryRunner } from 'typeorm'; import type { MigrationInterface, QueryRunner } from 'typeorm';
export class AddJellyfinUserParams1613379909641 implements MigrationInterface { export class AddJellyfinUserParams1613379909641 implements MigrationInterface {
name = 'AddJellyfinUserParams1613379909641'; name = 'AddJellyfinUserParams1613379909641';

View File

@@ -1,4 +1,4 @@
import { MigrationInterface, QueryRunner } from 'typeorm'; import type { MigrationInterface, QueryRunner } from 'typeorm';
export class ServerTypeEnum1613412948344 implements MigrationInterface { export class ServerTypeEnum1613412948344 implements MigrationInterface {
name = 'ServerTypeEnum1613412948344'; name = 'ServerTypeEnum1613412948344';

View File

@@ -1,4 +1,4 @@
import { MigrationInterface, QueryRunner } from 'typeorm'; import type { MigrationInterface, QueryRunner } from 'typeorm';
export class AddJellyfinDeviceId1613670041760 implements MigrationInterface { export class AddJellyfinDeviceId1613670041760 implements MigrationInterface {
name = 'AddJellyfinDeviceId1613670041760'; name = 'AddJellyfinDeviceId1613670041760';