mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 05:42:15 +08:00
chore: update deps (#33862)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,13 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
|
|
||||||
import antfu, { GLOB_MARKDOWN, GLOB_TESTS, GLOB_TS, GLOB_TSX, isInEditorEnv, isInGitHooksOrLintStaged } from '@antfu/eslint-config'
|
import antfu, { GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_TESTS, GLOB_TS, GLOB_TSX, isInEditorEnv, isInGitHooksOrLintStaged } from '@antfu/eslint-config'
|
||||||
|
import pluginReact from '@eslint-react/eslint-plugin'
|
||||||
import pluginQuery from '@tanstack/eslint-plugin-query'
|
import pluginQuery from '@tanstack/eslint-plugin-query'
|
||||||
import md from 'eslint-markdown'
|
import md from 'eslint-markdown'
|
||||||
import tailwindcss from 'eslint-plugin-better-tailwindcss'
|
import tailwindcss from 'eslint-plugin-better-tailwindcss'
|
||||||
import hyoban from 'eslint-plugin-hyoban'
|
import hyoban from 'eslint-plugin-hyoban'
|
||||||
import markdownPreferences from 'eslint-plugin-markdown-preferences'
|
import markdownPreferences from 'eslint-plugin-markdown-preferences'
|
||||||
|
import { reactRefresh } from 'eslint-plugin-react-refresh'
|
||||||
import sonar from 'eslint-plugin-sonarjs'
|
import sonar from 'eslint-plugin-sonarjs'
|
||||||
import storybook from 'eslint-plugin-storybook'
|
import storybook from 'eslint-plugin-storybook'
|
||||||
import {
|
import {
|
||||||
@@ -23,22 +25,11 @@ process.env.TAILWIND_MODE ??= 'ESLINT'
|
|||||||
|
|
||||||
const disableRuleAutoFix = !(isInEditorEnv() || isInGitHooksOrLintStaged())
|
const disableRuleAutoFix = !(isInEditorEnv() || isInGitHooksOrLintStaged())
|
||||||
|
|
||||||
|
const plugins = pluginReact.configs.all.plugins
|
||||||
|
|
||||||
export default antfu(
|
export default antfu(
|
||||||
{
|
{
|
||||||
react: {
|
react: false,
|
||||||
// This react compiler rules are pretty slow
|
|
||||||
// We can wait for https://github.com/Rel1cx/eslint-react/issues/1237
|
|
||||||
reactCompiler: false,
|
|
||||||
overrides: {
|
|
||||||
'react/no-context-provider': 'off',
|
|
||||||
'react/no-forward-ref': 'off',
|
|
||||||
'react/no-use-context': 'off',
|
|
||||||
|
|
||||||
// prefer react-hooks-extra/no-direct-set-state-in-use-effect
|
|
||||||
'react-hooks/set-state-in-effect': 'off',
|
|
||||||
'react-hooks-extra/no-direct-set-state-in-use-effect': 'error',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
nextjs: true,
|
nextjs: true,
|
||||||
ignores: ['public', 'types/doc-paths.ts', 'eslint-suppressions.json'],
|
ignores: ['public', 'types/doc-paths.ts', 'eslint-suppressions.json'],
|
||||||
typescript: {
|
typescript: {
|
||||||
@@ -60,6 +51,30 @@ export default antfu(
|
|||||||
},
|
},
|
||||||
e18e: false,
|
e18e: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
plugins: {
|
||||||
|
'react': plugins?.['@eslint-react'],
|
||||||
|
'react-dom': plugins?.['@eslint-react/dom'],
|
||||||
|
'react-naming-convention': plugins?.['@eslint-react/naming-convention'],
|
||||||
|
'react-rsc': plugins?.['@eslint-react/rsc'],
|
||||||
|
'react-web-api': plugins?.['@eslint-react/web-api'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: [GLOB_TS, GLOB_TSX],
|
||||||
|
rules: {
|
||||||
|
...pluginReact.configs['recommended-typescript'].rules,
|
||||||
|
'react/prefer-namespace-import': 'error',
|
||||||
|
'react/set-state-in-effect': 'error',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: [...GLOB_TESTS, GLOB_MARKDOWN_CODE, 'vitest.setup.ts', 'test/i18n-mock.ts'],
|
||||||
|
rules: {
|
||||||
|
'react/component-hook-factories': 'off',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
reactRefresh.configs.next(),
|
||||||
markdownPreferences.configs.standard,
|
markdownPreferences.configs.standard,
|
||||||
{
|
{
|
||||||
files: [GLOB_MARKDOWN],
|
files: [GLOB_MARKDOWN],
|
||||||
@@ -194,3 +209,10 @@ export default antfu(
|
|||||||
'tailwindcss/no-unnecessary-whitespace',
|
'tailwindcss/no-unnecessary-whitespace',
|
||||||
]
|
]
|
||||||
: [])
|
: [])
|
||||||
|
.renamePlugins({
|
||||||
|
'@eslint-react': 'react',
|
||||||
|
'@eslint-react/dom': 'react-dom',
|
||||||
|
'@eslint-react/naming-convention': 'react-naming-convention',
|
||||||
|
'@eslint-react/rsc': 'react-rsc',
|
||||||
|
'@eslint-react/web-api': 'react-web-api',
|
||||||
|
})
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ const config: KnipConfig = {
|
|||||||
|
|
||||||
'@storybook/addon-onboarding',
|
'@storybook/addon-onboarding',
|
||||||
|
|
||||||
'@voidzero-dev/vite-plus-core',
|
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
files: 'warn',
|
files: 'warn',
|
||||||
@@ -32,7 +31,6 @@ const config: KnipConfig = {
|
|||||||
unresolved: 'warn',
|
unresolved: 'warn',
|
||||||
exports: 'warn',
|
exports: 'warn',
|
||||||
nsExports: 'warn',
|
nsExports: 'warn',
|
||||||
classMembers: 'warn',
|
|
||||||
types: 'warn',
|
types: 'warn',
|
||||||
nsTypes: 'warn',
|
nsTypes: 'warn',
|
||||||
enumMembers: 'warn',
|
enumMembers: 'warn',
|
||||||
|
|||||||
@@ -58,8 +58,8 @@
|
|||||||
"uglify-embed": "node ./bin/uglify-embed"
|
"uglify-embed": "node ./bin/uglify-embed"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@amplitude/analytics-browser": "2.36.7",
|
"@amplitude/analytics-browser": "2.37.0",
|
||||||
"@amplitude/plugin-session-replay-browser": "1.26.4",
|
"@amplitude/plugin-session-replay-browser": "1.27.1",
|
||||||
"@base-ui/react": "1.3.0",
|
"@base-ui/react": "1.3.0",
|
||||||
"@emoji-mart/data": "1.2.1",
|
"@emoji-mart/data": "1.2.1",
|
||||||
"@floating-ui/react": "0.27.19",
|
"@floating-ui/react": "0.27.19",
|
||||||
@@ -67,28 +67,28 @@
|
|||||||
"@headlessui/react": "2.2.9",
|
"@headlessui/react": "2.2.9",
|
||||||
"@heroicons/react": "2.2.0",
|
"@heroicons/react": "2.2.0",
|
||||||
"@hono/node-server": "1.19.11",
|
"@hono/node-server": "1.19.11",
|
||||||
"@lexical/code": "0.41.0",
|
"@lexical/code": "0.42.0",
|
||||||
"@lexical/link": "0.41.0",
|
"@lexical/link": "0.42.0",
|
||||||
"@lexical/list": "0.41.0",
|
"@lexical/list": "0.42.0",
|
||||||
"@lexical/react": "0.41.0",
|
"@lexical/react": "0.42.0",
|
||||||
"@lexical/selection": "0.41.0",
|
"@lexical/selection": "0.42.0",
|
||||||
"@lexical/text": "0.41.0",
|
"@lexical/text": "0.42.0",
|
||||||
"@lexical/utils": "0.41.0",
|
"@lexical/utils": "0.42.0",
|
||||||
"@monaco-editor/react": "4.7.0",
|
"@monaco-editor/react": "4.7.0",
|
||||||
"@octokit/core": "7.0.6",
|
"@octokit/core": "7.0.6",
|
||||||
"@octokit/request-error": "7.1.0",
|
"@octokit/request-error": "7.1.0",
|
||||||
"@orpc/client": "1.13.8",
|
"@orpc/client": "1.13.9",
|
||||||
"@orpc/contract": "1.13.8",
|
"@orpc/contract": "1.13.9",
|
||||||
"@orpc/openapi-client": "1.13.8",
|
"@orpc/openapi-client": "1.13.9",
|
||||||
"@orpc/tanstack-query": "1.13.8",
|
"@orpc/tanstack-query": "1.13.9",
|
||||||
"@remixicon/react": "4.9.0",
|
"@remixicon/react": "4.9.0",
|
||||||
"@sentry/react": "10.44.0",
|
"@sentry/react": "10.45.0",
|
||||||
"@streamdown/math": "1.0.2",
|
"@streamdown/math": "1.0.2",
|
||||||
"@svgdotjs/svg.js": "3.2.5",
|
"@svgdotjs/svg.js": "3.2.5",
|
||||||
"@t3-oss/env-nextjs": "0.13.10",
|
"@t3-oss/env-nextjs": "0.13.11",
|
||||||
"@tailwindcss/typography": "0.5.19",
|
"@tailwindcss/typography": "0.5.19",
|
||||||
"@tanstack/react-form": "1.28.5",
|
"@tanstack/react-form": "1.28.5",
|
||||||
"@tanstack/react-query": "5.91.0",
|
"@tanstack/react-query": "5.95.0",
|
||||||
"abcjs": "6.6.2",
|
"abcjs": "6.6.2",
|
||||||
"ahooks": "3.9.6",
|
"ahooks": "3.9.6",
|
||||||
"class-variance-authority": "0.7.1",
|
"class-variance-authority": "0.7.1",
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
"hono": "4.12.8",
|
"hono": "4.12.8",
|
||||||
"html-entities": "2.6.0",
|
"html-entities": "2.6.0",
|
||||||
"html-to-image": "1.11.13",
|
"html-to-image": "1.11.13",
|
||||||
"i18next": "25.8.18",
|
"i18next": "25.10.4",
|
||||||
"i18next-resources-to-backend": "1.2.1",
|
"i18next-resources-to-backend": "1.2.1",
|
||||||
"immer": "11.1.4",
|
"immer": "11.1.4",
|
||||||
"jotai": "2.18.1",
|
"jotai": "2.18.1",
|
||||||
@@ -119,15 +119,15 @@
|
|||||||
"js-cookie": "3.0.5",
|
"js-cookie": "3.0.5",
|
||||||
"js-yaml": "4.1.1",
|
"js-yaml": "4.1.1",
|
||||||
"jsonschema": "1.5.0",
|
"jsonschema": "1.5.0",
|
||||||
"katex": "0.16.38",
|
"katex": "0.16.40",
|
||||||
"ky": "1.14.3",
|
"ky": "1.14.3",
|
||||||
"lamejs": "1.2.1",
|
"lamejs": "1.2.1",
|
||||||
"lexical": "0.41.0",
|
"lexical": "0.42.0",
|
||||||
"mermaid": "11.13.0",
|
"mermaid": "11.13.0",
|
||||||
"mime": "4.1.0",
|
"mime": "4.1.0",
|
||||||
"mitt": "3.0.1",
|
"mitt": "3.0.1",
|
||||||
"negotiator": "1.0.0",
|
"negotiator": "1.0.0",
|
||||||
"next": "16.2.0",
|
"next": "16.2.1",
|
||||||
"next-themes": "0.4.6",
|
"next-themes": "0.4.6",
|
||||||
"nuqs": "2.8.9",
|
"nuqs": "2.8.9",
|
||||||
"pinyin-pro": "3.28.0",
|
"pinyin-pro": "3.28.0",
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
"react-dom": "19.2.4",
|
"react-dom": "19.2.4",
|
||||||
"react-easy-crop": "5.5.6",
|
"react-easy-crop": "5.5.6",
|
||||||
"react-hotkeys-hook": "5.2.4",
|
"react-hotkeys-hook": "5.2.4",
|
||||||
"react-i18next": "16.5.8",
|
"react-i18next": "16.6.1",
|
||||||
"react-multi-email": "1.0.25",
|
"react-multi-email": "1.0.25",
|
||||||
"react-papaparse": "4.4.0",
|
"react-papaparse": "4.4.0",
|
||||||
"react-pdf-highlighter": "8.0.0-rc.0",
|
"react-pdf-highlighter": "8.0.0-rc.0",
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
"streamdown": "2.5.0",
|
"streamdown": "2.5.0",
|
||||||
"string-ts": "2.3.1",
|
"string-ts": "2.3.1",
|
||||||
"tailwind-merge": "2.6.1",
|
"tailwind-merge": "2.6.1",
|
||||||
"tldts": "7.0.26",
|
"tldts": "7.0.27",
|
||||||
"unist-util-visit": "5.1.0",
|
"unist-util-visit": "5.1.0",
|
||||||
"use-context-selector": "2.0.0",
|
"use-context-selector": "2.0.0",
|
||||||
"uuid": "13.0.0",
|
"uuid": "13.0.0",
|
||||||
@@ -167,27 +167,27 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "7.7.3",
|
"@antfu/eslint-config": "7.7.3",
|
||||||
"@chromatic-com/storybook": "5.0.1",
|
"@chromatic-com/storybook": "5.0.2",
|
||||||
"@egoist/tailwindcss-icons": "1.9.2",
|
"@egoist/tailwindcss-icons": "1.9.2",
|
||||||
"@eslint-react/eslint-plugin": "2.13.0",
|
"@eslint-react/eslint-plugin": "3.0.0",
|
||||||
"@iconify-json/heroicons": "1.2.3",
|
"@iconify-json/heroicons": "1.2.3",
|
||||||
"@iconify-json/ri": "1.2.10",
|
"@iconify-json/ri": "1.2.10",
|
||||||
"@mdx-js/loader": "3.1.1",
|
"@mdx-js/loader": "3.1.1",
|
||||||
"@mdx-js/react": "3.1.1",
|
"@mdx-js/react": "3.1.1",
|
||||||
"@mdx-js/rollup": "3.1.1",
|
"@mdx-js/rollup": "3.1.1",
|
||||||
"@next/eslint-plugin-next": "16.2.0",
|
"@next/eslint-plugin-next": "16.2.1",
|
||||||
"@next/mdx": "16.2.0",
|
"@next/mdx": "16.2.1",
|
||||||
"@rgrove/parse-xml": "4.2.0",
|
"@rgrove/parse-xml": "4.2.0",
|
||||||
"@storybook/addon-docs": "10.3.0",
|
"@storybook/addon-docs": "10.3.1",
|
||||||
"@storybook/addon-links": "10.3.0",
|
"@storybook/addon-links": "10.3.1",
|
||||||
"@storybook/addon-onboarding": "10.3.0",
|
"@storybook/addon-onboarding": "10.3.1",
|
||||||
"@storybook/addon-themes": "10.3.0",
|
"@storybook/addon-themes": "10.3.1",
|
||||||
"@storybook/nextjs-vite": "10.3.0",
|
"@storybook/nextjs-vite": "10.3.1",
|
||||||
"@storybook/react": "10.3.0",
|
"@storybook/react": "10.3.1",
|
||||||
"@tanstack/eslint-plugin-query": "5.91.5",
|
"@tanstack/eslint-plugin-query": "5.95.0",
|
||||||
"@tanstack/react-devtools": "0.10.0",
|
"@tanstack/react-devtools": "0.10.0",
|
||||||
"@tanstack/react-form-devtools": "0.2.19",
|
"@tanstack/react-form-devtools": "0.2.19",
|
||||||
"@tanstack/react-query-devtools": "5.91.3",
|
"@tanstack/react-query-devtools": "5.95.0",
|
||||||
"@testing-library/dom": "10.4.1",
|
"@testing-library/dom": "10.4.1",
|
||||||
"@testing-library/jest-dom": "6.9.1",
|
"@testing-library/jest-dom": "6.9.1",
|
||||||
"@testing-library/react": "16.3.2",
|
"@testing-library/react": "16.3.2",
|
||||||
@@ -208,14 +208,14 @@
|
|||||||
"@types/react-window": "1.8.8",
|
"@types/react-window": "1.8.8",
|
||||||
"@types/sortablejs": "1.15.9",
|
"@types/sortablejs": "1.15.9",
|
||||||
"@typescript-eslint/parser": "8.57.1",
|
"@typescript-eslint/parser": "8.57.1",
|
||||||
"@typescript/native-preview": "7.0.0-dev.20260318.1",
|
"@typescript/native-preview": "7.0.0-dev.20260322.1",
|
||||||
"@vitejs/plugin-react": "6.0.1",
|
"@vitejs/plugin-react": "6.0.1",
|
||||||
"@vitejs/plugin-rsc": "0.5.21",
|
"@vitejs/plugin-rsc": "0.5.21",
|
||||||
"@vitest/coverage-v8": "4.1.0",
|
"@vitest/coverage-v8": "4.1.0",
|
||||||
"agentation": "2.3.3",
|
"agentation": "2.3.3",
|
||||||
"autoprefixer": "10.4.27",
|
"autoprefixer": "10.4.27",
|
||||||
"code-inspector-plugin": "1.4.4",
|
"code-inspector-plugin": "1.4.5",
|
||||||
"eslint": "10.0.3",
|
"eslint": "10.1.0",
|
||||||
"eslint-markdown": "0.6.0",
|
"eslint-markdown": "0.6.0",
|
||||||
"eslint-plugin-better-tailwindcss": "4.3.2",
|
"eslint-plugin-better-tailwindcss": "4.3.2",
|
||||||
"eslint-plugin-hyoban": "0.14.1",
|
"eslint-plugin-hyoban": "0.14.1",
|
||||||
@@ -223,29 +223,29 @@
|
|||||||
"eslint-plugin-react-hooks": "7.0.1",
|
"eslint-plugin-react-hooks": "7.0.1",
|
||||||
"eslint-plugin-react-refresh": "0.5.2",
|
"eslint-plugin-react-refresh": "0.5.2",
|
||||||
"eslint-plugin-sonarjs": "4.0.2",
|
"eslint-plugin-sonarjs": "4.0.2",
|
||||||
"eslint-plugin-storybook": "10.3.0",
|
"eslint-plugin-storybook": "10.3.1",
|
||||||
"husky": "9.1.7",
|
"husky": "9.1.7",
|
||||||
"iconify-import-svg": "0.1.2",
|
"iconify-import-svg": "0.1.2",
|
||||||
"jsdom": "29.0.0",
|
"jsdom": "29.0.1",
|
||||||
"jsdom-testing-mocks": "1.16.0",
|
"jsdom-testing-mocks": "1.16.0",
|
||||||
"knip": "5.88.0",
|
"knip": "6.0.2",
|
||||||
"lint-staged": "16.4.0",
|
"lint-staged": "16.4.0",
|
||||||
"nock": "14.0.11",
|
"nock": "14.0.11",
|
||||||
"postcss": "8.5.8",
|
"postcss": "8.5.8",
|
||||||
"postcss-js": "5.1.0",
|
"postcss-js": "5.1.0",
|
||||||
"react-server-dom-webpack": "19.2.4",
|
"react-server-dom-webpack": "19.2.4",
|
||||||
"sass": "1.98.0",
|
"sass": "1.98.0",
|
||||||
"storybook": "10.3.0",
|
"storybook": "10.3.1",
|
||||||
"tailwindcss": "3.4.19",
|
"tailwindcss": "3.4.19",
|
||||||
"taze": "19.10.0",
|
"taze": "19.10.0",
|
||||||
"tsx": "4.21.0",
|
"tsx": "4.21.0",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"uglify-js": "3.19.3",
|
"uglify-js": "3.19.3",
|
||||||
"vinext": "0.0.31",
|
"vinext": "0.0.34",
|
||||||
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.12",
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.13",
|
||||||
"vite-plugin-inspect": "11.3.3",
|
"vite-plugin-inspect": "11.3.3",
|
||||||
"vite-plus": "0.1.12",
|
"vite-plus": "0.1.13",
|
||||||
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.12",
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.13",
|
||||||
"vitest-canvas-mock": "1.1.3"
|
"vitest-canvas-mock": "1.1.3"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
@@ -261,7 +261,7 @@
|
|||||||
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@^1.0.44",
|
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@^1.0.44",
|
||||||
"assert": "npm:@nolyfill/assert@^1.0.26",
|
"assert": "npm:@nolyfill/assert@^1.0.26",
|
||||||
"brace-expansion@<2.0.2": "2.0.2",
|
"brace-expansion@<2.0.2": "2.0.2",
|
||||||
"canvas": "^3.2.1",
|
"canvas": "^3.2.2",
|
||||||
"devalue@<5.3.2": "5.3.2",
|
"devalue@<5.3.2": "5.3.2",
|
||||||
"dompurify@>=3.1.3 <=3.3.1": "3.3.2",
|
"dompurify@>=3.1.3 <=3.3.1": "3.3.2",
|
||||||
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@^1.0.21",
|
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@^1.0.21",
|
||||||
@@ -297,8 +297,8 @@
|
|||||||
"tar@<=7.5.10": "7.5.11",
|
"tar@<=7.5.10": "7.5.11",
|
||||||
"typed-array-buffer": "npm:@nolyfill/typed-array-buffer@^1.0.44",
|
"typed-array-buffer": "npm:@nolyfill/typed-array-buffer@^1.0.44",
|
||||||
"undici@>=7.0.0 <7.24.0": "7.24.0",
|
"undici@>=7.0.0 <7.24.0": "7.24.0",
|
||||||
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.12",
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.13",
|
||||||
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.12",
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.13",
|
||||||
"which-typed-array": "npm:@nolyfill/which-typed-array@^1.0.44",
|
"which-typed-array": "npm:@nolyfill/which-typed-array@^1.0.44",
|
||||||
"yauzl@<3.2.1": "3.2.1"
|
"yauzl@<3.2.1": "3.2.1"
|
||||||
},
|
},
|
||||||
|
|||||||
2753
web/pnpm-lock.yaml
generated
2753
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -3,10 +3,8 @@ import { fileURLToPath } from 'node:url'
|
|||||||
import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons'
|
import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons'
|
||||||
import tailwindTypography from '@tailwindcss/typography'
|
import tailwindTypography from '@tailwindcss/typography'
|
||||||
import { importSvgCollections } from 'iconify-import-svg'
|
import { importSvgCollections } from 'iconify-import-svg'
|
||||||
// @ts-expect-error workaround for turbopack issue
|
import { cssAsPlugin } from './tailwind-css-plugin'
|
||||||
import { cssAsPlugin } from './tailwind-css-plugin.ts'
|
import tailwindThemeVarDefine from './themes/tailwind-theme-var-define'
|
||||||
// @ts-expect-error workaround for turbopack issue
|
|
||||||
import tailwindThemeVarDefine from './themes/tailwind-theme-var-define.ts'
|
|
||||||
import typography from './typography.js'
|
import typography from './typography.js'
|
||||||
|
|
||||||
const _dirname = typeof __dirname !== 'undefined'
|
const _dirname = typeof __dirname !== 'undefined'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// import type { Config } from 'tailwindcss'
|
import type { Config } from 'tailwindcss'
|
||||||
import commonConfig from './tailwind-common-config.ts'
|
import commonConfig from './tailwind-common-config'
|
||||||
|
|
||||||
const config = {
|
const config: Config = {
|
||||||
content: [
|
content: [
|
||||||
'./app/**/*.{js,ts,jsx,tsx}',
|
'./app/**/*.{js,ts,jsx,tsx}',
|
||||||
'./components/**/*.{js,ts,jsx,tsx}',
|
'./components/**/*.{js,ts,jsx,tsx}',
|
||||||
@@ -10,7 +10,6 @@ export default defineConfig({
|
|||||||
// We can not upgrade these yet
|
// We can not upgrade these yet
|
||||||
'tailwind-merge',
|
'tailwind-merge',
|
||||||
'tailwindcss',
|
'tailwindcss',
|
||||||
'@eslint-react/eslint-plugin',
|
|
||||||
],
|
],
|
||||||
|
|
||||||
write: true,
|
write: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user