Skip to content

Commit

Permalink
chore(node): update to node 22 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Nov 4, 2024
1 parent 81731e2 commit c2b174d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion .github/workflows/__package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Setup node environment ⚙️
uses: actions/[email protected]
with:
node-version: 20
node-version: lts/*
check-latest: true
cache: 'npm'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup node environment ⚙️
uses: actions/[email protected]
with:
node-version: 20
node-version: lts/*
check-latest: true
cache: 'npm'

Expand Down
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
lockfile-version=3
save-exact=true
engine-strict=true

Expand Down
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "jellyfin-vue",
"private": true,
"type": "module",
"homepage": "https://jellyfin.org/",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packaging/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c2b174d

Please sign in to comment.