temp: 暂存

This commit is contained in:
xion 2024-10-03 14:59:51 +08:00
parent d03391446f
commit cf5159d3b4
6 changed files with 276 additions and 256 deletions

3
.gitignore vendored
View File

@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?
tsconfig.app.tsbuildinfo
tsconfig.node.tsbuildinfo

2
.npmrc Normal file
View File

@ -0,0 +1,2 @@
@abearxiong:registry=https://npm.pkg.github.com
@build:registry=https://npm.xiongxiao.me

View File

@ -1,9 +1,9 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import react from 'eslint-plugin-react'
import js from '@eslint/js';
import globals from 'globals';
import reactHooks from 'eslint-plugin-react-hooks';
import reactRefresh from 'eslint-plugin-react-refresh';
import tseslint from 'typescript-eslint';
import react from 'eslint-plugin-react';
export default tseslint.config(
{ ignores: ['dist'] },
@ -20,13 +20,12 @@ export default tseslint.config(
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
'@typescript-eslint/no-explicit-any': 'off',
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
'@typescript-eslint/no-unused-vars': 'off',
'no-debugger': 'off',
},
},
)
);

View File

@ -10,8 +10,9 @@
"preview": "vite preview"
},
"dependencies": {
"@kevisual/query": "^0.0.2",
"antd": "^5.20.6",
"@ant-design/icons": "^5.5.1",
"@kevisual/query": "^0.0.6",
"antd": "^5.21.2",
"clsx": "^2.1.1",
"immer": "^10.1.1",
"lodash-es": "^4.17.21",
@ -24,23 +25,23 @@
"zustand": "^4.5.5"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@eslint/js": "^9.11.1",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^22.5.4",
"@types/react": "^18.3.5",
"@types/node": "^22.7.4",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.3.2",
"autoprefixer": "^10.4.20",
"eslint": "^9.10.0",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.11",
"globals": "^15.9.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.10.0",
"tailwind-merge": "^2.5.2",
"tailwindcss": "^3.4.11",
"tailwindcss": "^3.4.13",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.6.2",
"typescript-eslint": "^8.5.0",
"vite": "^5.4.4"
"typescript-eslint": "^8.8.0",
"vite": "^5.4.8"
}
}

480
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,3 @@
const a = 1
export const App = () => {
return <div className="bg-slate-200 w-20 h-10 border">App</div>;