1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3972 from thornbill/node-16

Upgrade to node 16
This commit is contained in:
Bill Thornton 2022-09-30 15:43:53 -04:00 committed by GitHub
commit 0425271b43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 7 deletions

View file

@ -16,7 +16,7 @@ jobs:
- task: NodeTool@0
displayName: 'Install Node'
inputs:
versionSpec: '12.x'
versionSpec: '16.x'
- task: Cache@2
displayName: 'Cache node_modules'

View file

@ -18,7 +18,7 @@ jobs:
- name: Setup node environment
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # tag=v3.5.0
with:
node-version: 12
node-version: 16
check-latest: true
- name: Get npm cache directory path
@ -53,7 +53,7 @@ jobs:
- name: Setup node environment
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # tag=v3.5.0
with:
node-version: 12
node-version: 16
check-latest: true
- name: Get npm cache directory path
@ -91,7 +91,7 @@ jobs:
- name: Setup node environment
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # tag=v3.5.0
with:
node-version: 12
node-version: 16
check-latest: true
- name: Get npm cache directory path

1
.npmrc
View file

@ -1,2 +1,3 @@
engine-strict=true
fund=false
save-exact=true

View file

@ -13,7 +13,7 @@ ENV IS_DOCKER=YES
RUN yum update -y \
&& yum install -y epel-release \
&& yum install -y @buildsys-build rpmdevtools git yum-plugins-core autoconf automake glibc-devel gcc-c++ make \
&& curl -fsSL https://rpm.nodesource.com/setup_12.x | bash - \
&& curl -fsSL https://rpm.nodesource.com/setup_16.x | bash - \
&& yum install -y nodejs
# Link to build script

View file

@ -13,7 +13,7 @@ ENV IS_DOCKER=YES
# Prepare Debian build environment
RUN apt-get update \
&& apt-get install -y debhelper mmv git curl \
&& curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \
&& curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y nodejs

View file

@ -12,7 +12,7 @@ ENV IS_DOCKER=YES
# Prepare Debian build environment
RUN apt-get update \
&& apt-get install -y mmv curl git \
&& curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \
&& curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y nodejs
# Link to build script

2
package-lock.json generated
View file

@ -112,6 +112,8 @@
"worker-loader": "3.0.8"
},
"engines": {
"node": ">=16.13.1",
"npm": ">=8.1.2",
"yarn": "YARN NO LONGER USED - use npm instead."
}
},

View file

@ -135,6 +135,8 @@
"stylelint:scss": "stylelint --config=\".stylelintrc.scss.json\" \"src/**/*.scss\""
},
"engines": {
"node": ">=16.13.1",
"npm": ">=8.1.2",
"yarn": "YARN NO LONGER USED - use npm instead."
}
}