Skip to content

Commit f1580a0

Browse files
meta: bump the lint group with 5 updates (#8058)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: avivkeller <[email protected]>
1 parent f1ce7ad commit f1580a0

File tree

8 files changed

+393
-322
lines changed

8 files changed

+393
-322
lines changed

apps/site/app/[locale]/not-found.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
'use client';
22

33
import { ArrowRightIcon } from '@heroicons/react/24/solid';
4-
import Image from 'next/image';
54
import { useTranslations } from 'next-intl';
65
import type { FC } from 'react';
76

87
import Button from '#site/components/Common/Button';
8+
import Turtle from '#site/components/Common/Turtle';
99
import GlowingBackdropLayout from '#site/layouts/GlowingBackdrop';
1010

1111
const NotFoundPage: FC = () => {
@@ -20,14 +20,7 @@ const NotFoundPage: FC = () => {
2020
</h1>
2121

2222
<div className="my-4 flex h-[150px] items-center justify-center md:h-[300px]">
23-
<div className="turtle motion-safe:animate-surf motion-reduce:animate-none">
24-
<Image
25-
src="/static/images/node-mascot.svg"
26-
alt="The Node.js mascot"
27-
height={114.69}
28-
width={100}
29-
/>
30-
</div>
23+
<Turtle />
3124
</div>
3225

3326
<p className="-mt-4 max-w-sm text-center text-lg">

apps/site/styles/effects.css renamed to apps/site/components/Common/Turtle/index.module.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
@utility turtle {
2-
@apply animate-surf
1+
.turtle {
2+
@apply motion-safe:animate-surf
3+
animate-surf
34
absolute
45
z-10
56
translate-x-0
@@ -16,12 +17,13 @@
1617
after:bg-[url('/static/images/smoke.gif')]
1718
after:opacity-[0.15]
1819
after:content-['']
20+
motion-reduce:animate-none
1921
after:md:-left-1/2
2022
after:md:top-1/2;
23+
}
2124

22-
& img {
23-
@apply h-auto
24-
w-24
25-
md:w-48;
26-
}
25+
.image {
26+
@apply h-auto
27+
w-24
28+
md:w-48;
2729
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import Image from 'next/image';
2+
import type { FC } from 'react';
3+
4+
import styles from './index.module.css';
5+
6+
const Turtle: FC = () => (
7+
<div className={styles.turtle}>
8+
<Image
9+
className={styles.image}
10+
src="/static/images/node-mascot.svg"
11+
alt="The Node.js mascot"
12+
height={115}
13+
width={100}
14+
/>
15+
</div>
16+
);
17+
18+
export default Turtle;

apps/site/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"@testing-library/user-event": "~14.6.1",
8585
"@types/mdx": "^2.0.13",
8686
"@types/semver": "~7.7.0",
87-
"eslint-config-next": "15.4.3",
87+
"eslint-config-next": "15.4.4",
8888
"eslint-import-resolver-typescript": "~4.4.4",
8989
"eslint-plugin-mdx": "~3.6.2",
9090
"eslint-plugin-react": "~7.37.4",
@@ -103,8 +103,8 @@
103103
"remark-lint-prohibited-strings": "^4.0.0",
104104
"remark-lint-unordered-list-marker-style": "^4.0.1",
105105
"remark-preset-lint-node": "5.1.2",
106-
"stylelint": "16.22.0",
107-
"stylelint-config-standard": "38.0.0",
106+
"stylelint": "16.23.0",
107+
"stylelint-config-standard": "39.0.0",
108108
"stylelint-order": "7.0.0",
109109
"stylelint-selector-bem-pattern": "4.0.1",
110110
"tsx": "^4.20.3",

apps/site/styles/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
*/
88

99
@import '@node-core/ui-components/styles/index.css';
10-
@import './effects.css';
1110
@import './locales.css';

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
"turbo": "2.5.5"
4040
},
4141
"devDependencies": {
42-
"@eslint/js": "~9.31.0",
42+
"@eslint/js": "~9.32.0",
4343
"@reporters/github": "^1.7.2",
4444
"@testing-library/react": "~16.3.0",
4545
"cross-env": "^7.0.3",
46-
"eslint": "~9.31.0",
46+
"eslint": "~9.32.0",
4747
"eslint-plugin-import-x": "~4.16.1",
4848
"prettier": "3.6.2",
4949
"prettier-plugin-tailwindcss": "0.6.14"

packages/ui-components/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
"react": "catalog:",
6363
"storybook": "^9.0.18",
6464
"style-loader": "~4.0.0",
65-
"stylelint": "^16.22.0",
66-
"stylelint-config-standard": "^38.0.0",
65+
"stylelint": "^16.23.0",
66+
"stylelint-config-standard": "^39.0.0",
6767
"stylelint-order": "7.0.0",
6868
"stylelint-selector-bem-pattern": "4.0.1",
6969
"tailwindcss": "catalog:",

0 commit comments

Comments
 (0)