mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
build(deps): bump dependencies (#2584)
* build(deps): bump dependencies * build(ci): disable broken snap builds
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
name: Lint & Test Build
|
name: Lint & Test Build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: node:16.13-alpine
|
container: node:16.14-alpine
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
name: Lint & Test Build
|
name: Lint & Test Build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: node:16.13-alpine
|
container: node:16.14-alpine
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -32,9 +32,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 16
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
107
.github/workflows/snap.yaml
vendored
107
.github/workflows/snap.yaml
vendored
@@ -1,107 +0,0 @@
|
|||||||
name: Publish Snap
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
jobs:
|
|
||||||
name: Job Check
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
||||||
steps:
|
|
||||||
- name: Cancel Previous Runs
|
|
||||||
uses: styfle/cancel-workflow-action@0.9.1
|
|
||||||
with:
|
|
||||||
access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
test:
|
|
||||||
name: Lint & Test Build
|
|
||||||
needs: jobs
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
container: node:16.13-alpine
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Install dependencies
|
|
||||||
env:
|
|
||||||
HUSKY_SKIP_INSTALL: 1
|
|
||||||
run: yarn
|
|
||||||
- name: Lint
|
|
||||||
run: yarn lint
|
|
||||||
- name: Build
|
|
||||||
run: yarn build
|
|
||||||
|
|
||||||
build-snap:
|
|
||||||
name: Build Snap Package (${{ matrix.architecture }})
|
|
||||||
needs: test
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
architecture:
|
|
||||||
- amd64
|
|
||||||
- arm64
|
|
||||||
- armhf
|
|
||||||
steps:
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Prepare
|
|
||||||
id: prepare
|
|
||||||
run: |
|
|
||||||
git fetch --prune --unshallow --tags
|
|
||||||
if [[ $GITHUB_REF == refs/tags/* || $GITHUB_REF == refs/heads/master ]]; then
|
|
||||||
echo ::set-output name=RELEASE::stable
|
|
||||||
else
|
|
||||||
echo ::set-output name=RELEASE::edge
|
|
||||||
fi
|
|
||||||
- name: Set Up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v1
|
|
||||||
with:
|
|
||||||
image: tonistiigi/binfmt@sha256:df15403e06a03c2f461c1f7938b171fda34a5849eb63a70e2a2109ed5a778bde
|
|
||||||
- name: Build Snap Package
|
|
||||||
uses: diddlesnaps/snapcraft-multiarch-action@v1
|
|
||||||
id: build
|
|
||||||
with:
|
|
||||||
architecture: ${{ matrix.architecture }}
|
|
||||||
- name: Upload Snap Package
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: overseerr-snap-package-${{ matrix.architecture }}
|
|
||||||
path: ${{ steps.build.outputs.snap }}
|
|
||||||
- name: Review Snap Package
|
|
||||||
uses: diddlesnaps/snapcraft-review-tools-action@v1
|
|
||||||
with:
|
|
||||||
snap: ${{ steps.build.outputs.snap }}
|
|
||||||
- name: Publish Snap Package
|
|
||||||
uses: snapcore/action-publish@v1
|
|
||||||
with:
|
|
||||||
store_login: ${{ secrets.SNAP_LOGIN }}
|
|
||||||
snap: ${{ steps.build.outputs.snap }}
|
|
||||||
release: ${{ steps.prepare.outputs.RELEASE }}
|
|
||||||
|
|
||||||
discord:
|
|
||||||
name: Send Discord Notification
|
|
||||||
needs: build-snap
|
|
||||||
if: always() && !contains(github.event.head_commit.message, '[skip ci]')
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- name: Get Build Job Status
|
|
||||||
uses: technote-space/workflow-conclusion-action@v2
|
|
||||||
- name: Combine Job Status
|
|
||||||
id: status
|
|
||||||
run: |
|
|
||||||
failures=(neutral, skipped, timed_out, action_required)
|
|
||||||
if [[ ${array[@]} =~ $WORKFLOW_CONCLUSION ]]; then
|
|
||||||
echo ::set-output name=status::failure
|
|
||||||
else
|
|
||||||
echo ::set-output name=status::$WORKFLOW_CONCLUSION
|
|
||||||
fi
|
|
||||||
- name: Post Status to Discord
|
|
||||||
uses: sarisia/actions-status-discord@v1
|
|
||||||
with:
|
|
||||||
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
|
||||||
status: ${{ steps.status.outputs.status }}
|
|
||||||
title: ${{ github.workflow }}
|
|
||||||
nofail: true
|
|
@@ -1,4 +1,4 @@
|
|||||||
FROM node:16.13-alpine AS BUILD_IMAGE
|
FROM node:16.14-alpine AS BUILD_IMAGE
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ RUN touch config/DOCKER
|
|||||||
RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json
|
RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json
|
||||||
|
|
||||||
|
|
||||||
FROM node:16.13-alpine
|
FROM node:16.14-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM node:16.13-alpine
|
FROM node:16.14-alpine
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
79
package.json
79
package.json
@@ -22,34 +22,35 @@
|
|||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@headlessui/react": "^1.4.3",
|
"@headlessui/react": "^1.5.0",
|
||||||
"@heroicons/react": "^1.0.5",
|
"@heroicons/react": "^1.0.6",
|
||||||
"@supercharge/request-ip": "^1.1.2",
|
"@supercharge/request-ip": "^1.2.0",
|
||||||
"@svgr/webpack": "^6.2.1",
|
"@svgr/webpack": "^6.2.1",
|
||||||
"@tanem/react-nprogress": "^4.0.6",
|
"@tanem/react-nprogress": "^4.0.10",
|
||||||
"ace-builds": "^1.4.14",
|
"ace-builds": "^1.4.14",
|
||||||
"axios": "^0.25.0",
|
"axios": "^0.26.1",
|
||||||
"bcrypt": "^5.0.1",
|
"bcrypt": "^5.0.1",
|
||||||
"bowser": "^2.11.0",
|
"bowser": "^2.11.0",
|
||||||
"connect-typeorm": "^1.1.4",
|
"connect-typeorm": "^1.1.4",
|
||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
"copy-to-clipboard": "^3.3.1",
|
"copy-to-clipboard": "^3.3.1",
|
||||||
"country-flag-icons": "^1.4.20",
|
"country-flag-icons": "^1.4.21",
|
||||||
"csurf": "^1.11.0",
|
"csurf": "^1.11.0",
|
||||||
"email-templates": "^8.0.8",
|
"email-templates": "^8.0.10",
|
||||||
"express": "^4.17.2",
|
"express": "^4.17.3",
|
||||||
"express-openapi-validator": "^4.13.5",
|
"express-openapi-validator": "^4.13.6",
|
||||||
"express-rate-limit": "^6.2.0",
|
"express-rate-limit": "^6.3.0",
|
||||||
"express-session": "^1.17.2",
|
"express-session": "^1.17.2",
|
||||||
"formik": "^2.2.9",
|
"formik": "^2.2.9",
|
||||||
"gravatar-url": "^3.1.0",
|
"gravatar-url": "^3.1.0",
|
||||||
"intl": "^1.2.5",
|
"intl": "^1.2.5",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"next": "12.0.10",
|
"next": "12.1.0",
|
||||||
"node-cache": "^5.1.2",
|
"node-cache": "^5.1.2",
|
||||||
|
"node-gyp": "^9.0.0",
|
||||||
"node-schedule": "^2.1.0",
|
"node-schedule": "^2.1.0",
|
||||||
"nodemailer": "^6.7.2",
|
"nodemailer": "^6.7.2",
|
||||||
"openpgp": "^5.1.0",
|
"openpgp": "^5.2.0",
|
||||||
"plex-api": "^5.3.2",
|
"plex-api": "^5.3.2",
|
||||||
"pug": "^3.0.2",
|
"pug": "^3.0.2",
|
||||||
"react": "17.0.2",
|
"react": "17.0.2",
|
||||||
@@ -57,10 +58,10 @@
|
|||||||
"react-animate-height": "^2.0.23",
|
"react-animate-height": "^2.0.23",
|
||||||
"react-dom": "17.0.2",
|
"react-dom": "17.0.2",
|
||||||
"react-intersection-observer": "^8.33.1",
|
"react-intersection-observer": "^8.33.1",
|
||||||
"react-intl": "5.24.6",
|
"react-intl": "5.24.7",
|
||||||
"react-markdown": "^8.0.0",
|
"react-markdown": "^8.0.0",
|
||||||
"react-select": "^5.2.2",
|
"react-select": "^5.2.2",
|
||||||
"react-spring": "^9.4.2",
|
"react-spring": "^9.4.4",
|
||||||
"react-toast-notifications": "^2.5.1",
|
"react-toast-notifications": "^2.5.1",
|
||||||
"react-transition-group": "^4.4.2",
|
"react-transition-group": "^4.4.2",
|
||||||
"react-truncate-markup": "^5.1.0",
|
"react-truncate-markup": "^5.1.0",
|
||||||
@@ -70,26 +71,26 @@
|
|||||||
"semver": "^7.3.5",
|
"semver": "^7.3.5",
|
||||||
"sqlite3": "^5.0.2",
|
"sqlite3": "^5.0.2",
|
||||||
"swagger-ui-express": "^4.3.0",
|
"swagger-ui-express": "^4.3.0",
|
||||||
"swr": "^1.2.1",
|
"swr": "^1.2.2",
|
||||||
"typeorm": "0.2.41",
|
"typeorm": "0.2.45",
|
||||||
"web-push": "^3.4.5",
|
"web-push": "^3.4.5",
|
||||||
"winston": "^3.5.1",
|
"winston": "^3.6.0",
|
||||||
"winston-daily-rotate-file": "^4.6.0",
|
"winston-daily-rotate-file": "^4.6.1",
|
||||||
"xml2js": "^0.4.23",
|
"xml2js": "^0.4.23",
|
||||||
"yamljs": "^0.3.0",
|
"yamljs": "^0.3.0",
|
||||||
"yup": "^0.32.11"
|
"yup": "^0.32.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.17.0",
|
"@babel/cli": "^7.17.6",
|
||||||
"@commitlint/cli": "^16.1.0",
|
"@commitlint/cli": "^16.2.1",
|
||||||
"@commitlint/config-conventional": "^16.0.0",
|
"@commitlint/config-conventional": "^16.2.1",
|
||||||
"@semantic-release/changelog": "^6.0.1",
|
"@semantic-release/changelog": "^6.0.1",
|
||||||
"@semantic-release/commit-analyzer": "^9.0.2",
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
||||||
"@semantic-release/exec": "^6.0.3",
|
"@semantic-release/exec": "^6.0.3",
|
||||||
"@semantic-release/git": "^10.0.1",
|
"@semantic-release/git": "^10.0.1",
|
||||||
"@tailwindcss/aspect-ratio": "^0.4.0",
|
"@tailwindcss/aspect-ratio": "^0.4.0",
|
||||||
"@tailwindcss/forms": "^0.4.0",
|
"@tailwindcss/forms": "^0.5.0",
|
||||||
"@tailwindcss/typography": "^0.5.1",
|
"@tailwindcss/typography": "^0.5.2",
|
||||||
"@types/bcrypt": "^5.0.0",
|
"@types/bcrypt": "^5.0.0",
|
||||||
"@types/cookie-parser": "^1.4.2",
|
"@types/cookie-parser": "^1.4.2",
|
||||||
"@types/country-flag-icons": "^1.2.0",
|
"@types/country-flag-icons": "^1.2.0",
|
||||||
@@ -97,12 +98,12 @@
|
|||||||
"@types/email-templates": "^8.0.4",
|
"@types/email-templates": "^8.0.4",
|
||||||
"@types/express": "^4.17.13",
|
"@types/express": "^4.17.13",
|
||||||
"@types/express-session": "^1.17.4",
|
"@types/express-session": "^1.17.4",
|
||||||
"@types/lodash": "^4.14.178",
|
"@types/lodash": "^4.14.179",
|
||||||
"@types/node": "^17.0.16",
|
"@types/node": "^17.0.21",
|
||||||
"@types/node-schedule": "^1.3.2",
|
"@types/node-schedule": "^1.3.2",
|
||||||
"@types/nodemailer": "^6.4.4",
|
"@types/nodemailer": "^6.4.4",
|
||||||
"@types/react": "^17.0.39",
|
"@types/react": "^17.0.40",
|
||||||
"@types/react-dom": "^17.0.11",
|
"@types/react-dom": "^17.0.13",
|
||||||
"@types/react-transition-group": "^4.4.4",
|
"@types/react-transition-group": "^4.4.4",
|
||||||
"@types/secure-random-password": "^0.2.1",
|
"@types/secure-random-password": "^0.2.1",
|
||||||
"@types/semver": "^7.3.9",
|
"@types/semver": "^7.3.9",
|
||||||
@@ -111,34 +112,34 @@
|
|||||||
"@types/xml2js": "^0.4.9",
|
"@types/xml2js": "^0.4.9",
|
||||||
"@types/yamljs": "^0.2.31",
|
"@types/yamljs": "^0.2.31",
|
||||||
"@types/yup": "^0.29.13",
|
"@types/yup": "^0.29.13",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
"@typescript-eslint/eslint-plugin": "^5.14.0",
|
||||||
"@typescript-eslint/parser": "^5.11.0",
|
"@typescript-eslint/parser": "^5.14.0",
|
||||||
"autoprefixer": "^10.4.2",
|
"autoprefixer": "^10.4.2",
|
||||||
"babel-plugin-react-intl": "^8.2.25",
|
"babel-plugin-react-intl": "^8.2.25",
|
||||||
"babel-plugin-react-intl-auto": "^3.3.0",
|
"babel-plugin-react-intl-auto": "^3.3.0",
|
||||||
"commitizen": "^4.2.4",
|
"commitizen": "^4.2.4",
|
||||||
"copyfiles": "^2.4.1",
|
"copyfiles": "^2.4.1",
|
||||||
"cz-conventional-changelog": "^3.3.0",
|
"cz-conventional-changelog": "^3.3.0",
|
||||||
"eslint": "^8.8.0",
|
"eslint": "^8.11.0",
|
||||||
"eslint-config-next": "^12.0.10",
|
"eslint-config-next": "^12.1.0",
|
||||||
"eslint-config-prettier": "^8.3.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-formatjs": "^3.0.0",
|
"eslint-plugin-formatjs": "^3.0.0",
|
||||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"eslint-plugin-react": "^7.28.0",
|
"eslint-plugin-react": "^7.29.3",
|
||||||
"eslint-plugin-react-hooks": "^4.3.0",
|
"eslint-plugin-react-hooks": "^4.3.0",
|
||||||
"extract-react-intl-messages": "^4.1.1",
|
"extract-react-intl-messages": "^4.1.1",
|
||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"lint-staged": "^12.3.3",
|
"lint-staged": "^12.3.5",
|
||||||
"nodemon": "^2.0.15",
|
"nodemon": "^2.0.15",
|
||||||
"postcss": "^8.4.6",
|
"postcss": "^8.4.8",
|
||||||
"prettier": "^2.5.1",
|
"prettier": "^2.5.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.1.7",
|
"prettier-plugin-tailwindcss": "^0.1.8",
|
||||||
"semantic-release": "^19.0.2",
|
"semantic-release": "^19.0.2",
|
||||||
"semantic-release-docker-buildx": "^1.0.1",
|
"semantic-release-docker-buildx": "^1.0.1",
|
||||||
"tailwindcss": "^3.0.19",
|
"tailwindcss": "^3.0.23",
|
||||||
"ts-node": "^10.5.0",
|
"ts-node": "^10.7.0",
|
||||||
"typescript": "^4.5.5"
|
"typescript": "^4.6.2"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"sqlite3/node-gyp": "^8.4.1"
|
"sqlite3/node-gyp": "^8.4.1"
|
||||||
|
@@ -11,9 +11,9 @@ confinement: strict
|
|||||||
parts:
|
parts:
|
||||||
overseerr:
|
overseerr:
|
||||||
plugin: nodejs
|
plugin: nodejs
|
||||||
nodejs-version: '16.13.1'
|
nodejs-version: '16.14.0'
|
||||||
nodejs-package-manager: 'yarn'
|
nodejs-package-manager: 'yarn'
|
||||||
nodejs-yarn-version: v1.22.10
|
nodejs-yarn-version: v1.22.17
|
||||||
build-packages:
|
build-packages:
|
||||||
- git
|
- git
|
||||||
- on arm64:
|
- on arm64:
|
||||||
|
@@ -18,7 +18,7 @@ const messages = defineMessages({
|
|||||||
importfromplex: 'Import Plex Users',
|
importfromplex: 'Import Plex Users',
|
||||||
importfromplexerror: 'Something went wrong while importing Plex users.',
|
importfromplexerror: 'Something went wrong while importing Plex users.',
|
||||||
importedfromplex:
|
importedfromplex:
|
||||||
'<strong>{userCount}</strong> {userCount, plural, one {user} other {users}} Plex users imported successfully!',
|
'<strong>{userCount}</strong> Plex {userCount, plural, one {user} other {users}} imported successfully!',
|
||||||
user: 'User',
|
user: 'User',
|
||||||
nouserstoimport: 'There are no Plex users to import.',
|
nouserstoimport: 'There are no Plex users to import.',
|
||||||
newplexsigninenabled:
|
newplexsigninenabled:
|
||||||
|
@@ -856,7 +856,7 @@
|
|||||||
"components.UserList.displayName": "Display Name",
|
"components.UserList.displayName": "Display Name",
|
||||||
"components.UserList.edituser": "Edit User Permissions",
|
"components.UserList.edituser": "Edit User Permissions",
|
||||||
"components.UserList.email": "Email Address",
|
"components.UserList.email": "Email Address",
|
||||||
"components.UserList.importedfromplex": "<strong>{userCount}</strong> {userCount, plural, one {user} other {users}} Plex users imported successfully!",
|
"components.UserList.importedfromplex": "<strong>{userCount}</strong> Plex {userCount, plural, one {user} other {users}} imported successfully!",
|
||||||
"components.UserList.importfromplex": "Import Plex Users",
|
"components.UserList.importfromplex": "Import Plex Users",
|
||||||
"components.UserList.importfromplexerror": "Something went wrong while importing Plex users.",
|
"components.UserList.importfromplexerror": "Something went wrong while importing Plex users.",
|
||||||
"components.UserList.localLoginDisabled": "The <strong>Enable Local Sign-In</strong> setting is currently disabled.",
|
"components.UserList.localLoginDisabled": "The <strong>Enable Local Sign-In</strong> setting is currently disabled.",
|
||||||
|
Reference in New Issue
Block a user