Skip to content

Commit b8e587e

Browse files
committed
⬆️ Update React to 19
1 parent db681c0 commit b8e587e

File tree

10 files changed

+371
-367
lines changed

10 files changed

+371
-367
lines changed

.vscode/tasks.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
"command": "npm run dev",
1010
},
1111
{
12-
"label": "🛠️ Build",
12+
"label": "🛠️ Build Package",
1313
"command": "npm run build:package"
1414
},
15+
{
16+
"label": "🛠️ Build Astro",
17+
"command": "npm run build"
18+
},
1519
{
1620
"label": "📥 Git fetch && pull",
1721
"command": "git fetch && git pull"

package-lock.json

Lines changed: 345 additions & 355 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
@@ -20,22 +20,22 @@
2020
"devDependencies": {
2121
"@astrojs/check": "0.9.4",
2222
"@astrojs/node": "9.0.2",
23-
"@astrojs/react": "3.6.2",
23+
"@astrojs/react": "4.1.6",
2424
"@astrojs/svelte": "7.0.4",
2525
"@eslint/js": "9.18.0",
2626
"@typescript-eslint/parser": "8.21.0",
2727
"astro": "5.1.8",
2828
"astro-eslint-parser": "1.1.0",
2929
"eslint": "9.18.0",
3030
"eslint-plugin-astro": "1.3.1",
31-
"eslint-plugin-react": "7.35.0",
31+
"eslint-plugin-react": "7.37.4",
3232
"eslint-plugin-simple-import-sort": "12.1.1",
33-
"eslint-plugin-svelte": "2.43.0",
33+
"eslint-plugin-svelte": "2.46.1",
3434
"husky": "9.1.7",
3535
"jsdom": "26.0.0",
3636
"lint-staged": "15.4.2",
37-
"react": "18.3.1",
38-
"react-dom": "18.3.1",
37+
"react": "19.0.0",
38+
"react-dom": "19.0.0",
3939
"sass": "1.83.4",
4040
"sass-true": "8.1.0",
4141
"svelte": "5.19.2",

src/assets/img/logo.svg

Lines changed: 10 additions & 0 deletions
Loading

src/components/Select/Select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const Select = ({
125125
onClose?.(event)
126126
}
127127
})
128-
}, 0)
128+
}, 1)
129129
}
130130

131131
on(`.w-select-${name}`, 'focus', (event: Event) => {

src/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import SvelteBox from '@static/Box.svelte'
99
import ReactAlert from '@components/Alert/Alert.tsx'
1010
import ReactBox from '@static/Box.tsx'
1111

12-
import logo from '../public/img/logo.svg?raw'
12+
import logo from './assets/img/logo.svg?raw'
1313
import alertIcon from './icons/alert.svg?raw'
1414
import successIcon from './icons/circle-check.svg?raw'
1515
import componentsIcon from './icons/components.svg?raw'

src/pages/components/footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import SvelteFooter from '@components/Footer/Footer.svelte'
77
import ReactFooter from '@components/Footer/Footer.tsx'
88
import Icon from '@components/Icon/Icon.astro'
99
10-
import logo from '../../../public/img/logo.svg?raw'
10+
import logo from '../../assets/img/logo.svg?raw'
1111
1212
import { getSections } from '@helpers'
1313
import {

src/pages/components/menu.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import AstroMenu from '@components/Menu/Menu.astro'
99
import SvelteMenu from '@components/Menu/Menu.svelte'
1010
import ReactMenu from '@components/Menu/Menu.tsx'
1111
12-
import logo from '../../../public/img/logo.svg?raw'
12+
import logo from '../../assets/img/logo.svg?raw'
1313
1414
import { getSections } from '@helpers'
1515
import { menu, menuLogo } from '@data'

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import ThemeSwitcher from '@components/ThemeSwitcher/ThemeSwitcher.astro'
4747
import Timeline from '@components/Timeline/Timeline.astro'
4848
import TimelineItem from '@components/TimelineItem/TimelineItem.astro'
4949
50-
import logo from '../../public/img/logo.svg?raw'
50+
import logo from '../assets/img/logo.svg?raw'
5151
5252
import {
5353
accordionItems,

src/static/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { IconProps } from '@components/Icon/icon'
44
import Icon from '@components/Icon/Icon.astro'
55
import Menu from '@components/Menu/Menu.astro'
66
7-
import logo from '../../public/img/logo.svg?raw'
7+
import logo from '../assets/img/logo.svg?raw'
88
99
import { classNames } from '@utils/classNames'
1010
import { ClientRouter } from 'astro:transitions'

0 commit comments

Comments
 (0)