Skip to content

Commit f0b0b47

Browse files
dependabot[bot]gstraccini[bot]guibranco
authored
build(deps): bump the react group with 3 updates (#620)
* build(deps): bump the react group with 3 updates Bumps the react group with 3 updates: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react), [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). Updates `lucide-react` from 0.577.0 to 1.6.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.6.0/packages/lucide-react) Updates `react` from 18.3.1 to 19.2.4 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.4/packages/react) Updates `react-dom` from 18.3.1 to 19.2.4 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.4/packages/react-dom) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.6.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: react - dependency-name: react dependency-version: 19.2.4 dependency-type: direct:production update-type: version-update:semver-major dependency-group: react - dependency-name: react-dom dependency-version: 19.2.4 dependency-type: direct:production update-type: version-update:semver-major dependency-group: react ... Signed-off-by: dependabot[bot] <support@github.com> * Update Footer.tsx * Create GitHubIcon.tsx * Update Footer.tsx * Update vite.config.ts --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gstraccini[bot] <150967461+gstraccini[bot]@users.noreply.github.com> Co-authored-by: Guilherme Branco Stracini <guilherme@guilhermebranco.com.br>
1 parent fb3d61b commit f0b0b47

5 files changed

Lines changed: 82 additions & 53 deletions

File tree

package-lock.json

Lines changed: 40 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
"date-fns": "^4.1.0",
1818
"i18next": "^25.10.9",
1919
"i18next-browser-languagedetector": "^8.2.1",
20-
"lucide-react": "^0.577.0",
21-
"react": "^18.3.1",
22-
"react-dom": "^18.3.1",
20+
"lucide-react": "^1.6.0",
21+
"react": "^19.2.4",
22+
"react-dom": "^19.2.4",
2323
"react-i18next": "^16.6.6",
2424
"react-router-dom": "^7.13.2"
2525
},
2626
"devDependencies": {
2727
"@eslint/js": "^9.9.1",
28-
"@types/react": "^18.3.5",
29-
"@types/react-dom": "^18.3.0",
28+
"@types/react": "^19.2.14",
29+
"@types/react-dom": "^19.2.3",
3030
"@vitejs/plugin-react": "^6.0.1",
3131
"autoprefixer": "^10.4.27",
3232
"eslint": "^9.39.2",

src/components/Footer.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { useState } from 'react';
2-
import { Github, Info, Plus, AlertCircle, Activity } from 'lucide-react';
2+
import { Info, Plus, AlertCircle, Activity } from 'lucide-react';
3+
import { GitHubIcon } from "@/components/icons/GitHubIcon";
34
import { useTranslation } from 'react-i18next';
45
import { useApiInfo } from '../hooks/useApiInfo';
56
import { NewIssueModal } from './NewIssueModal';
@@ -75,7 +76,7 @@ export function Footer() {
7576
rel="noopener noreferrer"
7677
className="flex items-center space-x-2 text-gray-600 dark:text-gray-400 hover:text-primary dark:hover:text-primary transition-colors group"
7778
>
78-
<Github className="w-5 h-5 group-hover:scale-110 transition-transform" />
79+
<GitHubIcon className="w-5 h-5 group-hover:scale-110 transition-transform" />
7980
<span className="text-sm">{t('footer.repository')}</span>
8081
</a>
8182
</div>
@@ -99,4 +100,4 @@ export function Footer() {
99100
<NewIssueModal isOpen={isModalOpen} onClose={() => setIsModalOpen(false)} />
100101
</footer>
101102
);
102-
}
103+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import React from "react";
2+
3+
export function GitHubIcon(props: React.SVGProps<SVGSVGElement>) {
4+
return (
5+
<svg
6+
viewBox="0 0 24 24"
7+
fill="currentColor"
8+
xmlns="http://www.w3.org/2000/svg"
9+
aria-hidden="true"
10+
{...props}
11+
>
12+
<path d="M12 .297a12 12 0 00-3.794 23.398c.6.111.82-.261.82-.579
13+
0-.287-.01-1.046-.016-2.054-3.338.725-4.042-1.61-4.042-1.61
14+
-.546-1.387-1.333-1.756-1.333-1.756-1.089-.744.083-.729.083-.729
15+
1.205.085 1.84 1.237 1.84 1.237 1.07 1.835 2.807 1.305 3.492.998
16+
.108-.775.418-1.305.762-1.605-2.665-.303-5.466-1.332-5.466-5.93
17+
0-1.311.469-2.382 1.236-3.222-.124-.303-.536-1.527.117-3.176
18+
0 0 1.008-.322 3.301 1.23a11.49 11.49 0 016.003 0
19+
c2.291-1.552 3.297-1.23 3.297-1.23.655 1.649.243 2.873.12 3.176
20+
.77.84 1.235 1.911 1.235 3.222
21+
0 4.61-2.805 5.624-5.476 5.921
22+
.43.371.823 1.102.823 2.222
23+
0 1.606-.014 2.901-.014 3.293
24+
0 .321.216.694.825.576A12.003 12.003 0 0012 .297z" />
25+
</svg>
26+
);
27+
}

vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
import { defineConfig } from 'vite';
22
import react from '@vitejs/plugin-react';
3+
import path from "path";
34

4-
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
77
base: "/ui/vagas/",
88
optimizeDeps: {
99
exclude: ['lucide-react'],
1010
},
11+
resolve: {
12+
alias: {
13+
"@": path.resolve(__dirname, "./src"),
14+
},
15+
},
1116
});

0 commit comments

Comments
 (0)