From 52f6941490a30e2ad05233cb4d9b10dfaeea2f6a Mon Sep 17 00:00:00 2001 From: yanxiong Date: Fri, 20 Oct 2023 13:35:10 +0800 Subject: [PATCH] =?UTF-8?q?docs:=201.=E8=A1=A5=E5=85=85=E5=AE=98=E7=BD=91?= =?UTF-8?q?=20CNAME=20=202.=E8=AE=A2=E6=AD=A3=E5=AE=98=E7=BD=91=E6=89=93?= =?UTF-8?q?=E5=8C=85=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dumirc.ts | 2 +- .gitignore | 3 ++- docs/CNAME | 2 +- package.json | 5 +++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index 543a7cf6..750bfb59 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -11,7 +11,7 @@ export default defineConfig({ entryFile: './src/index.tsx', }, title: 'L7 Editor - 基于 L7 的地理数据绘制工具', - outputPath: 'dist', + outputPath: 'docs-dist', copy: isProduction ? ['docs/CNAME'] : [], themeConfig: { name: 'L7 Editor', diff --git a/.gitignore b/.gitignore index 33085350..a31e03ec 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ yarn.lock /lib /umd /.kiwi -/.vscode \ No newline at end of file +/.vscode +/docs-dist \ No newline at end of file diff --git a/docs/CNAME b/docs/CNAME index b8a65898..953cf645 100644 --- a/docs/CNAME +++ b/docs/CNAME @@ -1 +1 @@ -l7editor.antv.antgroup.com \ No newline at end of file +l7editor.antv.vision \ No newline at end of file diff --git a/package.json b/package.json index 25f6627e..197bb947 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,10 @@ "setup": "dumi setup", "doctor": "father doctor", "docs:build": "dumi build", + "docs:build-analyze": "ANALYZE=1 dumi build", "docs:deploy": "gh-pages -d docs-dist", - "deploy": "npm run docs:build && npm run docs:deploy" + "deploy": "npm run docs:build && npm run docs:deploy", + "release": "npm run build && npm publish" }, "dependencies": { "@ant-design/icons": "^4.8.0", @@ -61,7 +63,6 @@ "wellknown": "^0.5.0", "xlsx": "^0.18.5" }, - "yuyanId": "180020010001251474", "devDependencies": { "@antv/l7": "^2.11.0", "@babel/runtime": "^7.22.10",