Skip to content

Commit ab22ebe

Browse files
Update JS deps
This updates all the JS deps to the latest versions. Some type changes had to be made to get the react update happy and some css changes had to be made to get the tailwind update happy.
1 parent 41d381a commit ab22ebe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2001
-3905
lines changed

docs/landing-page/.storybook/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ const config: StorybookConfig = {
55
addons: [
66
"@storybook/addon-onboarding",
77
"@storybook/addon-links",
8-
"@storybook/addon-essentials",
98
"@chromatic-com/storybook",
10-
"@storybook/addon-interactions",
119
"@storybook/addon-themes",
10+
"@storybook/addon-docs",
1211
],
1312
framework: {
1413
name: "@storybook/react-vite",

docs/landing-page/.storybook/preview.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import React from "react";
2-
import type { Preview } from "@storybook/react";
2+
import type { Preview } from "@storybook/react-vite";
33
import { withThemeByClassName } from "@storybook/addon-themes";
44
import "../src/i18n/client.tsx";
55
import "../src/index.css";
66

77
const preview: Preview = {
88
parameters: {
9-
backgrounds: { disable: true },
9+
backgrounds: { disabled: true },
1010
controls: {
1111
matchers: {
1212
color: /(background|color)$/i,

docs/landing-page/package-lock.json

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

docs/landing-page/package.json

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -23,48 +23,44 @@
2323
"@radix-ui/react-slot": "^1.2.4",
2424
"class-variance-authority": "^0.7.1",
2525
"clsx": "^2.1.1",
26-
"i18next": "^23.16.3",
26+
"i18next": "^25.7.1",
2727
"i18next-browser-languagedetector": "^8.2.0",
28-
"i18next-http-backend": "^2.6.2",
29-
"lucide-react": "^0.554.0",
30-
"react": "^18.3.1",
31-
"react-dom": "^18.3.1",
32-
"react-i18next": "^15.1.0",
33-
"tailwind-merge": "^2.5.4",
28+
"i18next-http-backend": "^3.0.2",
29+
"lucide-react": "^0.555.0",
30+
"react": "^19.2.1",
31+
"react-dom": "^19.2.1",
32+
"react-i18next": "^16.3.5",
33+
"tailwind-merge": "^2.6.0",
3434
"tailwindcss-animate": "^1.0.7"
3535
},
3636
"devDependencies": {
37-
"@chromatic-com/storybook": "^1.9.0",
37+
"@chromatic-com/storybook": "^4.1.3",
3838
"@eslint/js": "^9.39.1",
39-
"@storybook/addon-essentials": "^8.6.14",
40-
"@storybook/addon-interactions": "^8.6.14",
41-
"@storybook/addon-links": "^8.3.6",
42-
"@storybook/addon-onboarding": "^8.3.6",
43-
"@storybook/addon-themes": "^8.3.6",
44-
"@storybook/blocks": "^8.3.6",
45-
"@storybook/react": "^8.3.6",
46-
"@storybook/react-vite": "^8.3.6",
47-
"@storybook/test": "^8.6.14",
48-
"@types/node": "^22.7.7",
49-
"@types/react": "^18.3.10",
50-
"@types/react-dom": "^18.3.0",
39+
"@storybook/addon-docs": "10.1.4",
40+
"@storybook/addon-links": "10.1.4",
41+
"@storybook/addon-onboarding": "10.1.4",
42+
"@storybook/addon-themes": "10.1.4",
43+
"@storybook/react-vite": "10.1.4",
44+
"@tailwindcss/postcss": "^4.1.17",
45+
"@types/node": "^24.10.1",
46+
"@types/react": "^19.2.7",
47+
"@types/react-dom": "^19.2.3",
5148
"@vitejs/plugin-react": "^5.1.1",
52-
"autoprefixer": "^10.4.22",
5349
"eslint": "^9.39.1",
54-
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
50+
"eslint-plugin-react-hooks": "^7.0.1",
5551
"eslint-plugin-react-refresh": "^0.4.24",
56-
"eslint-plugin-storybook": "^0.10.1",
57-
"globals": "^15.9.0",
52+
"eslint-plugin-storybook": "10.1.4",
53+
"globals": "^16.5.0",
5854
"husky": "^9.1.7",
59-
"lint-staged": "^16.2.6",
55+
"lint-staged": "^16.2.7",
6056
"postcss": "^8.5.6",
61-
"prettier": "^3.6.2",
62-
"storybook": "^8.6.12",
63-
"tailwindcss": "^3.4.14",
64-
"tsx": "^4.20.6",
57+
"prettier": "^3.7.4",
58+
"storybook": "10.1.4",
59+
"tailwindcss": "^4.1.17",
60+
"tsx": "^4.21.0",
6561
"typescript": "^5.9.3",
66-
"typescript-eslint": "^8.47.0",
67-
"vite": "^5.4.21"
62+
"typescript-eslint": "^8.48.1",
63+
"vite": "^7.2.6"
6864
},
6965
"lint-staged": {
7066
"**/*": "prettier --write --ignore-unknown"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export default {
22
plugins: {
3-
tailwindcss: {},
4-
autoprefixer: {},
3+
"@tailwindcss/postcss": {},
54
},
65
};

docs/landing-page/src/App.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/react-vite";
22

33
import App from "./App";
44

docs/landing-page/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function App() {
1717
return (
1818
<>
1919
<TopNavigation />
20-
<main className="pt-[var(--nav-offset)]">
20+
<main className="pt-(--nav-offset)">
2121
<Heading serviceExampleRef={serviceExample} />
2222

2323
<SubHeading modelRef={modelRef} />

docs/landing-page/src/components/landing-page/Features/index.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
2-
import { fn } from "@storybook/test";
1+
import type { Meta, StoryObj } from "@storybook/react-vite";
2+
import { fn } from "storybook/test";
33

44
import { Features } from ".";
55

docs/landing-page/src/components/landing-page/Footer/index.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/react-vite";
22

33
import { Footer } from "./";
44

docs/landing-page/src/components/landing-page/Heading/Diagram.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const Diagram = () => {
3939
</CardHeader>
4040
</Card>
4141

42-
<SmithyGlow className="mt-20 p-24 bg-[position:center_center] bg-[size:91%_85%]">
42+
<SmithyGlow className="mt-20 p-24 bg-position-[center_center] bg-size-[91%_85%]">
4343
<Card
4444
variant={"gradient-border"}
4545
className="bg-smithy-black text-center"

0 commit comments

Comments
 (0)