Skip to content

Commit 536cb86

Browse files
committed
chore: 同步 v3-admin 版本 v2.5.1 & 升级最新 electron & 配置国内淘宝源
1 parent a957ff0 commit 536cb86

File tree

4 files changed

+2869
-2812
lines changed

4 files changed

+2869
-2812
lines changed

.npmrc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# 解决国内用户 build 打包时下载依赖失败的问题
2-
3-
ELECTRON_MIRROR = https://npm.taobao.org/mirrors/electron/
4-
ELECTRON_BUILDER_BINARIES_MIRROR = http://npm.taobao.org/mirrors/electron-builder-binaries/
2+
ELECTRON_MIRROR = https://npmmirror.com/mirrors/electron/
3+
ELECTRON_BUILDER_BINARIES_MIRROR = http://npmmirror.com/mirrors/electron-builder-binaries/
4+
# 这里的版本号务必和 package.json 中保持同步,且这里的版本号前面必须有一个字符 'v',不然打包会出现 404 找不到资源的情况
5+
ELECTRON_CUSTOM_DIR = "v17.0.1"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
> 还在开发中,欢迎提交 PR 共建!
1+
> .npmrc 中 ELECTRON_CUSTOM_DIR 和 package.json 中 electron 的版本号必须同步
22
33
## ⚡️ 简介
44

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "v3-admin-electron",
3-
"version": "2.5.0",
3+
"version": "2.5.1",
44
"homepage": "https://github.com/un-pany/v3-admin-electron",
55
"scripts": {
66
"dev": "vue-cli-service electron:serve",
@@ -15,14 +15,14 @@
1515
"@element-plus/icons-vue": "^0.2.7",
1616
"axios": "^0.24.0",
1717
"dayjs": "^1.10.7",
18-
"element-plus": "^2.0.1",
18+
"element-plus": "^2.0.2",
1919
"lodash": "^4.17.21",
2020
"normalize.css": "^8.0.1",
2121
"nprogress": "^0.2.0",
2222
"path-to-regexp": "^6.2.0",
2323
"screenfull": "^5.2.0",
2424
"terser-webpack-plugin": "^4.2.3",
25-
"vue": "^3.2.30",
25+
"vue": "^3.2.31",
2626
"vue-router": "^4.0.12",
2727
"vuex": "^4.0.2"
2828
},
@@ -39,12 +39,11 @@
3939
"@vue/cli-plugin-typescript": "^4.5.15",
4040
"@vue/cli-plugin-vuex": "^4.5.15",
4141
"@vue/cli-service": "^4.5.15",
42-
"@vue/compiler-sfc": "^3.2.30",
4342
"@vue/eslint-config-standard": "^6.1.0",
4443
"@vue/eslint-config-typescript": "^10.0.0",
4544
"babel-loader": "^8.2.3",
46-
"electron": "^13.0.0",
47-
"electron-devtools-installer": "^3.1.0",
45+
"electron": "^17.0.1",
46+
"electron-devtools-installer": "^3.2.0",
4847
"eslint": "^7.32.0",
4948
"eslint-plugin-import": "^2.25.4",
5049
"eslint-plugin-node": "^11.1.0",
@@ -56,7 +55,7 @@
5655
"style-resources-loader": "^1.5.0",
5756
"svg-sprite-loader": "^6.0.11",
5857
"typescript": "^4.5.5",
59-
"vue-cli-plugin-electron-builder": "~2.1.1",
58+
"vue-cli-plugin-electron-builder": "^2.1.1",
6059
"vue-cli-plugin-style-resources-loader": "^0.1.5",
6160
"webpackbar": "^5.0.2"
6261
},
@@ -69,4 +68,4 @@
6968
"git add"
7069
]
7170
}
72-
}
71+
}

0 commit comments

Comments
 (0)