feat: add cspell check
parent
6c092e284c
commit
07d1f85ff7
|
@ -171,20 +171,6 @@
|
|||
"packages/@vben-core/shared/design-tokens/src/**/*.css"
|
||||
],
|
||||
|
||||
"cSpell.words": [
|
||||
"vben",
|
||||
"iconify",
|
||||
"pinia",
|
||||
"nprogress",
|
||||
"shadcn",
|
||||
"antd",
|
||||
"qrcode",
|
||||
"vueuse",
|
||||
"brotli"
|
||||
],
|
||||
"cSpell.allowCompoundWords": true,
|
||||
"cSpell.language": "en,en-US",
|
||||
|
||||
"i18n-ally.localesPaths": ["packages/locales/src/langs"],
|
||||
"i18n-ally.enabledParsers": ["json", "ts", "js", "yaml"],
|
||||
"i18n-ally.sourceLanguage": "en",
|
||||
|
@ -201,7 +187,7 @@
|
|||
"README.md": "README*,CHANGELOG*,LICENSE,CNAME",
|
||||
"package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,.gitattributes,.gitignore,.gitpod.yml,.npmrc,.browserslistrc,.node-version,.git*,.tazerc.json",
|
||||
"Dockerfile": "Dockerfile,.docker*,docker-entrypoint.sh,build-local-docker*",
|
||||
"eslint.config.mjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,stylelint.config.*,.lintstagedrc.mjs,.ls-lint*",
|
||||
"eslint.config.mjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,stylelint.config.*,.lintstagedrc.mjs,.ls-lint*,cspell.json",
|
||||
"tailwind.config.mjs": "postcss.*"
|
||||
},
|
||||
"commentTranslate.hover.enabled": true,
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
"@vben-core/preferences": "workspace:*",
|
||||
"@vben-core/request": "workspace:*",
|
||||
"@vben-core/stores": "workspace:*",
|
||||
"@vben/universal-ui": "workspace:*",
|
||||
"@vben/constants": "workspace:*",
|
||||
"@vben/hooks": "workspace:*",
|
||||
"@vben/icons": "workspace:*",
|
||||
|
@ -34,6 +33,7 @@
|
|||
"@vben/locales": "workspace:*",
|
||||
"@vben/styles": "workspace:*",
|
||||
"@vben/types": "workspace:*",
|
||||
"@vben/universal-ui": "workspace:*",
|
||||
"@vben/utils": "workspace:*",
|
||||
"@vueuse/core": "^10.11.0",
|
||||
"ant-design-vue": "^4.2.3",
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"version": "0.2",
|
||||
"language": "en,en-US",
|
||||
"allowCompoundWords": true,
|
||||
"words": [
|
||||
"acmr",
|
||||
"antd",
|
||||
"brotli",
|
||||
"defu",
|
||||
"iconify",
|
||||
"intlify",
|
||||
"mkdist",
|
||||
"mockjs",
|
||||
"noopener",
|
||||
"noreferrer",
|
||||
"nprogress",
|
||||
"pinia",
|
||||
"publint",
|
||||
"qrcode",
|
||||
"shadcn",
|
||||
"sonner",
|
||||
"ui-kit",
|
||||
"unplugin",
|
||||
"vben",
|
||||
"vueuse",
|
||||
"yxxx",
|
||||
"nuxt",
|
||||
"lockb",
|
||||
"astro",
|
||||
"uikit",
|
||||
"styl",
|
||||
"nocheck",
|
||||
"prefixs",
|
||||
"vitepress",
|
||||
"ependencies"
|
||||
],
|
||||
"ignorePaths": ["**/node_modules/**", "**/dist/**", "**/iconify/**"]
|
||||
}
|
|
@ -32,8 +32,8 @@
|
|||
"devDependencies": {
|
||||
"@eslint/js": "^9.5.0",
|
||||
"@types/eslint": "^8.56.10",
|
||||
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
||||
"@typescript-eslint/parser": "^7.13.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
||||
"@typescript-eslint/parser": "^7.13.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
|
@ -49,7 +49,7 @@
|
|||
"eslint-plugin-unused-imports": "^4.0.0",
|
||||
"eslint-plugin-vitest": "^0.5.4",
|
||||
"eslint-plugin-vue": "^9.26.0",
|
||||
"globals": "^15.5.0",
|
||||
"globals": "^15.6.0",
|
||||
"jsonc-eslint-parser": "^2.4.0",
|
||||
"vue-eslint-parser": "^9.4.3"
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"prettier": "^3.3.2",
|
||||
"prettier-plugin-tailwindcss": "^0.6.4"
|
||||
"prettier-plugin-tailwindcss": "^0.6.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"tailwindcss": "^3.4.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify/json": "^2.2.219",
|
||||
"@iconify/json": "^2.2.220",
|
||||
"@iconify/tailwind": "^1.1.1",
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"dotenv": "^16.4.5",
|
||||
"rollup": "^4.18.0",
|
||||
"rollup-plugin-visualizer": "^5.12.0",
|
||||
"sass": "^1.77.5",
|
||||
"sass": "^1.77.6",
|
||||
"unplugin-turbo-console": "^1.8.6",
|
||||
"vite": "^5.3.1",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
|
|
22
package.json
22
package.json
|
@ -27,10 +27,11 @@
|
|||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build",
|
||||
"build:docker": "./build-local-docker-image.sh",
|
||||
"changeset": "pnpm exec changeset",
|
||||
"check": "pnpm run check:dep && pnpm run check:circular && pnpm run check:type",
|
||||
"check": "pnpm run check:dep && pnpm run check:circular && pnpm run check:type && pnpm run check:spell",
|
||||
"check:circular": "vsh check-circular",
|
||||
"check:dep": "vsh check-dep",
|
||||
"check:type": "turbo run typecheck",
|
||||
"check:spell": "cspell \"**/*.ts\" \"**/README.md\" \".changeset/*.md\" --no-progress",
|
||||
"clean": "vsh clean",
|
||||
"commit": "czg",
|
||||
"docs:dev": "pnpm -F @vben/website run docs:dev",
|
||||
|
@ -49,7 +50,7 @@
|
|||
"@changesets/cli": "^2.27.5",
|
||||
"@ls-lint/ls-lint": "^2.2.3",
|
||||
"@types/jsdom": "^21.1.7",
|
||||
"@types/node": "^20.14.2",
|
||||
"@types/node": "^20.14.4",
|
||||
"@vben/commitlint-config": "workspace:*",
|
||||
"@vben/eslint-config": "workspace:*",
|
||||
"@vben/lint-staged-config": "workspace:*",
|
||||
|
@ -61,6 +62,7 @@
|
|||
"@vben/vsh": "workspace:*",
|
||||
"@vue/test-utils": "^2.4.6",
|
||||
"cross-env": "^7.0.3",
|
||||
"cspell": "^8.8.4",
|
||||
"husky": "^9.0.11",
|
||||
"is-ci": "^3.0.1",
|
||||
"jsdom": "^24.1.0",
|
||||
|
@ -70,14 +72,14 @@
|
|||
"typescript": "^5.4.5",
|
||||
"unbuild": "^2.0.0",
|
||||
"vite": "^5.3.1",
|
||||
"vitest": "^2.0.0-beta.3",
|
||||
"vitest": "^2.0.0-beta.10",
|
||||
"vue-tsc": "^2.0.21"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.7.0",
|
||||
"pnpm": ">=8.5.0"
|
||||
"node": ">=20",
|
||||
"pnpm": ">=9"
|
||||
},
|
||||
"packageManager": "pnpm@9.3.0",
|
||||
"packageManager": "pnpm@9.4.0",
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"@ctrl/tinycolor": "4.1.0",
|
||||
|
@ -88,6 +90,12 @@
|
|||
"canvas",
|
||||
"node-gyp",
|
||||
"playwright"
|
||||
]
|
||||
],
|
||||
"updateConfig": {
|
||||
"ignoreDependencies": [
|
||||
"eslint",
|
||||
"zx"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,8 +67,8 @@ export { flattenObject };
|
|||
// [K in keyof T as CurrentDepth['length'] extends Depth
|
||||
// ? K
|
||||
// : T[K] extends object
|
||||
// ? `${CurrentDepth['length'] extends 0 ? Uncapitalize<K & string> : Capitalize<K & string>}${keyof FlattenDepth<T[K], Depth, [...CurrentDepth, 1]> extends string ? Capitalize<keyof FlattenDepth<T[K], Depth, [...CurrentDepth, 1]>> : ''}`
|
||||
// : `${CurrentDepth['length'] extends 0 ? Uncapitalize<K & string> : Capitalize<K & string>}`]: CurrentDepth['length'] extends Depth
|
||||
// ? `${CurrentDepth['length'] extends 0 ? UnCapitalize<K & string> : Capitalize<K & string>}${keyof FlattenDepth<T[K], Depth, [...CurrentDepth, 1]> extends string ? Capitalize<keyof FlattenDepth<T[K], Depth, [...CurrentDepth, 1]>> : ''}`
|
||||
// : `${CurrentDepth['length'] extends 0 ? UnCapitalize<K & string> : Capitalize<K & string>}`]: CurrentDepth['length'] extends Depth
|
||||
// ? T[K]
|
||||
// : T[K] extends object
|
||||
// ? FlattenDepth<T[K], Depth, [...CurrentDepth, 1]>[keyof FlattenDepth<
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
"@vben-core/stores": "workspace:*",
|
||||
"@vben-core/tabs-ui": "workspace:*",
|
||||
"@vben-core/toolkit": "workspace:*",
|
||||
"@vben/universal-ui": "workspace:*",
|
||||
"@vben/locales": "workspace:*",
|
||||
"@vben/universal-ui": "workspace:*",
|
||||
"vue": "^3.4.29",
|
||||
"vue-router": "^4.3.3"
|
||||
},
|
||||
|
|
1179
pnpm-lock.yaml
1179
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue