Skip to content

Commit 8459bf6

Browse files
committed
Minor fixes
1 parent 03d6b77 commit 8459bf6

File tree

6 files changed

+975
-968
lines changed

6 files changed

+975
-968
lines changed

package.json

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,59 +9,60 @@
99
"eject": "react-scripts eject"
1010
},
1111
"dependencies": {
12-
"@emotion/react": "^11.7.1",
13-
"@emotion/styled": "^11.6.0",
14-
"@mui/material": "^5.3.0",
15-
"@testing-library/jest-dom": "^5.14.1",
16-
"@testing-library/react": "^12.0.0",
12+
"@emotion/react": "^11.8.2",
13+
"@emotion/styled": "^11.8.1",
14+
"@mui/material": "^5.5.2",
15+
"@reduxjs/toolkit": "^1.8.0",
16+
"@testing-library/jest-dom": "^5.16.3",
17+
"@testing-library/react": "^12.1.4",
1718
"@testing-library/user-event": "^13.2.1",
1819
"@types/circular-dependency-plugin": "^5.0.5",
19-
"@types/jest": "^27.0.1",
20-
"@types/node": "^17.0.10",
21-
"@types/react": "^17.0.20",
22-
"@types/react-dom": "^17.0.9",
23-
"@types/react-redux": "^7.1.21",
20+
"@types/jest": "^27.4.1",
21+
"@types/node": "^17.0.23",
22+
"@types/react": "^17.0.43",
23+
"@types/react-dom": "^17.0.14",
24+
"@types/react-redux": "^7.1.23",
2425
"@types/react-scroll": "^1.8.3",
25-
"axios": "^0.26.0",
26+
"axios": "^0.26.1",
2627
"circular-dependency-plugin": "^5.2.2",
2728
"classnames": "^2.3.1",
2829
"formik": "^2.2.9",
2930
"react": "^17.0.2",
30-
"react-app-rewired": "^2.1.11",
31+
"react-app-rewired": "^2.2.1",
3132
"react-dom": "^17.0.2",
3233
"react-image": "^4.0.3",
3334
"react-redux": "^7.2.6",
3435
"react-responsive": "^9.0.0-beta.6",
3536
"react-scripts": "5.0.0",
36-
"react-scroll": "^1.8.4",
37+
"react-scroll": "^1.8.6",
3738
"redux": "^4.1.2",
3839
"redux-thunk": "^2.4.1",
39-
"typescript": "^4.4.2",
40+
"typescript": "^4.6.3",
4041
"yup": "^0.32.11"
4142
},
4243
"devDependencies": {
43-
"@typescript-eslint/eslint-plugin": "^5.8.1",
44-
"@typescript-eslint/parser": "^5.8.1",
45-
"eslint": "^8.6.0",
44+
"@typescript-eslint/eslint-plugin": "^5.16.0",
45+
"@typescript-eslint/parser": "^5.16.0",
46+
"eslint": "^8.12.0",
4647
"eslint-config-airbnb": "^19.0.4",
47-
"eslint-config-prettier": "^8.3.0",
48+
"eslint-config-prettier": "^8.5.0",
4849
"eslint-plugin-import": "^2.25.3",
4950
"eslint-plugin-jsx-a11y": "^6.5.1",
5051
"eslint-plugin-prettier": "^4.0.0",
51-
"eslint-plugin-react": "^7.28.0",
52+
"eslint-plugin-react": "^7.29.4",
5253
"eslint-plugin-react-hooks": "^4.3.0",
5354
"eslint-plugin-simple-import-sort": "^7.0.0",
54-
"postcss": "^8.4.5",
55-
"prettier": "^2.5.1",
56-
"sass": "^1.45.2",
57-
"stylelint": "^14.2.0",
55+
"postcss": "^8.4.12",
56+
"prettier": "^2.6.1",
57+
"sass": "^1.49.9",
58+
"stylelint": "^14.6.1",
5859
"stylelint-config-prettier": "^9.0.3",
5960
"stylelint-config-recess-order": "^3.0.0",
6061
"stylelint-config-recommended": "^7.0.0",
61-
"stylelint-config-recommended-scss": "^5.0.2",
62+
"stylelint-config-recommended-scss": "^6.0.0",
6263
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
6364
"stylelint-prettier": "^2.0.0",
64-
"stylelint-webpack-plugin": "^3.1.0"
65+
"stylelint-webpack-plugin": "^3.2.0"
6566
},
6667
"browserslist": {
6768
"production": [
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Acquaintance, Intro, Register, Users } from '../../sections';
2-
import { CatFootprints, Footer, Header, Modal } from '..';
1+
import { CatFootprints, Footer, Header, Modal } from './components';
2+
import { Acquaintance, Intro, Register, Users } from './sections';
33

44
const App = () => {
55
return (

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import React from 'react';
44
import ReactDOM from 'react-dom';
55
import { Provider } from 'react-redux';
66

7-
import App from './components/App';
7+
import App from './App';
88
import store from './store/store';
99

1010
ReactDOM.render(

src/helpers/validationSchemes/userAddingScheme.ts renamed to src/schemes/userAddingScheme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as Yup from 'yup';
22

3-
import * as regex from '../regex';
3+
import * as regex from '../helpers/regex';
44

55
export const userAddingScheme = Yup.object({
66
name: Yup.string()

src/sections/Register/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { useDispatch } from 'react-redux';
1616

1717
import { Preloader } from '../../components';
1818
import { textTransform } from '../../helpers/textTransform';
19-
import { userAddingScheme } from '../../helpers/validationSchemes/userAddingScheme';
2019
import useTypesSelector from '../../hooks/useTypesSelector';
20+
import { userAddingScheme } from '../../schemes/userAddingScheme';
2121
import {
2222
fetchUser,
2323
fetchUserPositions,

0 commit comments

Comments
 (0)