chore: bump packages and modify tailwind configuration

This commit is contained in:
Igor Klepacki 2025-05-07 14:10:54 +02:00
parent 62decbb679
commit 09c18429e3
5 changed files with 3554 additions and 2380 deletions

View file

@ -22,44 +22,44 @@
"coupling-graph": "npx madge --extensions js,jsx,ts,tsx,css,md,mdx ./ --exclude '.next|tailwind.config.js|reset.d.ts|prettier.config.js|postcss.config.js|playwright.config.ts|next.config.js|next-env.d.ts|instrumentation.ts|e2e/|README.md|.storybook/|.eslintrc.js' --image graph.svg" "coupling-graph": "npx madge --extensions js,jsx,ts,tsx,css,md,mdx ./ --exclude '.next|tailwind.config.js|reset.d.ts|prettier.config.js|postcss.config.js|playwright.config.ts|next.config.js|next-env.d.ts|instrumentation.ts|e2e/|README.md|.storybook/|.eslintrc.js' --image graph.svg"
}, },
"dependencies": { "dependencies": {
"@next/bundle-analyzer": "^15.1.6", "@next/bundle-analyzer": "^15.3.1",
"@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-checkbox": "^1.0.4", "@radix-ui/react-checkbox": "^1.3.1",
"@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-dialog": "^1.1.13",
"@radix-ui/react-dropdown-menu": "^2.0.6", "@radix-ui/react-dropdown-menu": "^2.1.14",
"@radix-ui/react-form": "^0.0.3", "@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-label": "^2.0.2", "@radix-ui/react-label": "^2.1.6",
"@radix-ui/react-popover": "^1.0.7", "@radix-ui/react-popover": "^1.1.13",
"@radix-ui/react-radio-group": "^1.1.3", "@radix-ui/react-radio-group": "^1.3.6",
"@radix-ui/react-scroll-area": "^1.0.5", "@radix-ui/react-scroll-area": "^1.2.8",
"@radix-ui/react-select": "2.0.0", "@radix-ui/react-select": "2.0.0",
"@radix-ui/react-slider": "^1.1.2", "@radix-ui/react-slider": "^1.3.4",
"@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-switch": "^1.2.4",
"@radix-ui/react-tabs": "^1.0.4", "@radix-ui/react-tabs": "^1.1.11",
"@radix-ui/react-toggle-group": "^1.0.4", "@radix-ui/react-toggle-group": "^1.1.9",
"@radix-ui/react-tooltip": "^1.0.7", "@radix-ui/react-tooltip": "^1.2.6",
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "12.0.0", "@semantic-release/commit-analyzer": "12.0.0",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.0.5", "@semantic-release/github": "^10.3.5",
"@semantic-release/npm": "^12.0.1", "@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^13.0.0", "@semantic-release/release-notes-generator": "^13.0.0",
"@t3-oss/env-nextjs": "^0.10.1", "@t3-oss/env-nextjs": "^0.10.1",
"@vercel/otel": "^1.8.3", "@vercel/otel": "^1.12.0",
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"next": "15.2.3", "next": "15.3.1",
"react": "^19.0.0", "react": "^19.1.0",
"react-dom": "^19.0.0", "react-dom": "^19.1.0",
"tailwind-merge": "^2.3.0", "tailwind-merge": "^2.6.0",
"zod": "^3.23.8" "zod": "^3.24.4"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.23.3", "@babel/core": "^7.27.1",
"@babel/plugin-syntax-flow": "^7.23.3", "@babel/plugin-syntax-flow": "^7.27.1",
"@babel/plugin-transform-optional-chaining": "^7.23.4", "@babel/plugin-transform-optional-chaining": "^7.27.1",
"@babel/plugin-transform-react-jsx": "^7.23.4", "@babel/plugin-transform-react-jsx": "^7.27.1",
"@eslint/eslintrc": "^3", "@eslint/eslintrc": "^3.3.1",
"@jest/globals": "^29.7.0", "@jest/globals": "^29.7.0",
"@next/eslint-plugin-next": "15.1.6", "@next/eslint-plugin-next": "15.1.6",
"@opentelemetry/api": "1.7.0", "@opentelemetry/api": "1.7.0",
@ -67,32 +67,32 @@
"@opentelemetry/sdk-node": "0.45.1", "@opentelemetry/sdk-node": "0.45.1",
"@opentelemetry/sdk-trace-node": "1.18.1", "@opentelemetry/sdk-trace-node": "1.18.1",
"@opentelemetry/semantic-conventions": "1.18.1", "@opentelemetry/semantic-conventions": "1.18.1",
"@playwright/test": "^1.40.0", "@playwright/test": "^1.52.0",
"@storybook/addon-controls": "^8.5.1", "@storybook/addon-controls": "^8.6.12",
"@storybook/addon-essentials": "^8.5.1", "@storybook/addon-essentials": "^8.6.12",
"@storybook/addon-interactions": "^8.5.1", "@storybook/addon-interactions": "^8.6.12",
"@storybook/addon-links": "^8.5.1", "@storybook/addon-links": "^8.6.12",
"@storybook/blocks": "^8.5.1", "@storybook/blocks": "^8.6.12",
"@storybook/nextjs": "^8.5.1", "@storybook/nextjs": "^8.6.12",
"@storybook/react": "^8.5.1", "@storybook/react": "^8.6.12",
"@storybook/test": "^8.5.1", "@storybook/test": "^8.6.12",
"@storybook/test-runner": "^0.21.0", "@storybook/test-runner": "^0.21.3",
"@tailwindcss/postcss": "^4.0.0", "@tailwindcss/postcss": "^4.1.5",
"@testing-library/jest-dom": "^6.1.4", "@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.2", "@testing-library/react": "^14.3.1",
"@total-typescript/ts-reset": "^0.5.1", "@total-typescript/ts-reset": "^0.5.1",
"@types/jest": "^29.5.10", "@types/jest": "^29.5.10",
"@types/node": "^20", "@types/node": "^20.17.43",
"@types/react": "^19", "@types/react": "^19.1.3",
"@types/react-dom": "^19", "@types/react-dom": "^19.1.3",
"@typescript-eslint/eslint-plugin": "8.21.0", "@typescript-eslint/eslint-plugin": "8.21.0",
"all-contributors-cli": "^6.26.1", "all-contributors-cli": "^6.26.1",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^9", "eslint": "^9.26.0",
"eslint-config-next": "15.1.6", "eslint-config-next": "15.1.6",
"eslint-config-prettier": "^10.0.1", "eslint-config-prettier": "^10.1.2",
"eslint-plugin-import": "^2.31.0", "eslint-plugin-import": "^2.31.0",
"eslint-plugin-storybook": "^0.11.2", "eslint-plugin-storybook": "^0.11.6",
"eslint-plugin-tailwindcss": "^3.18.0", "eslint-plugin-tailwindcss": "^3.18.0",
"fetch-mock": "^9.11.0", "fetch-mock": "^9.11.0",
"gzip-size": "6.0.0", "gzip-size": "6.0.0",
@ -100,18 +100,19 @@
"jest-environment-jsdom": "^29.7.0", "jest-environment-jsdom": "^29.7.0",
"mkdirp": "^3.0.1", "mkdirp": "^3.0.1",
"patch-package": "^8.0.0", "patch-package": "^8.0.0",
"postcss": "^8", "postcss": "^8.5.3",
"postcss-import": "^16.1.0",
"postinstall-postinstall": "^2.1.0", "postinstall-postinstall": "^2.1.0",
"prettier": "3.0.3", "prettier": "3.0.3",
"prettier-plugin-tailwindcss": "^0.6.10", "prettier-plugin-tailwindcss": "^0.6.11",
"semantic-release": "^22.0.8", "semantic-release": "^22.0.12",
"storybook": "^8.5.1", "storybook": "^8.6.12",
"tailwindcss": "^4.0.0", "tailwindcss": "^4.1.5",
"ts-jest": "^29.1.1", "ts-jest": "^29.3.2",
"tsc": "^2.0.4", "tsc": "^2.0.4",
"typed-query-selector": "^2.12.0", "typed-query-selector": "^2.12.0",
"typescript": "^5", "typescript": "^5.8.3",
"typescript-eslint": "^8.21.0", "typescript-eslint": "^8.32.0",
"webpack": "5.89.0" "webpack": "5.89.0"
}, },
"engines": { "engines": {

5740
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,6 @@
module.exports = { module.exports = {
plugins: { plugins: {
"postcss-import": {},
"@tailwindcss/postcss": {}, "@tailwindcss/postcss": {},
}, },
} }

View file

@ -1,7 +1,5 @@
@import 'tailwindcss'; @import 'tailwindcss';
@config '../tailwind.config.js';
/* /*
The default border color has changed to `currentColor` in Tailwind CSS v4, The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still so we've added these compatibility styles to make sure everything still

View file

@ -1,88 +0,0 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const defaultTheme = require("tailwindcss/defaultTheme")
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
primary: {
50: "#eff6ff",
100: "#dbeafe",
200: "#bfdbfe",
300: "#93c5fd",
400: "#60a5fa",
500: "#3b82f6",
600: "#2563eb",
700: "#1d4ed8",
800: "#1e40af",
900: "#1e3a8a",
},
},
fontFamily: {
body: [
"Inter",
"ui-sans-serif",
"system-ui",
"-apple-system",
"system-ui",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"Noto Sans",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
sans: [
"Inter",
"ui-sans-serif",
"system-ui",
"-apple-system",
"system-ui",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"Noto Sans",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
},
borderWidth: {
DEFAULT: "1px",
0: "0",
2: "2px",
3: "3px",
4: "4px",
6: "6px",
8: "8px",
},
minHeight: {
...defaultTheme.height,
},
minWidth: {
...defaultTheme.width,
},
},
},
plugins: [],
future: {
hoverOnlyWhenSupported: true,
},
}