forked from Mirrors/gomuks
web: update react-spinners and stop using --legacy-peer-deps
This commit is contained in:
parent
803505385a
commit
92c5e86689
6 changed files with 11 additions and 12 deletions
2
.github/workflows/js.yml
vendored
2
.github/workflows/js.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci --include=dev --legacy-peer-deps
|
||||
run: npm ci --include=dev
|
||||
|
||||
- name: Run ESLint
|
||||
run: npm run lint
|
||||
|
|
|
@ -20,7 +20,7 @@ frontend:
|
|||
- web/node_modules
|
||||
script:
|
||||
- cd web
|
||||
- npm install --legacy-peer-deps --include=dev
|
||||
- npm install --include=dev
|
||||
- npm run build
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
|
@ -370,8 +370,7 @@ tasks:
|
|||
- sh: npm version
|
||||
msg: "Looks like npm isn't installed. Npm is part of the Node installer: https://nodejs.org/en/download/"
|
||||
cmds:
|
||||
# - npm install --silent --no-progress
|
||||
- npm install --legacy-peer-deps
|
||||
- npm install --silent --no-progress
|
||||
|
||||
build:frontend:
|
||||
summary: Build the frontend project
|
||||
|
|
|
@ -20,7 +20,7 @@ import (
|
|||
"embed"
|
||||
)
|
||||
|
||||
//go:generate npm install --legacy-peer-deps
|
||||
//go:generate npm install
|
||||
//go:generate npm run build
|
||||
//go:embed dist
|
||||
var Frontend embed.FS
|
||||
|
|
12
web/package-lock.json
generated
12
web/package-lock.json
generated
|
@ -17,7 +17,7 @@
|
|||
"react": "^19.0.0",
|
||||
"react-blurhash": "^0.3.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"react-spinners": "^0.14.1",
|
||||
"react-spinners": "^0.15.0",
|
||||
"unhomoglyph": "^1.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -4722,13 +4722,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/react-spinners": {
|
||||
"version": "0.14.1",
|
||||
"resolved": "https://registry.npmjs.org/react-spinners/-/react-spinners-0.14.1.tgz",
|
||||
"integrity": "sha512-2Izq+qgQ08HTofCVEdcAQCXFEYfqTDdfeDQJeo/HHQiQJD4imOicNLhkfN2eh1NYEWVOX4D9ok2lhuDB0z3Aag==",
|
||||
"version": "0.15.0",
|
||||
"resolved": "https://registry.npmjs.org/react-spinners/-/react-spinners-0.15.0.tgz",
|
||||
"integrity": "sha512-ZO3/fNB9Qc+kgpG3SfdlMnvTX6LtLmTnOogb3W6sXIaU/kZ1ydEViPfZ06kSOaEsor58C/tzXw2wROGQu3X2pA==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
||||
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
|
||||
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/reflect.getprototypeof": {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"react": "^19.0.0",
|
||||
"react-blurhash": "^0.3.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"react-spinners": "^0.14.1",
|
||||
"react-spinners": "^0.15.0",
|
||||
"unhomoglyph": "^1.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Add table
Reference in a new issue