Skip to content

Commit

Permalink
chore: update umd address
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Apr 26, 2024
1 parent 2baff47 commit bf1fe12
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 22 deletions.
4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 项目介绍
## 项目介绍

采用多包管理方式,对应的包如下:

Expand All @@ -13,7 +13,7 @@
| packages/li-analysis-assets | `@antv/li-analysis-assets` | 分析资产包 |
| website | `@antv/li-website` | 工具站点 |

### 项目开发
## 项目开发

```bash
# 全局安装 yarn
Expand Down
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,30 @@ Learn more 👉 [PyL7VP](https://github.com/antvis/L7VP/tree/master/bindings/pyl

## 🔬 Local Case

### 🔨 PreBuild
### 📦 Installation

```bash
cd examples/builder && yarn install
```

### 💻 Start Up

```bash
yarn install && yarn build:package
yarn run dev
```

## 🔨 Develop Website

### 📦 Installation

```bash
cd examples/builder && yarn install
yarn install
```

### 💻 Start Up
### 🛫 Start Up Website

```bash
yarn run dev
yarn run start:website
```

## 🤝 How to Contribute
Expand Down
18 changes: 13 additions & 5 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,30 @@ l7vp_map.show()

## 🔬 本地示例

### 🔨 构建依赖
### 📦 安装依赖

```bash
cd examples/builder && yarn install
```

### 💻 启动示例

```bash
yarn install && yarn build:package
yarn run dev
```

## 🔨 研发站点

### 📦 安装依赖

```bash
cd examples/builder && yarn install
yarn install
```

### 🛫 启动示例
### 🛫 启动站点

```bash
yarn run dev
yarn run start:website
```

## 🤝 如何贡献
Expand Down
7 changes: 3 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
"prettier": "prettier --write \"src/*.{tsx,ts,less,md,json}\""
},
"dependencies": {
"@difizen/weave": "^1.2.17",
"@difizen/weave-decor-mask": "^1.2.17",
"@difizen/weave-summary-row": "^1.2.17",
"@alipay/li-di-assets": "*",
"@difizen/weave": "^0.0.1-alpha.3",
"@difizen/weave-decor-mask": "^0.0.1-alpha.3",
"@difizen/weave-summary-row": "^0.0.1-alpha.3",
"@ant-design/icons": "^5.0.1",
"@antv/g2plot": "^2.4.31",
"@antv/l7": "^2.17.2",
Expand Down
10 changes: 5 additions & 5 deletions website/src/constants/external.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export const EXTERNAL_RESOURCES = new Map<string, { globals: string | string[];
js: [
// 'https://api.tiles.mapbox.com/mapbox-gl-js/v1.13.3/mapbox-gl.js',
'https://gw.alipayobjects.com/os/lib/mapbox-gl/1.13.3/dist/mapbox-gl.js',
`https://gw.alipayobjects.com/os/lib/antv/l7/${L7Version}/dist/l7.js`,
`https://gw.alipayobjects.com/os/lib/antv/l7-draw/${L7DrawVersion}/dist/l7-draw.min.js`,
`https://registry.npmmirror.com/@antv/l7/${L7Version}/files/dist/l7.js`,
`https://registry.npmmirror.com/@antv/l7-draw/${L7DrawVersion}/files/dist/l7-draw.min.js`,
],
},
],
Expand All @@ -71,15 +71,15 @@ export const EXTERNAL_RESOURCES = new Map<string, { globals: string | string[];
'LarkMap',
{
globals: 'LarkMap',
js: [`https://gw.alipayobjects.com/os/lib/antv/larkmap/${LarkMapVersion}/dist/larkmap.min.js`],
css: [`https://gw.alipayobjects.com/os/lib/antv/larkmap/${LarkMapVersion}/dist/larkmap.min.css`],
js: [`https://registry.npmmirror.com/@antv/larkmap/${LarkMapVersion}/files/dist/larkmap.min.js`],
css: [`https://registry.npmmirror.com/@antv/larkmap/${LarkMapVersion}/files/dist/larkmap.min.css`],
},
],
[
'LISDK',
{
globals: 'LISDK',
js: [`https://gw.alipayobjects.com/os/lib/antv/li-sdk/${LISDKVersion}/dist/umd/li-sdk.min.js`],
js: [`https://registry.npmmirror.com/@antv/li-sdk/${LISDKVersion}/files/dist/umd/li-sdk.min.js`],
},
],
]);
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Icon, { BorderInnerOutlined } from '@ant-design/icons';
// TODO: difi-weave 依赖处理
import type { ImplementEditorPreviewDatasetWidgetProps } from '@antv/li-editor';
import { useEditorDataset } from '@antv/li-editor';
import type { DatasetField } from '@antv/li-sdk';
Expand Down

0 comments on commit bf1fe12

Please sign in to comment.