Skip to content

Commit

Permalink
chore: change to website release deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Apr 23, 2024
1 parent ccba0dd commit 149e97e
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 19 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ jobs:
yarn install
yarn build:package
- name: Build examples builder
- name: Build Website
run: |
cd examples/builder
yarn install
yarn build
yarn build:website
- name: Push gh-pages
run: |
cd examples/builder/dist
cd website/dist
git init
git config --local user.name antv
git config --local user.email [email protected]
Expand All @@ -35,6 +33,6 @@ jobs:
- uses: ad-m/github-push-action@master
with:
github_token: ${{secrets.GITHUB_TOKEN}}
directory: examples/builder/dist
directory: website/dist
branch: gh-pages
force: true
4 changes: 4 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
| packages/li-p2 | `@antv/li-p2` | 编辑器的属性面板 |
| packages/li-core-assets | `@antv/li-core-assets` | 核心资产包 |
| packages/li-analysis-assets | `@antv/li-analysis-assets` | 分析资产包 |
| website | `@antv/li-website` | 工具站点 |

### 项目开发

Expand All @@ -32,6 +33,9 @@ $ yarn start:core-assets

# 分析资产研发
$ yarn start:analysis-assets

# 站点研发
$ yarn start:website
```

### 添加依赖
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"start:editor": "lerna run start --stream --scope=@antv/li-editor",
"start:core-assets": "lerna run start --stream --scope=@antv/li-core-assets",
"start:analysis-assets": "lerna run start --stream --scope=@antv/li-analysis-assets",
"start:website": "lerna run start --stream --scope=@antv/li-website",
"lint": "npm run lint:ts && npm run lint:style",
"lint:ts": "eslint packages --ext .ts,.tsx",
"lint:style": "stylelint \"packages/**/*.less\"",
Expand All @@ -22,7 +23,8 @@
"build:editor": "lerna run build --scope=@antv/li-editor",
"build:core-assets": "lerna run build --scope=@antv/li-core-assets",
"build:analysis-assets": "lerna run build --scope=@antv/li-analysis-assets",
"build:package": "lerna run build --skip-nx-cache",
"build:website": "lerna run build --scope=@antv/li-website --skip-nx-cache",
"build:package": "lerna run build --ignore=@antv/li-website --skip-nx-cache ",
"build": "cross-env BUNDLE_ENV=bundle npm run build:package",
"package-version": "lerna version --conventional-commits",
"package-preversion": "lerna version --conventional-prerelease",
Expand Down
2 changes: 1 addition & 1 deletion website/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## L7VP Studio
## L7VP Website

L7VP Studio is an online geospatial intelligent visual analysis tool. See [Studio](https://locationinsight.antv.antgroup.com) online website.
6 changes: 3 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"prettier": "prettier --write \"src/*.{tsx,ts,less,md,json}\""
},
"dependencies": {
"@antv/difi-weave": "^1.2.17",
"@antv/difi-weave-decor-mask": "^1.2.17",
"@antv/difi-weave-summary-row": "^1.2.17",
"@difizen/weave": "^1.2.17",
"@difizen/weave-decor-mask": "^1.2.17",
"@difizen/weave-summary-row": "^1.2.17",
"@alipay/li-di-assets": "*",
"@ant-design/icons": "^5.0.1",
"@antv/g2plot": "^2.4.31",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import Icon, { BorderInnerOutlined } from '@ant-design/icons';
// TODO: difi-weave 依赖处理
import type { ColType, Props } from '@antv/difi-weave';
import type { ImplementEditorPreviewDatasetWidgetProps } from '@antv/li-editor';
import { useEditorDataset } from '@antv/li-editor';
import type { DatasetField } from '@antv/li-sdk';
import type { ViewMeta } from '@antv/s2';
import type { ColType, Props } from '@difizen/weave';
import {
darkTheme,
DimTableDataCell,
getCellCoordinates,
registerScopedPlugin,
RowCell,
useSpreadSheet,
} from '@antv/difi-weave';
import DecorMaskPlugin, { setKey } from '@antv/difi-weave-decor-mask';
import SummaryRowPlugin from '@antv/difi-weave-summary-row';
import type { ImplementEditorPreviewDatasetWidgetProps } from '@antv/li-editor';
import { useEditorDataset } from '@antv/li-editor';
import type { DatasetField } from '@antv/li-sdk';
import type { ViewMeta } from '@antv/s2';
} from '@difizen/weave';
import DecorMaskPlugin, { setKey } from '@difizen/weave-decor-mask';
import SummaryRowPlugin from '@difizen/weave-summary-row';
import { message, Modal, theme, Tooltip } from 'antd';
import classNames from 'classnames';
import copy from 'copy-to-clipboard';
Expand Down

0 comments on commit 149e97e

Please sign in to comment.