mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-11-22 21:49:51 +00:00
chore(node): update to node 22 LTS
This commit is contained in:
parent
81731e2237
commit
c2b174dd77
@ -31,7 +31,10 @@ done
|
||||
rm -rf /var/lib/apt/lists/{*,.*} /var/cache/apt/archives/{*,.*}
|
||||
EOF
|
||||
|
||||
# Set permissions and install node
|
||||
# Set permissions, purge outdated packages and install node
|
||||
RUN chmod 0755 /usr/sbin/install_packages && \
|
||||
apt update -qq && \
|
||||
apt upgrade -y && \
|
||||
apt autoremove --purge -y && \
|
||||
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash && \
|
||||
install_packages nodejs
|
||||
|
2
.github/workflows/__package.yml
vendored
2
.github/workflows/__package.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
||||
- name: Setup node environment ⚙️
|
||||
uses: actions/setup-node@v4.0.4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: lts/*
|
||||
check-latest: true
|
||||
cache: 'npm'
|
||||
|
||||
|
2
.github/workflows/__quality_checks.yml
vendored
2
.github/workflows/__quality_checks.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
||||
- name: Setup node environment ⚙️
|
||||
uses: actions/setup-node@v4.0.4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: lts/*
|
||||
check-latest: true
|
||||
cache: 'npm'
|
||||
|
||||
|
7
package-lock.json
generated
7
package-lock.json
generated
@ -4,6 +4,7 @@
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "jellyfin-vue",
|
||||
"license": "GPL-3.0-only",
|
||||
"workspaces": [
|
||||
"frontend",
|
||||
@ -19,9 +20,9 @@
|
||||
"vue-tsc": "2.1.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.8.1 <21.0.0",
|
||||
"npm": ">=10.1.0",
|
||||
"yarn": "Yarn is not supported. Please use NPM."
|
||||
"node": ">=22.11.0 <23.0.0",
|
||||
"npm": ">=10.9.0",
|
||||
"yarn": "yarn is not supported. Please use npm"
|
||||
}
|
||||
},
|
||||
"frontend": {
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"name": "jellyfin-vue",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"homepage": "https://jellyfin.org/",
|
||||
@ -17,9 +18,9 @@
|
||||
"packages/*"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=20.8.1 <21.0.0",
|
||||
"npm": ">=10.1.0",
|
||||
"yarn": "Yarn is not supported. Please use NPM."
|
||||
"node": ">=22.11.0 <23.0.0",
|
||||
"npm": ">=10.9.0",
|
||||
"yarn": "yarn is not supported. Please use npm"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "npm run lint --workspaces",
|
||||
|
@ -1,7 +1,7 @@
|
||||
## This dockerfile builds the client entirely in a Docker context
|
||||
|
||||
# slim image can't be used since we need git to fetch the commit hash
|
||||
FROM node:20-slim AS build
|
||||
FROM node:lts-slim AS build
|
||||
|
||||
# Set build arguments
|
||||
ARG IS_STABLE=0
|
||||
|
Loading…
Reference in New Issue
Block a user