Skip to content

Commit bdfc877

Browse files
committed
chore: upgrade dependencies
1 parent 0897dd4 commit bdfc877

File tree

7 files changed

+855
-835
lines changed

7 files changed

+855
-835
lines changed

package.json

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,68 +6,68 @@
66
"version": "0.2.0",
77
"author": "openscript",
88
"dependencies": {
9-
"@emotion/react": "11.11.1",
9+
"@emotion/react": "11.11.3",
1010
"@emotion/styled": "11.11.0",
1111
"@mdx-js/mdx": "3.0.0",
1212
"@mdx-js/react": "3.0.0",
13-
"embla-carousel-autoplay": "^8.0.0-rc11",
14-
"embla-carousel-react": "^8.0.0-rc11",
15-
"gatsby": "5.12.9",
16-
"gatsby-plugin-catch-links": "5.12.0",
17-
"gatsby-plugin-emotion": "8.12.0",
18-
"gatsby-plugin-i18n-l10n": "5.4.0",
19-
"gatsby-plugin-image": "3.12.3",
20-
"gatsby-plugin-manifest": "5.12.3",
21-
"gatsby-plugin-mdx": "5.12.3",
22-
"gatsby-plugin-offline": "6.12.3",
23-
"gatsby-plugin-sharp": "5.12.3",
24-
"gatsby-remark-autolink-headers": "6.12.3",
25-
"gatsby-remark-copy-linked-files": "6.12.0",
26-
"gatsby-remark-images": "7.12.3",
27-
"gatsby-source-filesystem": "5.12.1",
28-
"gatsby-transformer-remark": "^6.6.0",
29-
"gatsby-transformer-sharp": "5.12.3",
13+
"embla-carousel-autoplay": "^8.0.0-rc17",
14+
"embla-carousel-react": "^8.0.0-rc17",
15+
"gatsby": "5.13.1",
16+
"gatsby-plugin-catch-links": "5.13.0",
17+
"gatsby-plugin-emotion": "8.13.0",
18+
"gatsby-plugin-i18n-l10n": "5.5.0",
19+
"gatsby-plugin-image": "3.13.0",
20+
"gatsby-plugin-manifest": "5.13.0",
21+
"gatsby-plugin-mdx": "5.13.0",
22+
"gatsby-plugin-offline": "6.13.0",
23+
"gatsby-plugin-sharp": "5.13.0",
24+
"gatsby-remark-autolink-headers": "6.13.0",
25+
"gatsby-remark-copy-linked-files": "6.13.0",
26+
"gatsby-remark-images": "7.13.0",
27+
"gatsby-source-filesystem": "5.13.0",
28+
"gatsby-transformer-remark": "^6.13.0",
29+
"gatsby-transformer-sharp": "5.13.0",
3030
"interweave": "^13.0.0",
3131
"polished": "^4.2.2",
3232
"react": "18.2.0",
3333
"react-alternating-timeline": "^2.1.4",
3434
"react-dom": "18.2.0",
35-
"react-intl": "6.5.1",
35+
"react-intl": "6.5.5",
3636
"react-use": "^17.4.0",
37-
"type-fest": "^4.0.0"
37+
"type-fest": "^4.9.0"
3838
},
3939
"devDependencies": {
40-
"@babel/core": "7.23.2",
41-
"@babel/eslint-parser": "7.22.15",
40+
"@babel/core": "7.23.7",
41+
"@babel/eslint-parser": "7.23.3",
4242
"@babel/preset-typescript": "^7.22.5",
43-
"@testing-library/jest-dom": "^6.0.0",
43+
"@testing-library/jest-dom": "^6.1.6",
4444
"@testing-library/react": "^14.0.0",
45-
"@types/jest": "^29.5.3",
45+
"@types/jest": "^29.5.11",
4646
"@types/mdx": "^2.0.5",
47-
"@types/node": "20.8.10",
48-
"@types/react": "18.2.33",
49-
"@types/react-dom": "18.2.14",
50-
"@typescript-eslint/eslint-plugin": "6.9.1",
51-
"@typescript-eslint/parser": "6.9.1",
47+
"@types/node": "20.10.6",
48+
"@types/react": "18.2.46",
49+
"@types/react-dom": "18.2.18",
50+
"@typescript-eslint/eslint-plugin": "6.16.0",
51+
"@typescript-eslint/parser": "6.16.0",
5252
"babel-jest": "^29.6.1",
53-
"babel-preset-gatsby": "^3.6.0",
54-
"eslint": "8.52.0",
53+
"babel-preset-gatsby": "^3.13.0",
54+
"eslint": "8.56.0",
5555
"eslint-config-airbnb": "19.0.4",
5656
"eslint-config-airbnb-typescript": "17.1.0",
57-
"eslint-config-prettier": "9.0.0",
58-
"eslint-plugin-import": "2.29.0",
59-
"eslint-plugin-jsx-a11y": "6.7.1",
60-
"eslint-plugin-mdx": "^2.2.0",
61-
"eslint-plugin-prettier": "5.0.1",
57+
"eslint-config-prettier": "9.1.0",
58+
"eslint-plugin-import": "2.29.1",
59+
"eslint-plugin-jsx-a11y": "6.8.0",
60+
"eslint-plugin-mdx": "^3.1.1",
61+
"eslint-plugin-prettier": "5.1.2",
6262
"eslint-plugin-react": "7.33.2",
6363
"eslint-plugin-react-hooks": "4.6.0",
6464
"identity-obj-proxy": "^3.0.0",
6565
"jest": "^29.6.1",
6666
"jest-environment-jsdom": "^29.6.1",
67-
"prettier": "3.0.3",
67+
"prettier": "3.1.1",
6868
"svg-sprite": "^2.0.2",
69-
"ts-node": "10.9.1",
70-
"typescript": "5.2.2"
69+
"ts-node": "10.9.2",
70+
"typescript": "5.3.3"
7171
},
7272
"keywords": [
7373
"gatsby"

src/components/BurgerButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type BurgerButtonProps = {
8383

8484
export function BurgerButton({ isOpen, onClick }: BurgerButtonProps) {
8585
return (
86-
<button type="button" css={burgerButtonStyles} className={isOpen ? 'open' : ''} onClick={onClick}>
86+
<button aria-label="burger button" type="button" css={burgerButtonStyles} className={isOpen ? 'open' : ''} onClick={onClick}>
8787
<div />
8888
</button>
8989
);

src/layouts/default/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ export function Footer({ address, phone, email }: FooterProps) {
9090
</ul>
9191
<ul className="social-media">
9292
<li>
93-
<a href="https://github.com/openscript-ch">
93+
<a aria-label="Link to our GitHub profile" href="https://github.com/openscript-ch">
9494
<Sprite name="github" />
9595
</a>
9696
</li>
9797
<li>
98-
<a href="https://www.linkedin.com/company/openscript/">
98+
<a aria-label="Link to our LinkedIn profile" href="https://www.linkedin.com/company/openscript/">
9999
<Sprite name="linkedin" />
100100
</a>
101101
</li>

src/sections/QuestionsSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function QuestionsSection({ questions }: Props) {
7777

7878
return (
7979
<section css={sectionStyle}>
80-
<button type="button" onClick={() => emblaApi?.scrollPrev()}>
80+
<button aria-label="scroll to the previous" type="button" onClick={() => emblaApi?.scrollPrev()}>
8181
<Arrow rotation={90} />
8282
</button>
8383
<div css={carouselStyle} ref={emblaRef}>
@@ -93,7 +93,7 @@ export function QuestionsSection({ questions }: Props) {
9393
))}
9494
</div>
9595
</div>
96-
<button type="button" onClick={() => emblaApi?.scrollNext()}>
96+
<button aria-label="scroll to the next" type="button" onClick={() => emblaApi?.scrollNext()}>
9797
<Arrow rotation={270} />
9898
</button>
9999
</section>

src/sections/TechnologiesSection.tsx

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -98,25 +98,22 @@ const getCloseToCenterScore = (index: number, cols = 5, rows = 3) => {
9898
};
9999

100100
export function TechnologiesSection({ exchange }: Props) {
101-
const sprites: { name: keyof typeof SpriteData; url: string }[] = [
102-
//
103-
{ name: 'logo-k0s', url: 'https://k0sproject.io/' },
104-
{ name: 'logo-gatsby', url: 'https://gatsbyjs.com' },
105-
{ name: 'logo-nestjs', url: 'https://nestjs.com' },
106-
{ name: 'logo-graphql', url: 'https://grapqhl.org' },
107-
{ name: 'logo-supabase', url: 'https://supabase.com' },
108-
//
109-
{ name: 'logo-docker', url: 'https://docker.com' },
110-
{ name: 'logo-ts', url: 'https://typescriptlang.org' },
111-
{ name: 'logo-react', url: 'https://reactjs.org' },
112-
{ name: 'logo-ruby', url: 'https://ruby-lang.org' },
113-
{ name: 'logo-postgres', url: 'https://postgresql.org' },
114-
//
115-
{ name: 'logo-vscode', url: 'https://code.visualstudio.com' },
116-
{ name: 'logo-html', url: 'https://developer.mozilla.org/en-US/docs/Web/HTML' },
117-
{ name: 'logo-css', url: 'https://developer.mozilla.org/en-US/docs/Web/CSS' },
118-
{ name: 'logo-rails', url: 'https://rubyonrails.org' },
119-
{ name: 'logo-gitea', url: 'https://gitea.io' },
101+
const sprites: { label: string; name: keyof typeof SpriteData; url: string }[] = [
102+
{ label: 'k0s Project - Lightweight Kubernetes Distribution', name: 'logo-k0s', url: 'https://k0sproject.io/' },
103+
{ label: 'GatsbyJS - Blazing Fast Modern Site Generator for React', name: 'logo-gatsby', url: 'https://gatsbyjs.com' },
104+
{ label: 'NestJS - A Progressive Node.js Framework', name: 'logo-nestjs', url: 'https://nestjs.com' },
105+
{ label: 'GraphQL - A Query Language for APIs', name: 'logo-graphql', url: 'https://graphql.org' },
106+
{ label: 'Supabase - Open Source Firebase Alternative', name: 'logo-supabase', url: 'https://supabase.com' },
107+
{ label: 'Docker - Develop, Ship and Run Anywhere', name: 'logo-docker', url: 'https://docker.com' },
108+
{ label: 'TypeScript - Typed Superset of JavaScript', name: 'logo-ts', url: 'https://typescriptlang.org' },
109+
{ label: 'React - A JavaScript Library for Building User Interfaces', name: 'logo-react', url: 'https://reactjs.org' },
110+
{ label: 'Ruby - A Programmers Best Friend', name: 'logo-ruby', url: 'https://ruby-lang.org' },
111+
{ label: 'PostgreSQL - The Worlds Most Advanced Open Source Relational Database', name: 'logo-postgres', url: 'https://postgresql.org' },
112+
{ label: 'Visual Studio Code - Code Editing. Redefined.', name: 'logo-vscode', url: 'https://code.visualstudio.com' },
113+
{ label: 'HTML Developer Guide - Mozilla Developer Network', name: 'logo-html', url: 'https://developer.mozilla.org/en-US/docs/Web/HTML' },
114+
{ label: 'CSS Developer Guide - Mozilla Developer Network', name: 'logo-css', url: 'https://developer.mozilla.org/en-US/docs/Web/CSS' },
115+
{ label: 'Ruby on Rails - A Web-Application Framework', name: 'logo-rails', url: 'https://rubyonrails.org' },
116+
{ label: 'Gitea - A Painless Self-Hosted Git Service', name: 'logo-gitea', url: 'https://gitea.io' },
120117
];
121118

122119
const getRandomNumberBetween = (min: number, max: number) => Math.random() * (max - min) + min;
@@ -128,6 +125,7 @@ export function TechnologiesSection({ exchange }: Props) {
128125
const scaling = 0.7 + getCloseToCenterScore(index) ** 4 * 1.1;
129126
return (
130127
<a
128+
aria-label={sprite.label}
131129
key={sprite.name}
132130
href={sprite.url}
133131
css={css`

src/sections/ValuesSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ export function ValuesSection({ values }: Props) {
152152
});
153153

154154
const renderPrevButton = () => (
155-
<button type="button" onClick={() => emblaApi?.scrollPrev()}>
155+
<button aria-label="scroll to the previous" type="button" onClick={() => emblaApi?.scrollPrev()}>
156156
<Arrow rotation={90} />
157157
</button>
158158
);
159159

160160
const renderNextButton = () => (
161-
<button type="button" onClick={() => emblaApi?.scrollNext()}>
161+
<button aria-label="scroll to the next" type="button" onClick={() => emblaApi?.scrollNext()}>
162162
<Arrow rotation={270} />
163163
</button>
164164
);

0 commit comments

Comments
 (0)