NPM Upgrade
- Removing deprecated `react-input-range` (not release-ready) - Using npm instead of yarn
This commit is contained in:
11
Dockerfile
11
Dockerfile
@ -116,9 +116,8 @@ ADD https://api.github.com/repos/jaedb/Iris/git/refs/heads/master version.json
|
||||
ENV IRIS_VERSION=develop
|
||||
RUN git clone --depth 1 --single-branch -b ${IRIS_VERSION} https://github.com/jaedb/Iris.git /iris \
|
||||
&& cd /iris \
|
||||
&& npm install -g yarn \
|
||||
&& yarn install \
|
||||
&& yarn run prod \
|
||||
&& npm install \
|
||||
&& npm run prod \
|
||||
&& python3 setup.py develop \
|
||||
&& mkdir -p /var/lib/mopidy/.config \
|
||||
&& ln -s /config /var/lib/mopidy/.config/mopidy \
|
||||
@ -131,10 +130,8 @@ RUN git clone --depth 1 --single-branch -b ${IRIS_VERSION} https://github.com/ja
|
||||
|
||||
# Install Mopidy Spotify
|
||||
ARG MOPIDY_SPOTIFY_TAG=v5.0.0a1
|
||||
RUN git clone -c advice.detachedHead=false \
|
||||
--single-branch --depth 1 \
|
||||
--branch ${MOPIDY_SPOTIFY_TAG} \
|
||||
https://github.com/mopidy/mopidy-spotify.git mopidy-spotify \
|
||||
RUN git clone --depth 1 --single-branch -b ${MOPIDY_SPOTIFY_TAG} \
|
||||
&& https://github.com/mopidy/mopidy-spotify.git mopidy-spotify
|
||||
|
||||
# Install additional mopidy extensions and Python dependencies via pip
|
||||
COPY docker/requirements.txt .
|
||||
|
||||
17508
package-lock.json
generated
Normal file
17508
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -27,7 +27,6 @@
|
||||
"react-ga": "3.3.1",
|
||||
"react-hotkeys-hook": "3.4.6",
|
||||
"react-in-viewport": "1.0.0-alpha.28",
|
||||
"react-input-range": "1.3.0",
|
||||
"react-redux": "8.0.2",
|
||||
"react-router": "6.3.0",
|
||||
"react-router-dom": "6.3.0",
|
||||
|
||||
@ -2,7 +2,7 @@ import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import { bindActionCreators } from 'redux';
|
||||
import { compact } from 'lodash';
|
||||
import InputRange from 'react-input-range';
|
||||
// import InputRange from 'react-input-range';
|
||||
import { Grid } from '../../components/Grid';
|
||||
import TrackList from '../../components/TrackList';
|
||||
import Thumbnail from '../../components/Thumbnail';
|
||||
@ -29,6 +29,12 @@ import Button from '../../components/Button';
|
||||
import { decodeUri, encodeUri } from '../../util/format';
|
||||
import { withRouter } from '../../util';
|
||||
|
||||
const InputRange = () => {
|
||||
return (
|
||||
<div />
|
||||
);
|
||||
}
|
||||
|
||||
class Recommendations extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
@ -52,4 +52,4 @@
|
||||
@import 'views/settings';
|
||||
@import 'views/modal';
|
||||
|
||||
@import "../../node_modules/react-input-range/lib/css/index.css";
|
||||
// @import "../../node_modules/react-input-range/lib/css/index.css";
|
||||
Reference in New Issue
Block a user