-
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update Next.js, React.js and Node.js (#815)
* refactor: update Next.js and React.js * refactor: update Next.js images * refactor: update ESLint rules and fix warnings/errors * fix: remove old intl polyfill * fix: add proper size to next/image components * fix: adjust full-size for next/image components * fix: temporary allow all domains for image optimization * build: fixes an issue where dev env could lead to javascript heap out of memory * fix: resolve webpack cache issue with country-flag-icons * refactor: switch compiler from Babel to SWC * fix: resize logo in sidebar * fix: break word on long path to avoid text overflow * chore: added sharp for production image optimisation * fix: change extract script for i18n to a custom script * fix: resolve GitHub CodeQL alert * chore: temporarily remove builds for ARMv7 * fix: resize avatar images * refactor: update Node.js to v20 * fix: resolve various UI issues * build: migrate yarn to pnpm and restrict engine to node@^20.0.0 * ci: specify the pnpm version to use in workflow actions * ci: fix typo in pnpm action-setup for cypress workflow * test(cypress): use pnpm instead of yarn * style: ran prettier on pnpm-lock * ci(cypress): setup nodejs v20 in cypress workflow * ci: pnpm cache to reduce install time * ci: use sh shell to get pnpm store directory * build(dockerfile): migrate to pnpm from yarn in docker builds * build(dockerfile): copy the proper pnpm lockfile * build: install pnpm for all platforms * build(dockerfile): remove unnecessary `&&` on apk installation steps * build: migrate pnpm 8 to 9 * build(dockerfile): add node-gyp back in * build(dockerfile): install node-gyp through npm * build(dockerfile): ignore scripts to not run husky install when devdependencies are pruned * build: migrate to pnpm from yarn * chore: remove a section that is no longer relevant --------- Co-authored-by: fallenbagel <[email protected]>
- Loading branch information
1 parent
4fddf89
commit 989af67
Showing
172 changed files
with
28,146 additions
and
15,482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,6 @@ jobs: | |
architecture: | ||
- amd64 | ||
- arm64 | ||
- armhf | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
engine-strict=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
FROM node:18.18-alpine | ||
FROM node:20-alpine | ||
|
||
COPY . /app | ||
WORKDIR /app | ||
|
||
RUN yarn | ||
Run npm install --global pnpm | ||
|
||
CMD yarn dev | ||
RUN pnpm install | ||
|
||
CMD pnpm dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ _The original Overseerr team have been busy and Jellyfin/Emby support aren't on | |
|
||
## Current Features | ||
|
||
<!-- --> | ||
|
||
- Full Jellyfin/Emby/Plex integration including authentication with user import & management | ||
- Supports Movies, Shows and Mixed Libraries | ||
- Ability to change email addresses for smtp purposes | ||
|
@@ -38,10 +40,6 @@ With more features on the way! Check out our [issue tracker](https://github.com/ | |
|
||
## Getting Started | ||
|
||
#### Pre-requisite (Important) | ||
|
||
_*On Jellyfin/Emby, ensure the `Settings > Home > Automatically group content from the following folders into views such as 'Movies', 'Music' and 'TV'` is turned off*_ | ||
|
||
### Launching Jellyseerr using Docker (Recommended) | ||
|
||
Check out our docker hub for instructions on how to install and run Jellyseerr: | ||
|
@@ -53,28 +51,30 @@ https://hub.docker.com/r/fallenbagel/jellyseerr | |
|
||
Pre-requisites: | ||
|
||
- Nodejs [v18](https://nodejs.org/download/release/v18.18.2) | ||
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install) | ||
- Nodejs [v20](https://nodejs.org/en/download) | ||
- Pnpm [v9](https://pnpm.io/installation) | ||
- Download/git clone the source code from the github (Either develop branch or main for stable) | ||
|
||
```cmd | ||
npm i -g win-node-env | ||
set CYPRESS_INSTALL_BINARY=0 | ||
yarn install --frozen-lockfile --network-timeout 1000000 | ||
yarn run build | ||
yarn start | ||
pnpm install --frozen-lockfile | ||
pnpm add [email protected] | ||
pnpm run build | ||
pnpm start | ||
``` | ||
|
||
(You can use task scheduler to run a bat script with `@echo off` and `yarn start` to run jellyseerr in the background) | ||
(You can use task scheduler to run a bat script with `@echo off` and `pnpm start` to run jellyseerr in the background) | ||
(You can also use nssm to run jellyseerr as a service, see [nssm](https://nssm.cc/usage) for more information) | ||
|
||
_To set env variables such as `JELLYFIN_TYPE=emby` create a file called `.env` in the root directory of jellyseerr_ | ||
|
||
#### Linux | ||
|
||
**Pre-requisites:** | ||
|
||
- Nodejs [v18](https://nodejs.org/en/download/package-manager) | ||
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install) (on Debian based distros, the package manager provided `yarn` is different and is a package called cmdlet. You can remove that using `apt-remove cmdlet` then install yarn using `npm install -g yarn`) | ||
- Nodejs [v20](https://nodejs.org/en/download) | ||
- Pnpm [v9](https://pnpm.io/installation) | ||
- Git | ||
|
||
**Steps:** | ||
|
@@ -95,11 +95,11 @@ git checkout main | |
3. Then install the dependencies and build the dist | ||
|
||
```bash | ||
CYPRESS_INSTALL_BINARY=0 yarn install --frozen-lockfile --network-timeout 1000000 | ||
yarn run build | ||
CYPRESS_INSTALL_BINARY=0 pnpm install --frozen-lockfile | ||
pnpm build | ||
``` | ||
|
||
4. Now you can start jellyseerr using `yarn start` and opening http://localhost:5055 in your browser. | ||
4. Now you can start jellyseerr using `pnpm start` and opening http://localhost:5055 in your browser. | ||
|
||
5. If you want to run jellyseerr as a _Systemd-service:_ | ||
|
||
|
@@ -147,7 +147,7 @@ WantedBy=multi-user.target | |
|
||
Archlinux: [AUR](https://aur.archlinux.org/packages/jellyseerr) | ||
Nixpkg: [Nixpkg](https://search.nixos.org/packages?channel=unstable&show=jellyseerr) | ||
Snap: [Snap](https://snapcraft.io/jellyseerr) | ||
~Snap: [Snap](https://snapcraft.io/jellyseerr)~(Deprecated) | ||
|
||
## Preview | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.