Skip to content

Commit

Permalink
Removed @FortAwesome
Browse files Browse the repository at this point in the history
  • Loading branch information
michalv8 committed May 11, 2024
1 parent b3bb3ac commit 838e4f6
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 141 deletions.
Empty file added .husky/pre-commit
Empty file.
13 changes: 3 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
"homepage": "https://yogi-play.pl",
"private": true,
"dependencies": {
"@fortawesome/fontawesome": "^1.1.8",
"@fortawesome/fontawesome-free-brands": "^5.0.13",
"@fortawesome/fontawesome-free-solid": "^5.0.13",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@sentry/browser": "^7.114.0",
"animate.css": "^4.1.1",
"bootstrap": "^5.3.3",
Expand All @@ -34,9 +27,11 @@
"build": "react-scripts build",
"test": "react-scripts test --coverage",
"eject": "react-scripts eject",
"format": "prettier --write src/**/*.{js,ts,tsx,css}"
"format": "prettier --write src/**/*.{js,ts,tsx,css}",
"prepare": "husky"
},
"devDependencies": {
"@redux-devtools/extension": "^3.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/core-js": "^2.5.8",
"@types/enzyme": "^3.10.18",
Expand All @@ -49,15 +44,13 @@
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@types/react-test-renderer": "^18.3.0",
"@types/reactstrap": "^8.7.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.8",
"husky": "^9.0.11",
"jest-enzyme": "^7.1.2",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"react-test-renderer": "^18.3.1",
"redux-devtools-extension": "^2.13.8",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
},
Expand Down
141 changes: 25 additions & 116 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/components/PlayButton/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { ReactElement } from "react";
import "./index.css";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import useSoundPlayer from "../../hooks/useSoundPlayer";
import useUserSoundManager from "../../hooks/useUserSoundManager";
import { useSelector } from "react-redux";
Expand Down Expand Up @@ -75,7 +74,6 @@ function PlayButton({ soundId }: Props): ReactElement<Props> | null {
outline={!isInUserSounds}
onClick={handleClickFavourites}
>
<FontAwesomeIcon icon="star" />
</Button>
</ButtonGroup>
);
Expand Down
11 changes: 0 additions & 11 deletions src/icons.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import "bootstrap/dist/css/bootstrap.min.css";
import "animate.css/animate.compat.css";
import "./icons";
import "react-app-polyfill/ie11";
import "core-js-pure/features/object/keys";
import "core-js-pure/features/object/values";
import * as React from "react";
import * as ReactDOM from "react-dom";
import "./icons";
import App, { APP_VERSION } from "./App";

if ("production" === process.env.NODE_ENV && process.env.REACT_APP_SENTRY_DSN) {
Expand Down

0 comments on commit 838e4f6

Please sign in to comment.