Skip to content

Commit b73f4c1

Browse files
chore: move some dependencies to devDependencies
1 parent aabd5ad commit b73f4c1

File tree

5 files changed

+387
-253
lines changed

5 files changed

+387
-253
lines changed

app/components/ProtectedRoute/tests/__snapshots__/index.test.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports[`<ProtectedRoute /> should render and match the snapshot 1`] = `
1717
</p>
1818
</div>
1919
<div
20-
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 liNnZz"
20+
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 liNnZz css-dev-only-do-not-override-jy3e2f"
2121
maxwidth="500"
2222
>
2323
<div
@@ -43,13 +43,13 @@ exports[`<ProtectedRoute /> should render and match the snapshot 1`] = `
4343
Get details of repositories
4444
</p>
4545
<span
46-
class="ant-input-group-wrapper ant-input-search"
46+
class="ant-input-group-wrapper ant-input-search css-dev-only-do-not-override-jy3e2f"
4747
>
4848
<span
49-
class="ant-input-wrapper ant-input-group"
49+
class="ant-input-wrapper ant-input-group css-dev-only-do-not-override-jy3e2f"
5050
>
5151
<input
52-
class="ant-input"
52+
class="ant-input css-dev-only-do-not-override-jy3e2f"
5353
data-testid="search-bar"
5454
type="text"
5555
value=""
@@ -58,7 +58,7 @@ exports[`<ProtectedRoute /> should render and match the snapshot 1`] = `
5858
class="ant-input-group-addon"
5959
>
6060
<button
61-
class="ant-btn ant-btn-icon-only ant-input-search-button"
61+
class="ant-btn css-dev-only-do-not-override-jy3e2f ant-btn-default ant-btn-icon-only ant-input-search-button"
6262
type="button"
6363
>
6464
<span
@@ -87,7 +87,7 @@ exports[`<ProtectedRoute /> should render and match the snapshot 1`] = `
8787
</div>
8888
</div>
8989
<div
90-
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 fCikHd"
90+
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 fCikHd css-dev-only-do-not-override-jy3e2f"
9191
color="grey"
9292
>
9393
<div

app/components/RepoCard/tests/__snapshots__/index.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports[`<RepoCard /> should render and match the snapshot 1`] = `
44
<body>
55
<div>
66
<div
7-
class="ant-card ant-card-bordered RepoCard__CustomCard-sc-3wf6pv-0 hBtxvU"
7+
class="ant-card ant-card-bordered RepoCard__CustomCard-sc-3wf6pv-0 hBtxvU css-dev-only-do-not-override-jy3e2f"
88
data-testid="repo-card"
99
>
1010
<div

app/containers/HomeContainer/tests/__snapshots__/index.test.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports[`<HomeContainer /> tests should render and match the snapshot 1`] = `
1717
</p>
1818
</div>
1919
<div
20-
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 liNnZz"
20+
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 liNnZz css-dev-only-do-not-override-jy3e2f"
2121
maxwidth="500"
2222
>
2323
<div
@@ -43,13 +43,13 @@ exports[`<HomeContainer /> tests should render and match the snapshot 1`] = `
4343
Get details of repositories
4444
</p>
4545
<span
46-
class="ant-input-group-wrapper ant-input-search"
46+
class="ant-input-group-wrapper ant-input-search css-dev-only-do-not-override-jy3e2f"
4747
>
4848
<span
49-
class="ant-input-wrapper ant-input-group"
49+
class="ant-input-wrapper ant-input-group css-dev-only-do-not-override-jy3e2f"
5050
>
5151
<input
52-
class="ant-input"
52+
class="ant-input css-dev-only-do-not-override-jy3e2f"
5353
data-testid="search-bar"
5454
type="text"
5555
value=""
@@ -58,7 +58,7 @@ exports[`<HomeContainer /> tests should render and match the snapshot 1`] = `
5858
class="ant-input-group-addon"
5959
>
6060
<button
61-
class="ant-btn ant-btn-icon-only ant-input-search-button"
61+
class="ant-btn css-dev-only-do-not-override-jy3e2f ant-btn-default ant-btn-icon-only ant-input-search-button"
6262
type="button"
6363
>
6464
<span
@@ -87,7 +87,7 @@ exports[`<HomeContainer /> tests should render and match the snapshot 1`] = `
8787
</div>
8888
</div>
8989
<div
90-
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 fCikHd"
90+
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 fCikHd css-dev-only-do-not-override-jy3e2f"
9191
color="grey"
9292
>
9393
<div

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,29 +85,18 @@
8585
"@formatjs/intl-relativetimeformat": "^9.1.6",
8686
"@testing-library/jest-dom": "^5.16.5",
8787
"@testing-library/react": "13.4.0",
88-
"antd": "^4.9.3",
88+
"antd": "^5.0.2",
8989
"apisauce": "2.1.6",
9090
"axios": "^1.2.0",
9191
"axios-retry": "^3.3.1",
92-
"chalk": "4.1.1",
93-
"compression": "1.7.4",
94-
"core-js": "3.6.5",
95-
"cross-env": "7.0.3",
9692
"deep-map-keys": "^2.0.1",
9793
"dotenv": "10.0.0",
9894
"express": "4.16.4",
99-
"fontfaceobserver": "2.1.0",
10095
"history": "4.9.x",
101-
"hoist-non-react-statics": "3.3.0",
10296
"immer": "9.0.16",
10397
"immutable": "^4.1.0",
10498
"intl": "1.2.5",
105-
"invariant": "2.2.4",
106-
"ip": "1.1.5",
107-
"less": "^4.1.3",
108-
"less-loader": "7.3.0",
10999
"lodash": "4.17.19",
110-
"minimist": "1.2.3",
111100
"prop-types": "15.8.1",
112101
"react": "18.2.0",
113102
"react-dom": "18.2.0",
@@ -150,6 +139,15 @@
150139
"@storybook/react": "^5.2.1",
151140
"add-asset-html-webpack-plugin": "3.2.0",
152141
"axios-mock-adapter": "^1.17.0",
142+
"cross-env": "7.0.3",
143+
"compression": "1.7.4",
144+
"core-js": "3.6.5",
145+
"ip": "1.1.5",
146+
"invariant": "2.2.4",
147+
"chalk": "4.1.1",
148+
"fontfaceobserver": "2.3.0",
149+
"minimist": "1.2.7",
150+
"hoist-non-react-statics": "3.3.2",
153151
"babel-core": "7.0.0-bridge.0",
154152
"babel-eslint": "10.1.0",
155153
"babel-loader": "^8.2.2",
@@ -193,7 +191,8 @@
193191
"jest-coverage-badges": "^1.1.2",
194192
"jest-sonar": "^0.2.12",
195193
"jest-styled-components": "6.3.1",
196-
"less-loader": "7.3.0",
194+
"less": "^4.1.3",
195+
"less-loader": "11.1.0",
197196
"lint-staged": "8.1.5",
198197
"ngrok": "4.0.1",
199198
"node-plop": "0.18.0",

0 commit comments

Comments
 (0)