mirror of
https://github.com/responsively-org/responsively-app
synced 2024-11-15 00:47:17 +00:00
Merge pull request #335 from ruisaraiva19/chore/upgrade-packages
chore: upgrade desktop app packages
This commit is contained in:
commit
757c61b78a
6 changed files with 1249 additions and 1085 deletions
1
desktop-app/.gitignore
vendored
1
desktop-app/.gitignore
vendored
|
@ -50,6 +50,7 @@ main.js.map
|
||||||
|
|
||||||
.idea
|
.idea
|
||||||
npm-debug.log.*
|
npm-debug.log.*
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
# local configs
|
# local configs
|
||||||
setCreds.sh
|
setCreds.sh
|
||||||
|
|
|
@ -14,10 +14,6 @@ td {
|
||||||
padding-right: 16px !important;
|
padding-right: 16px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profilesRow > th {
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
|
|
||||||
.profilesHeader > tr > th {
|
.profilesHeader > tr > th {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
@ -2,9 +2,7 @@ import React from 'react';
|
||||||
import Button from '@material-ui/core/Button';
|
import Button from '@material-ui/core/Button';
|
||||||
import Box from '@material-ui/core/Box';
|
import Box from '@material-ui/core/Box';
|
||||||
import {makeStyles} from '@material-ui/core/styles';
|
import {makeStyles} from '@material-ui/core/styles';
|
||||||
import {
|
import {clipboard} from 'electron';
|
||||||
clipboard,
|
|
||||||
} from 'electron';
|
|
||||||
|
|
||||||
const useStyles = makeStyles(theme => ({
|
const useStyles = makeStyles(theme => ({
|
||||||
codeBoxContainer: {
|
codeBoxContainer: {
|
||||||
|
@ -40,9 +38,14 @@ const TextAreaWithCopyButton = props => {
|
||||||
})}
|
})}
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
<Button onClick={() => clipboard.writeText(props.text, 'clipboard')} size="small" variant="contained" color="primary">
|
<Button
|
||||||
Copy
|
onClick={() => clipboard.writeText(props.text, 'clipboard')}
|
||||||
</Button>
|
size="small"
|
||||||
|
variant="contained"
|
||||||
|
color="primary"
|
||||||
|
>
|
||||||
|
Copy
|
||||||
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -260,7 +260,7 @@ export default merge.smart(baseConfig, {
|
||||||
before() {
|
before() {
|
||||||
if (process.env.START_HOT) {
|
if (process.env.START_HOT) {
|
||||||
console.log('Starting Main Process...');
|
console.log('Starting Main Process...');
|
||||||
spawn('npm', ['run', 'start-main-dev'], {
|
spawn('yarn', ['start-main-dev'], {
|
||||||
shell: true,
|
shell: true,
|
||||||
env: process.env,
|
env: process.env,
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
"postinstall": "electron-builder install-app-deps && yarn build-dll",
|
"postinstall": "electron-builder install-app-deps && yarn build-dll",
|
||||||
"postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{*{js,jsx,json},babelrc,eslintrc,prettierrc,stylelintrc}'",
|
"postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{*{js,jsx,json},babelrc,eslintrc,prettierrc,stylelintrc}'",
|
||||||
"postlint-styles-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{css,scss}'",
|
"postlint-styles-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{css,scss}'",
|
||||||
"precommit": "lint-staged",
|
|
||||||
"prestart": "yarn build",
|
"prestart": "yarn build",
|
||||||
"start": "cross-env NODE_ENV=production electron ./app/main.prod.js",
|
"start": "cross-env NODE_ENV=production electron ./app/main.prod.js",
|
||||||
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.js",
|
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.js",
|
||||||
|
@ -40,24 +39,25 @@
|
||||||
"test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe-live electron:./ ./test/e2e/HomePage.e2e.js",
|
"test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe-live electron:./ ./test/e2e/HomePage.e2e.js",
|
||||||
"test-watch": "yarn test --watch"
|
"test-watch": "yarn test --watch"
|
||||||
},
|
},
|
||||||
|
"husky": {
|
||||||
|
"hooks": {
|
||||||
|
"pre-commit": "lint-staged"
|
||||||
|
}
|
||||||
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,jsx}": [
|
"*.{js,jsx}": [
|
||||||
"cross-env NODE_ENV=development eslint --cache --format=pretty",
|
"cross-env NODE_ENV=development eslint --cache --format=pretty",
|
||||||
"prettier --ignore-path .eslintignore --single-quote --write",
|
"prettier --ignore-path .eslintignore --single-quote --write"
|
||||||
"git add"
|
|
||||||
],
|
],
|
||||||
"{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
|
"{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
|
||||||
"prettier --ignore-path .eslintignore --parser json --write",
|
"prettier --ignore-path .eslintignore --parser json --write"
|
||||||
"git add"
|
|
||||||
],
|
],
|
||||||
"*.{css,scss}": [
|
"*.{css,scss}": [
|
||||||
"stylelint --ignore-path .eslintignore --syntax scss --fix",
|
"stylelint --ignore-path .eslintignore --syntax scss --fix",
|
||||||
"prettier --ignore-path .eslintignore --single-quote --write",
|
"prettier --ignore-path .eslintignore --single-quote --write"
|
||||||
"git add"
|
|
||||||
],
|
],
|
||||||
"*.{yml,md}": [
|
"*.{yml,md}": [
|
||||||
"prettier --ignore-path .eslintignore --single-quote --write",
|
"prettier --ignore-path .eslintignore --single-quote --write"
|
||||||
"git add"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"main": "./app/main.prod.js",
|
"main": "./app/main.prod.js",
|
||||||
|
@ -249,19 +249,19 @@
|
||||||
"flow-bin": "^0.77.0",
|
"flow-bin": "^0.77.0",
|
||||||
"flow-runtime": "^0.17.0",
|
"flow-runtime": "^0.17.0",
|
||||||
"flow-typed": "^3.2.0",
|
"flow-typed": "^3.2.0",
|
||||||
"husky": "^1.1.4",
|
"husky": "^4.2.5",
|
||||||
"identity-obj-proxy": "^3.0.0",
|
"identity-obj-proxy": "^3.0.0",
|
||||||
"jest": "^26.1.0",
|
"jest": "^23.6.0",
|
||||||
"lint-staged": "^8.1.0",
|
"lint-staged": "^10.2.11",
|
||||||
"mini-css-extract-plugin": "^0.4.4",
|
"mini-css-extract-plugin": "^0.4.4",
|
||||||
"node-sass": "^4.10.0",
|
|
||||||
"opencollective-postinstall": "^2.0.1",
|
"opencollective-postinstall": "^2.0.1",
|
||||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||||
"prettier": "^1.15.2",
|
"prettier": "^1.15.2",
|
||||||
"react-test-renderer": "^16.6.3",
|
"react-test-renderer": "^16.6.3",
|
||||||
"redux-logger": "^3.0.6",
|
"redux-logger": "^3.0.6",
|
||||||
"rimraf": "^2.6.2",
|
"rimraf": "^2.6.2",
|
||||||
"sass-loader": "^7.1.0",
|
"sass": "^1.26.10",
|
||||||
|
"sass-loader": "^9.0.2",
|
||||||
"sinon": "^7.1.1",
|
"sinon": "^7.1.1",
|
||||||
"style-loader": "^0.23.1",
|
"style-loader": "^0.23.1",
|
||||||
"stylelint": "^13.6.1",
|
"stylelint": "^13.6.1",
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue