feat: 升级依赖,增加 lint script,修复 eslint/stylelint 问题
正在显示
| ... | ... | @@ -34,6 +34,7 @@ |
| "log": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
| "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", | ||
| "clean:lib": "rimraf node_modules", | ||
| "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint", | ||
| "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix", | ||
| "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | ||
| "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
| ... | ... | @@ -54,16 +55,16 @@ |
| "@ant-design/colors": "^6.0.0", | ||
| "@ant-design/icons-vue": "^6.1.0", | ||
| "@iconify/iconify": "^2.2.1", | ||
| "@logicflow/core": "^1.1.15", | ||
| "@logicflow/extension": "^1.1.15", | ||
| "@vue/runtime-core": "^3.2.33", | ||
| "@vue/shared": "^3.2.33", | ||
| "@vueuse/core": "^8.4.2", | ||
| "@vueuse/shared": "^8.4.2", | ||
| "@logicflow/core": "^1.1.18", | ||
| "@logicflow/extension": "^1.1.18", | ||
| "@vue/runtime-core": "^3.2.36", | ||
| "@vue/shared": "^3.2.36", | ||
| "@vueuse/core": "^8.5.0", | ||
| "@vueuse/shared": "^8.5.0", | ||
| "@zxcvbn-ts/core": "^2.0.1", | ||
| "ant-design-vue": "^3.2.3", | ||
| "ant-design-vue": "^3.2.5", | ||
| "axios": "^0.26.1", | ||
| "codemirror": "^5.65.3", | ||
| "codemirror": "^5.65.4", | ||
| "cropperjs": "^1.5.12", | ||
| "crypto-js": "^4.1.1", | ||
| "dayjs": "^1.11.2", | ||
| ... | ... | @@ -80,9 +81,9 @@ |
| "resize-observer-polyfill": "^1.5.1", | ||
| "showdown": "^2.1.0", | ||
| "sortablejs": "^1.15.0", | ||
| "tinymce": "^5.10.4", | ||
| "vditor": "^3.8.14", | ||
| "vue": "^3.2.33", | ||
| "tinymce": "^5.10.5", | ||
| "vditor": "^3.8.15", | ||
| "vue": "^3.2.36", | ||
| "vue-i18n": "^9.1.10", | ||
| "vue-json-pretty": "^2.1.0", | ||
| "vue-router": "^4.0.15", | ||
| ... | ... | @@ -90,9 +91,9 @@ |
| "xlsx": "^0.18.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@commitlint/cli": "^16.2.4", | ||
| "@commitlint/cli": "^17.0.1", | ||
| "@commitlint/config-conventional": "^16.2.4", | ||
| "@iconify/json": "^2.1.43", | ||
| "@iconify/json": "^2.1.50", | ||
| "@purge-icons/generated": "^0.8.1", | ||
| "@types/codemirror": "^5.60.5", | ||
| "@types/crypto-js": "^4.1.1", | ||
| ... | ... | @@ -101,29 +102,29 @@ |
| "@types/intro.js": "^3.0.2", | ||
| "@types/lodash-es": "^4.17.6", | ||
| "@types/mockjs": "^1.0.6", | ||
| "@types/node": "^17.0.33", | ||
| "@types/node": "^17.0.35", | ||
| "@types/nprogress": "^0.2.0", | ||
| "@types/qrcode": "^1.4.2", | ||
| "@types/qs": "^6.9.7", | ||
| "@types/showdown": "^1.9.4", | ||
| "@types/sortablejs": "^1.13.0", | ||
| "@typescript-eslint/eslint-plugin": "^5.23.0", | ||
| "@typescript-eslint/parser": "^5.23.0", | ||
| "@typescript-eslint/eslint-plugin": "^5.26.0", | ||
| "@typescript-eslint/parser": "^5.26.0", | ||
| "@vitejs/plugin-legacy": "^1.8.2", | ||
| "@vitejs/plugin-vue": "^2.3.3", | ||
| "@vitejs/plugin-vue-jsx": "^1.3.10", | ||
| "@vue/compiler-sfc": "3.2.31", | ||
| "@vue/test-utils": "^2.0.0-rc.21", | ||
| "@vue/test-utils": "^2.0.0", | ||
| "autoprefixer": "^10.4.7", | ||
| "commitizen": "^4.2.4", | ||
| "conventional-changelog-cli": "^2.2.2", | ||
| "cross-env": "^7.0.3", | ||
| "cz-conventional-changelog": "^3.3.0", | ||
| "dotenv": "^16.0.1", | ||
| "eslint": "^8.15.0", | ||
| "eslint": "^8.16.0", | ||
| "eslint-config-prettier": "^8.5.0", | ||
| "eslint-plugin-prettier": "^4.0.0", | ||
| "eslint-plugin-vue": "^8.7.1", | ||
| "eslint-plugin-vue": "^9.0.1", | ||
| "esno": "^0.14.1", | ||
| "fs-extra": "^10.1.0", | ||
| "husky": "^7.0.4", | ||
| ... | ... | @@ -133,27 +134,27 @@ |
| "npm-run-all": "^4.1.5", | ||
| "picocolors": "^1.0.0", | ||
| "pont-engine": "^1.3.1", | ||
| "postcss": "^8.4.13", | ||
| "postcss": "^8.4.14", | ||
| "postcss-html": "^1.4.1", | ||
| "postcss-less": "^6.0.0", | ||
| "prettier": "^2.6.2", | ||
| "rimraf": "^3.0.2", | ||
| "rollup": "^2.73.0", | ||
| "rollup": "^2.74.1", | ||
| "rollup-plugin-visualizer": "^5.6.0", | ||
| "sort-package-json": "^1.57.0", | ||
| "stylelint": "^14.8.2", | ||
| "stylelint": "^14.8.5", | ||
| "stylelint-config-prettier": "^9.0.3", | ||
| "stylelint-config-recommended": "^7.0.0", | ||
| "stylelint-config-recommended-vue": "^1.4.0", | ||
| "stylelint-config-standard": "^25.0.0", | ||
| "stylelint-order": "^5.0.0", | ||
| "ts-node": "^10.7.0", | ||
| "typescript": "^4.6.4", | ||
| "unplugin-auto-import": "^0.7.1", | ||
| "ts-node": "^10.8.0", | ||
| "typescript": "^4.7.2", | ||
| "unplugin-auto-import": "^0.7.2", | ||
| "vite": "^2.9.9", | ||
| "vite-plugin-compression": "^0.5.1", | ||
| "vite-plugin-html": "^3.2.0", | ||
| "vite-plugin-mkcert": "^1.6.0", | ||
| "vite-plugin-mkcert": "^1.6.4", | ||
| "vite-plugin-mock": "^2.9.6", | ||
| "vite-plugin-optimize-persist": "^0.1.2", | ||
| "vite-plugin-package-config": "^0.1.1", | ||
| ... | ... | @@ -164,8 +165,8 @@ |
| "vite-plugin-theme": "^0.8.6", | ||
| "vite-plugin-vue-setup-extend": "^0.4.0", | ||
| "vite-plugin-windicss": "^1.8.4", | ||
| "vue-eslint-parser": "^9.0.1", | ||
| "vue-tsc": "^0.34.13" | ||
| "vue-eslint-parser": "^9.0.2", | ||
| "vue-tsc": "^0.34.16" | ||
| }, | ||
| "engines": { | ||
| "node": "^12 || >=14" | ||
| ... | ... |
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
请
注册
或者
登录
后发表评论