This commit is contained in:
dap
2024-08-29 19:55:11 +08:00
74 changed files with 1238 additions and 453 deletions

View File

@@ -23,8 +23,8 @@
}
},
"dependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@vben/node-utils": "workspace:*",
"commitlint-plugin-function-rules": "^4.0.0",
"cz-git": "^1.9.4",

View File

@@ -27,9 +27,9 @@
}
},
"dependencies": {
"eslint-config-turbo": "^2.0.14",
"eslint-config-turbo": "^2.1.0",
"eslint-plugin-command": "^0.2.3",
"eslint-plugin-import-x": "^3.1.0"
"eslint-plugin-import-x": "^4.1.0"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
@@ -43,7 +43,7 @@
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-perfectionist": "^3.2.0",
"eslint-plugin-perfectionist": "^3.3.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-unicorn": "^55.0.0",

View File

@@ -2,7 +2,6 @@ import type { Linter } from 'eslint';
// @ts-expect-error - no types
import js from '@eslint/js';
// @ts-expect-error - no types
import pluginUnusedImports from 'eslint-plugin-unused-imports';
import globals from 'globals';

View File

@@ -68,7 +68,7 @@ export async function perfectionist(): Promise<Linter.Config[]> {
ignorePattern: ['children'],
order: 'asc',
partitionByComment: 'Part:**',
type: 'natural',
type: 'alphabetical',
},
],
'perfectionist/sort-vue-attributes': [

View File

@@ -15,10 +15,6 @@ export async function vue(): Promise<Linter.Config[]> {
{
files: ['**/*.vue'],
languageOptions: {
globals: {
// TODO: 等待插件正式支持后删除
defineModel: true,
},
parser: parserVue,
parserOptions: {
ecmaFeatures: {

View File

@@ -32,7 +32,7 @@
"postcss-html": "^1.7.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.3",
"stylelint": "^16.8.2",
"stylelint": "^16.9.0",
"stylelint-config-recommended": "^14.0.1",
"stylelint-config-recommended-scss": "^14.1.0",
"stylelint-config-recommended-vue": "^1.5.0",

View File

@@ -46,10 +46,10 @@
"tailwindcss": "^3.4.3"
},
"dependencies": {
"@iconify/json": "^2.2.241",
"@iconify/json": "^2.2.242",
"@iconify/tailwind": "^1.1.3",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
"@tailwindcss/typography": "^0.5.14",
"@tailwindcss/typography": "^0.5.15",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.5",
"postcss": "^8.4.41",

View File

@@ -190,8 +190,8 @@ export default {
},
float: {
'0%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
'100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
},
},
zIndex: {
@@ -228,11 +228,11 @@ function createColorsPalette(name: string) {
// • backgroundDarkest (#172554): 适用于最深的背景,可能用于非常深色的区域或极端对比色。
return {
50: `hsl(var(--${name}-50))`,
100: `hsl(var(--${name}-100))`,
200: `hsl(var(--${name}-200))`,
300: `hsl(var(--${name}-300))`,
400: `hsl(var(--${name}-400))`,
50: `hsl(var(--${name}-50))`,
500: `hsl(var(--${name}-500))`,
600: `hsl(var(--${name}-600))`,
700: `hsl(var(--${name}-700))`,