From 9f7b6ef6db352887549eb603bb89bc13a05468c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=9A=E5=90=8D=E7=A8=8B=E5=BA=8F=E5=91=98?= <1968115437@qq.com> Date: Wed, 22 Feb 2023 09:58:38 +0800 Subject: [PATCH] 11 --- README.md | 7 ++ package.json | 205 ++++++++++++++++++++++++++------------------------- 2 files changed, 110 insertions(+), 102 deletions(-) diff --git a/README.md b/README.md index b097b94..574ff88 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,13 @@ pnpm dev:h5 pnpm build:h5 ``` +- 更新依赖到最新(新手请忽略) + +```bash +pnpm up +# 打开HBuilder X alpha桌面程序-->点击上面的帮助-->历次更新说明-->获取最新版本号(如:3.7.2.20230217-alpha) +npx @dcloudio/uvm 3.7.2.20230217-alpha +``` ## Git 贡献提交规范 - 参考 [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) 规范 ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular)) diff --git a/package.json b/package.json index b045d03..d7751ac 100644 --- a/package.json +++ b/package.json @@ -1,104 +1,105 @@ { - "name": "uniapp_vue3_vite_ts", - "version": "1.1.2", - "scripts": { - "dev:app": "uni -p app", - "dev:custom": "uni -p", - "dev:h5": "uni", - "dev:h5:ssr": "uni --ssr", - "dev:mp-alipay": "uni -p mp-alipay", - "dev:mp-baidu": "uni -p mp-baidu", - "dev:mp-kuaishou": "uni -p mp-kuaishou", - "dev:mp-lark": "uni -p mp-lark", - "dev:mp-qq": "uni -p mp-qq", - "dev:mp-toutiao": "uni -p mp-toutiao", - "dev:mp-weixin": "uni -p mp-weixin", - "dev:quickapp-webview": "uni -p quickapp-webview", - "dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei", - "dev:quickapp-webview-union": "uni -p quickapp-webview-union", - "build:app": "uni build -p app", - "build:custom": "uni build -p", - "build:h5": "uni build --minify", - "build:h5:ssr": "uni build --ssr", - "build:mp-alipay": "uni build -p mp-alipay", - "build:mp-baidu": "uni build -p mp-baidu", - "build:mp-kuaishou": "uni build -p mp-kuaishou", - "build:mp-lark": "uni build -p mp-lark", - "build:mp-qq": "uni build -p mp-qq", - "build:mp-toutiao": "uni build -p mp-toutiao", - "build:mp-weixin": "uni build -p mp-weixin --minify", - "build:quickapp-webview": "uni build -p quickapp-webview", - "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei", - "build:quickapp-webview-union": "uni build -p quickapp-webview-union", - "lint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts}\" --fix", - "prettier": "prettier --write \"src/**/*.{js,ts,json,css,scss,vue}\"", - "prepare": "husky install" - }, - "dependencies": { - "@dcloudio/uni-app": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-app-plus": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-components": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-h5": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-i18n": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-mp-alipay": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-mp-baidu": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-mp-lark": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-mp-qq": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-mp-weixin": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3070220230217001", - "@fortawesome/fontawesome-free": "^6.3.0", - "@iconify/iconify": "^3.1.0", - "crypto-js": "^4.1.1", - "echarts": "^5.4.1", - "lodash-es": "^4.17.21", - "luch-request": "^3.0.8", - "pinia": "^2.0.30", - "qs": "^6.11.0", - "vue": "^3.2.47", - "vue-i18n": "^9.2.2" - }, - "devDependencies": { - "@dcloudio/types": "^2.6.12", - "@dcloudio/uni-automator": "3.0.0-alpha-3070220230217001", - "@dcloudio/uni-cli-shared": "3.0.0-alpha-3070220230217001", - "@dcloudio/vite-plugin-uni": "3.0.0-alpha-3070220230217001", - "@iconify/json": "^2.2.24", - "@types/crypto-js": "^4.1.1", - "@types/lodash-es": "^4.17.6", - "@types/node": "^17.0.45", - "@types/qs": "^6.9.7", - "@typescript-eslint/eslint-plugin": "^5.52.0", - "@typescript-eslint/parser": "^5.52.0", - "@unocss/preset-icons": "^0.46.5", - "autoprefixer": "^10.4.13", - "eslint": "^8.34.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-vue": "^9.9.0", - "husky": "^8.0.3", - "lint-staged": "^13.1.2", - "mrm": "^4.1.13", - "postcss": "^8.4.21", - "prettier": "^2.8.4", - "sass": "^1.58.3", - "typescript": "^4.9.5", - "unocss": "^0.46.5", - "unocss-preset-weapp": "^0.2.5", - "unplugin-vue-components": "^0.22.12", - "vite": "^4.1.2", - "vite-plugin-eslint": "^1.8.1" - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, - "lint-staged": { - "*.{js,jsx,vue,ts,tsx}": [ - "prettier --write", - "git add" - ] - } + "name": "uniapp_vue3_vite_ts", + "version": "1.1.2", + "scripts": { + "dev:app": "uni -p app", + "dev:custom": "uni -p", + "dev:h5": "uni", + "dev:h5:ssr": "uni --ssr", + "dev:mp-alipay": "uni -p mp-alipay", + "dev:mp-baidu": "uni -p mp-baidu", + "dev:mp-kuaishou": "uni -p mp-kuaishou", + "dev:mp-lark": "uni -p mp-lark", + "dev:mp-qq": "uni -p mp-qq", + "dev:mp-toutiao": "uni -p mp-toutiao", + "dev:mp-weixin": "uni -p mp-weixin", + "dev:quickapp-webview": "uni -p quickapp-webview", + "dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei", + "dev:quickapp-webview-union": "uni -p quickapp-webview-union", + "build:app": "uni build -p app", + "build:custom": "uni build -p", + "build:h5": "uni build --minify", + "build:h5:ssr": "uni build --ssr", + "build:mp-alipay": "uni build -p mp-alipay", + "build:mp-baidu": "uni build -p mp-baidu", + "build:mp-kuaishou": "uni build -p mp-kuaishou", + "build:mp-lark": "uni build -p mp-lark", + "build:mp-qq": "uni build -p mp-qq", + "build:mp-toutiao": "uni build -p mp-toutiao", + "build:mp-weixin": "uni build -p mp-weixin --minify", + "build:quickapp-webview": "uni build -p quickapp-webview", + "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei", + "build:quickapp-webview-union": "uni build -p quickapp-webview-union", + "lint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts}\" --fix", + "prettier": "prettier --write \"src/**/*.{js,ts,json,css,scss,vue}\"", + "prepare": "husky install" + }, + "dependencies": { + "@dcloudio/uni-app": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-app-plus": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-components": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-h5": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-i18n": "3.0.0-alpha-3061620230106001", + "@dcloudio/uni-mp-alipay": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-mp-baidu": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-mp-lark": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-mp-qq": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-mp-weixin": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3070220230217001", + "@fortawesome/fontawesome-free": "^6.3.0", + "@iconify/iconify": "^3.1.0", + "crypto-js": "^4.1.1", + "echarts": "^5.4.1", + "lodash-es": "^4.17.21", + "luch-request": "^3.0.8", + "pinia": "^2.0.32", + "qs": "^6.11.0", + "vue": "^3.2.47", + "vue-i18n": "^9.2.2" + }, + "devDependencies": { + "@dcloudio/types": "^3.2.11", + "@dcloudio/uni-automator": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-cli-shared": "3.0.0-alpha-3070220230217001", + "@dcloudio/uni-stacktracey": "3.0.0-alpha-3070220230217001", + "@dcloudio/vite-plugin-uni": "3.0.0-alpha-3070220230217001", + "@iconify/json": "^2.2.24", + "@types/crypto-js": "^4.1.1", + "@types/lodash-es": "^4.17.6", + "@types/node": "^17.0.45", + "@types/qs": "^6.9.7", + "@typescript-eslint/eslint-plugin": "^5.53.0", + "@typescript-eslint/parser": "^5.53.0", + "@unocss/preset-icons": "^0.46.5", + "autoprefixer": "^10.4.13", + "eslint": "^8.34.0", + "eslint-config-prettier": "^8.6.0", + "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-vue": "^9.9.0", + "husky": "^8.0.3", + "lint-staged": "^13.1.2", + "mrm": "^4.1.13", + "postcss": "^8.4.21", + "prettier": "^2.8.4", + "sass": "^1.58.3", + "typescript": "^4.9.5", + "unocss": "^0.46.5", + "unocss-preset-weapp": "^0.2.5", + "unplugin-vue-components": "^0.22.12", + "vite": "^4.0.3", + "vite-plugin-eslint": "^1.8.1" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "*.{js,jsx,vue,ts,tsx}": [ + "prettier --write", + "git add" + ] + } }