Skip to content

Commit ff9a470

Browse files
authored
chore: new version (#2382)
* chore: new version * fix: error * chore: update node version
1 parent a054215 commit ff9a470

File tree

5 files changed

+65
-7
lines changed

5 files changed

+65
-7
lines changed

.github/workflows/build.yml

+33-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,23 @@ name: build
33
on: ["pull_request"]
44

55
jobs:
6+
lint:
7+
runs-on: macos-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Use Node.js 12
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 12.10.0
14+
- name: npm install
15+
run: |
16+
npm install
17+
- name: lint
18+
run: |
19+
npm run lint
20+
621
build:
7-
runs-on: macOS-latest
22+
runs-on: macos-latest
823
steps:
924
- uses: actions/checkout@v1
1025
- name: Use Node.js 12
@@ -16,10 +31,25 @@ jobs:
1631
npm install
1732
- name: build
1833
run: |
19-
npm run ci
34+
npm run build
35+
36+
test:
37+
runs-on: macos-latest
38+
steps:
39+
- uses: actions/checkout@v1
40+
- name: Use Node.js 12
41+
uses: actions/setup-node@v1
42+
with:
43+
node-version: 12.10.0
44+
- name: npm install
45+
run: |
46+
npm install
47+
- name: test
48+
run: |
49+
npm run coverage
2050
env:
2151
CI: true
2252
- name: Coveralls
2353
uses: coverallsapp/github-action@master
2454
with:
25-
github-token: ${{ secrets.GITHUB_TOKEN }}
55+
github-token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

+29
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
#### 2.3.13 (2021-03-02)
2+
3+
##### Chores
4+
5+
* fix website build error ([#2351](https://github.com/antvis/g2plot/pull/2351)) ([41459220](https://github.com/antvis/g2plot/commit/4145922098169119529d59f4b59fffff5950a671))
6+
7+
##### Documentation Changes
8+
9+
* **typo:** dblclick, not dbclick ([#2380](https://github.com/antvis/g2plot/pull/2380)) ([f281658e](https://github.com/antvis/g2plot/commit/f281658e9c774db4a1e24df1ecce6d82ab900093))
10+
* 文档日常 ([#2371](https://github.com/antvis/g2plot/pull/2371)) ([a8e8219c](https://github.com/antvis/g2plot/commit/a8e8219cfb46e08aa9a112e80e6dfb18c59d6288))
11+
* **slider:** 缩略轴支持配置 handler 样式 & 增加 api 文档说明 ([#2347](https://github.com/antvis/g2plot/pull/2347)) ([bff3fdc2](https://github.com/antvis/g2plot/commit/bff3fdc2cf84688e17b895b31ba3c588280b2c1a))
12+
* **axis:** 坐标轴文档 ([#2361](https://github.com/antvis/g2plot/pull/2361)) ([ac3e2f9d](https://github.com/antvis/g2plot/commit/ac3e2f9d522e2853dd291e18e9ab763fe6040bfe))
13+
14+
##### New Features
15+
16+
* **sankey:**
17+
* update d3-sankey layout for depth customize ([#2378](https://github.com/antvis/g2plot/pull/2378)) ([bc108703](https://github.com/antvis/g2plot/commit/bc1087030bedf7598c64208bf5778384b6b8f3a3))
18+
* changeData API for sankey ([#2367](https://github.com/antvis/g2plot/pull/2367)) ([63eb8181](https://github.com/antvis/g2plot/commit/63eb81815e037a52d61eb995c96aff15f6883950))
19+
* treemap 提供 changeData 能力 ([#2370](https://github.com/antvis/g2plot/pull/2370)) ([69e17cf4](https://github.com/antvis/g2plot/commit/69e17cf4902f43f6487ba2bf9b1e259e6c2b7d70))
20+
* sankey node depth configure ([#2357](https://github.com/antvis/g2plot/pull/2357)) ([fa63cb9c](https://github.com/antvis/g2plot/commit/fa63cb9ca89c7ee77dacd32dafbad09a2be6be89))
21+
* 玫瑰图新增 startAngle、endAngle ([#2350](https://github.com/antvis/g2plot/pull/2350)) ([15e16036](https://github.com/antvis/g2plot/commit/15e16036f41d5aaea2d0883c1fbfba62499609b1))
22+
* multiview 支持 multi-plots && 支持 association 🎉🎉🎉 ([#2294](https://github.com/antvis/g2plot/pull/2294)) ([90a85929](https://github.com/antvis/g2plot/commit/90a8592990638727540102dfc1e27fbe34787eba))
23+
* **gauge:** 仪表盘支持 annotations ([#2345](https://github.com/antvis/g2plot/pull/2345)) ([2f5b0e85](https://github.com/antvis/g2plot/commit/2f5b0e8572b18bad83e2543ae18701a50800db36))
24+
* **ring-progress:** 将环形进度条的 z-index 进行调整,默认置顶 shape0 ([#2344](https://github.com/antvis/g2plot/pull/2344)) ([d6438e85](https://github.com/antvis/g2plot/commit/d6438e853370891c6c291ed03d6ffd004bbfeb05))
25+
26+
##### Bug Fixes
27+
28+
* **sankey:** shape order same with data, layout space ([#2354](https://github.com/antvis/g2plot/pull/2354)) ([c86625ca](https://github.com/antvis/g2plot/commit/c86625cacf59ff4c303075a99d86bc665190d92a))
29+
130
#### 2.3.12 (2021-02-23)
231

332
##### Documentation Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/g2plot",
3-
"version": "2.3.12",
3+
"version": "2.3.13",
44
"description": "An interactive and responsive charting library",
55
"keywords": [
66
"chart",

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const version = '2.3.12';
1+
export const version = '2.3.13';
22

33
// G2 自定义能力透出
44
import * as G2 from '@antv/g2';

src/plots/sankey/types.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Data, Options, StyleAttr } from '../../types';
2-
import { NodeDepth } from '../../utils/transform/sankey';
3-
import { NodeSort } from '../../utils/transform/sankey';
2+
import { NodeDepth, NodeSort } from './layout';
43

54
/** 配置类型定义 */
65
export interface SankeyOptions extends Omit<Options, 'xField' | 'yField' | 'xAxis' | 'yAxis'> {

0 commit comments

Comments
 (0)