From 3c79f89416b4fef32ef267c9495e5db5d6fb61ee Mon Sep 17 00:00:00 2001 From: chenghongxing <1126263215@qq.com> Date: Wed, 8 May 2024 11:20:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Modify=20the=20preview=20site=20and=20do?= =?UTF-8?q?cumentation=20deployment=20configuration;=20:bug:=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=9A=E9=A2=84=E8=A7=88=E7=BD=91=E7=AB=99=E5=8F=8A?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E9=83=A8=E7=BD=B2=E9=85=8D=E7=BD=AE=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.js | 2 +- package.json | 13 +++++++------ yarn.lock | 13 ++++--------- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 3bd9f53..fd8a5e9 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,7 +1,7 @@ module.exports = { title: 'Vue Antd Admin', description: 'Vue Antd Admin', - base: '/vue-antd-admin-docs/', + base: '/', head: [ ['link', { rel: 'icon', href: '/favicon.ico' }] ], diff --git a/package.json b/package.json index 232ff27..fc25e50 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,15 @@ "homepage": "https://iczer.github.io/vue-antd-admin", "private": true, "scripts": { - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", + "serve": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", + "build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", "lint": "vue-cli-service lint", "predeploy": "yarn build", - "deploy": "gh-pages -d dist -b pages -r https://gitee.com/iczer/vue-antd-admin.git", - "docs:dev": "vuepress dev docs", - "docs:build": "vuepress build docs", - "docs:deploy": "vuepress build docs && gh-pages -d docs/.vuepress/dist -b master -r https://gitee.com/iczer/vue-antd-admin-docs.git" + "deploy": "gh-pages -d dist -b pages -r https://github.com/iczer/vue-antd-admin.git", + "docs:dev": "export NODE_OPTIONS=--openssl-legacy-provider && vuepress dev docs", + "docs:build": "export NODE_OPTIONS=--openssl-legacy-provider && vuepress build docs", + "predocs:deploy": "yarn docs:build", + "docs:deploy": "gh-pages -d docs/.vuepress/dist -b doc -r https://github.com/iczer/vue-antd-admin.git" }, "dependencies": { "@antv/data-set": "^0.11.4", diff --git a/yarn.lock b/yarn.lock index c20dfe4..25ad903 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2735,15 +2735,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001043, caniuse-lite@^1.0.30001061: - version "1.0.30001083" - resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001083.tgz?cache=0&sync_timestamp=1592075334738&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcaniuse-lite%2Fdownload%2Fcaniuse-lite-1.0.30001083.tgz#52410c20c6f029f604f0d45eca0439a82e712442" - integrity sha1-UkEMIMbwKfYE8NReygQ5qC5xJEI= - -caniuse-lite@^1.0.30001087: - version "1.0.30001088" - resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001088.tgz#23a6b9e192106107458528858f2c0e0dba0d9073" - integrity sha1-I6a54ZIQYQdFhSiFjywODboNkHM= +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001043, caniuse-lite@^1.0.30001061, caniuse-lite@^1.0.30001087: + version "1.0.30001616" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001616.tgz" + integrity sha512-RHVYKov7IcdNjVHJFNY/78RdG4oGVjbayxv8u5IO74Wv7Hlq4PnJE6mo/OjFijjVFNy5ijnCt6H3IIo4t+wfEw== case-sensitive-paths-webpack-plugin@^2.3.0: version "2.3.0"