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",