Package upgrades

This commit is contained in:
2020-02-04 12:59:58 -06:00
parent 6095186ffc
commit c7ca05d43c
13 changed files with 41 additions and 38 deletions

View File

@@ -5,34 +5,37 @@
"author": "scott.e.graves@protonmail.com", "author": "scott.e.graves@protonmail.com",
"description": "GUI for Repertory - Repertory allows you to mount Sia and/or ScPrime blockchain storage solutions via FUSE on Linux/OS X or via WinFSP on Windows.", "description": "GUI for Repertory - Repertory allows you to mount Sia and/or ScPrime blockchain storage solutions via FUSE on Linux/OS X or via WinFSP on Windows.",
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.25", "@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-solid-svg-icons": "^5.11.2", "@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-fontawesome": "^0.1.7", "@fortawesome/react-fontawesome": "^0.1.8",
"@reduxjs/toolkit": "^1.2.3",
"auto-launch": "^5.0.5", "auto-launch": "^5.0.5",
"axios": "^0.19.0", "axios": "^0.19.2",
"devtron": "^1.4.0", "devtron": "^1.4.0",
"electron-debug": "^3.0.1", "electron-debug": "^3.0.1",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"node-schedule": "^1.3.2", "node-schedule": "^1.3.2",
"randomstring": "^1.1.5", "randomstring": "^1.1.5",
"react": "^16.11.0", "react": "^16.12.0",
"react-dom": "^16.11.0", "react-dom": "^16.12.0",
"react-loader-spinner": "^3.1.4", "react-loader-spinner": "^3.1.5",
"react-redux": "^7.1.3", "react-redux": "^7.1.3",
"react-scripts": "3.2.0", "react-scripts": "3.3.1",
"react-tooltip": "^3.11.1", "react-tooltip": "^3.11.4",
"redux": "^4.0.4", "redux": "^4.0.5",
"redux-starter-kit": "^1.0.1",
"redux-thunk": "^2.3.0", "redux-thunk": "^2.3.0",
"unzipper": "^0.10.5", "unzipper": "^0.10.7",
"winreg": "^1.2.4" "winreg": "^1.2.4"
}, },
"devDependencies": { "devDependencies": {
"cross-env": "^6.0.3", "cross-env": "^7.0.0",
"electron": "^5.0.12", "electron": "^5.0.13",
"electron-builder": "^20.44.4", "electron-builder": "^20.44.4",
"extract-text-webpack-plugin": "^3.0.2", "extract-text-webpack-plugin": "^3.0.2",
"typescript": "^3.7.2", "fibers": "^4.0.2",
"node-sass": "^4.13.1",
"sass": "^1.25.0",
"typescript": "^3.7.5",
"webpack-browser-plugin": "^1.0.20" "webpack-browser-plugin": "^1.0.20"
}, },
"scripts": { "scripts": {

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants'; import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit'; import {createAction} from '@reduxjs/toolkit';
import {getIPCRenderer} from '../../utils'; import {getIPCRenderer} from '../../utils';
const ipcRenderer = getIPCRenderer(); const ipcRenderer = getIPCRenderer();
@@ -126,4 +126,4 @@ export const shutdownApplication = () => {
ipcRenderer.send(Constants.IPC_Shutdown); ipcRenderer.send(Constants.IPC_Shutdown);
} }
}; };
}; };

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants'; import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit'; import {createAction} from '@reduxjs/toolkit';
import {getIPCRenderer} from '../../utils'; import {getIPCRenderer} from '../../utils';
import {notifyError} from './error_actions'; import {notifyError} from './error_actions';
import { import {
@@ -96,4 +96,4 @@ export const downloadItem = (name, type, urls, isWinFSP, testVersion, appPlatfor
}; };
downloadAtIndex(0); downloadAtIndex(0);
}; };
}; };

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants'; import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit'; import {createAction} from '@reduxjs/toolkit';
import { import {
getIPCRenderer, getIPCRenderer,
getSelectedVersionFromState getSelectedVersionFromState

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants'; import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit'; import {createAction} from '@reduxjs/toolkit';
import {getIPCRenderer} from '../../utils'; import {getIPCRenderer} from '../../utils';
import { import {
confirmYesNo, confirmYesNo,
@@ -156,4 +156,4 @@ export const unmountAll = completedCallback => {
ipcRenderer.once(Constants.IPC_Unmount_All_Drives_Reply, unmountedCallback); ipcRenderer.once(Constants.IPC_Unmount_All_Drives_Reply, unmountedCallback);
ipcRenderer.send(Constants.IPC_Unmount_All_Drives); ipcRenderer.send(Constants.IPC_Unmount_All_Drives);
} }
}; };

View File

@@ -1,6 +1,6 @@
import axios from 'axios'; import axios from 'axios';
import * as Constants from '../../constants'; import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit'; import {createAction} from '@reduxjs/toolkit';
import {notifyError} from './error_actions'; import {notifyError} from './error_actions';
import { import {
saveState, saveState,
@@ -181,4 +181,4 @@ export const setUIUpgradeData = (upgradeData, version) => {
version: version, version: version,
} }
} }
}; };

View File

@@ -1,4 +1,4 @@
import {createReducer} from 'redux-starter-kit'; import {createReducer} from '@reduxjs/toolkit';
import { import {
DISPLAY_CONFIRM_YES_NO, DISPLAY_CONFIRM_YES_NO,
notifyRebootRequired, notifyRebootRequired,
@@ -58,4 +58,4 @@ export const createCommonReducer = (platformInfo, version) => {
}; };
}, },
}); });
}; };

View File

@@ -1,4 +1,4 @@
import {createReducer} from 'redux-starter-kit'; import {createReducer} from '@reduxjs/toolkit';
import { import {
setAllowDownload, setAllowDownload,
SET_DOWNLOAD_BEGIN, SET_DOWNLOAD_BEGIN,
@@ -50,4 +50,4 @@ export const downloadReducer = createReducer({
DownloadProgress: action.payload, DownloadProgress: action.payload,
} }
} }
}); });

View File

@@ -1,4 +1,4 @@
import {createReducer} from 'redux-starter-kit'; import {createReducer} from '@reduxjs/toolkit';
import { import {
CLEAR_ERROR, CLEAR_ERROR,
CLEAR_INFO, CLEAR_INFO,
@@ -49,4 +49,4 @@ export const errorReducer = createReducer({
InfoStack: infoStack, InfoStack: infoStack,
} }
} }
}); });

View File

@@ -1,4 +1,4 @@
import {createReducer} from 'redux-starter-kit'; import {createReducer} from '@reduxjs/toolkit';
import { import {
setDismissDependencies, setDismissDependencies,
setInstallActive, setInstallActive,
@@ -49,4 +49,4 @@ export const installReducer = createReducer({
MissingDependencies: action.payload, MissingDependencies: action.payload,
} }
} }
}); });

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants'; import * as Constants from '../../constants';
import {createReducer} from 'redux-starter-kit'; import {createReducer} from '@reduxjs/toolkit';
import { import {
addRemoteMount2, addRemoteMount2,
DISPLAY_CONFIGURATION, DISPLAY_CONFIGURATION,
@@ -191,4 +191,4 @@ export const createMountReducer = state => {
}; };
} }
}); });
}; };

View File

@@ -1,4 +1,4 @@
import {createReducer} from 'redux-starter-kit'; import {createReducer} from '@reduxjs/toolkit';
import * as Actions from '../actions/release_version_actions'; import * as Actions from '../actions/release_version_actions';
import * as Constants from '../../constants'; import * as Constants from '../../constants';
@@ -83,4 +83,4 @@ export const releaseVersionReducer = createReducer({
UpgradeDismissed: false, UpgradeDismissed: false,
}; };
} }
}); });

View File

@@ -1,4 +1,4 @@
import {configureStore, getDefaultMiddleware} from 'redux-starter-kit'; import {configureStore, getDefaultMiddleware} from '@reduxjs/toolkit';
import {createCommonReducer} from '../reducers/common_reducer'; import {createCommonReducer} from '../reducers/common_reducer';
import {downloadReducer} from '../reducers/download_reducer'; import {downloadReducer} from '../reducers/download_reducer';
import {errorReducer} from '../reducers/error_reducer'; import {errorReducer} from '../reducers/error_reducer';
@@ -23,4 +23,4 @@ export default function createAppStore(platformInfo, version, state) {
middleware, middleware,
devTools: process.env.NODE_ENV !== 'production' devTools: process.env.NODE_ENV !== 'production'
}); });
} }