Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ⬆️ upgrade the gatsby-theme-antv and update the README #252

Merged
merged 3 commits into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Add completed items in this PR, and change [ ] to [x]. -->

- [ ] New feature
- [ ] Bug fix
- [ ] Bug fix issue #0
- [ ] docs / demos update
- [ ] Test case
- [ ] Refactoring
Expand All @@ -14,6 +14,9 @@
### 📝 Description

### 🖼️ Screenshot
| Before | After |
|----|----|
| ❌ | ✅ |

### 🔗 Related issue link

7 changes: 0 additions & 7 deletions LEGAL.md

This file was deleted.

12 changes: 7 additions & 5 deletions README.en.md → README.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> [简体中文](./README.md) |
English

<h1 align="center">@antv/s2</h1>
<h1 align="center">S2</h1>

<div align="center">

Expand All @@ -11,6 +11,9 @@ Data-driven multi-dimensional analysis table.
<a href="https://www.npmjs.com/package/@antv/s2" target="_blank">
<img alt="Version" src="https://img.shields.io/npm/v/@antv/s2.svg">
</a>
<a href="https://github.com/antvis/S2/actions" target="_blank">
<img src="https://github.com/antvis/S2/workflows/CI/badge.svg" />
</a>
<a href="https://codecov.io/gh/@antv/s2" target="_blank">
<img src="https://codecov.io/gh/@antv/s2/branch/master/graph/badge.svg" />
</a>
Expand All @@ -23,9 +26,6 @@ Data-driven multi-dimensional analysis table.
<a href="#" target="_blank" target="_blank">
<img alt="License: MIT@AntV" src="https://img.shields.io/badge/License-MIT@AntV-yellow.svg" />
</a>
<a href="https://github.com/antvis/S2/actions" target="_blank">
<img src="https://github.com/antvis/S2/workflows/CI/badge.svg" />
</a>
</p>

</div>
Expand All @@ -39,6 +39,7 @@ demo components and expansion capabilities, it allows developers to use it quick
<!-- ### 🏠 [Homepage](https://s2.antv.vision) -->

## ✨ Features

1. Multi-dimensional cross-analysis: Say goodbye to a single analysis dimension and fully embrace the free combination analysis of any dimension.
2. High performance: It can support rendering in less than 8s under the total amount of millions of data and achieve second-level rendering through partial drilling.
3. High scalability: Support any custom extensions (including but not limited to layout, style, interaction, data hook flow, etc.).
Expand Down Expand Up @@ -145,7 +146,7 @@ const s2 = new SpreadSheet(container, s2DataCfg, s2options)
s2.render()
```

### 4. Result
### 4. Preview

![result](https://gw.alipayobjects.com/zos/antfincdn/vCukbtVNvl/616f7ef1-e626-4225-99f8-dc8f6ca630dd.png)

Expand All @@ -156,6 +157,7 @@ s2.render()


## 🤝 Contributing

Contributions, issues and feature requests are welcome.
Feel free to check [issues](https://github.com/antvis/S2/issues) page if you want to contribute.

Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> 简体中文 | [English](./README.en.md)
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> 简体中文 | [English](./README.en-US.md)


<h1 align="center">@antv/s2</h1>
<h1 align="center">S2</h1>

<div align="center">

Expand All @@ -10,6 +10,9 @@
<p>
<a href="https://www.npmjs.com/package/@antv/s2" target="_blank">
<img alt="Version" src="https://img.shields.io/npm/v/@antv/s2.svg">
</a>
<a href="https://github.com/antvis/S2/actions" target="_blank">
<img src="https://github.com/antvis/S2/workflows/CI/badge.svg" />
</a>
<a href="https://codecov.io/gh/@antv/s2" target="_blank">
<img src="https://codecov.io/gh/@antv/s2/branch/master/graph/badge.svg" />
Expand All @@ -23,22 +26,18 @@
<a href="#" target="_blank" target="_blank">
<img alt="License: MIT@AntV" src="https://img.shields.io/badge/License-MIT@AntV-yellow.svg" />
</a>
<a href="https://github.com/antvis/S2/actions" target="_blank">
<img src="https://github.com/antvis/S2/workflows/CI/badge.svg" />
</a>
</p>

</div>

S2是一种多维交叉分析表格领域的解决方案,完全基于数据驱动的方式,弥补了行业中此领域的空缺。通过提供底层能力库,基础组件,
业务场景组件以及自由扩展的能力,让开发者基于自身场景自由选择,既能开箱即用,又能自由发挥。
S2 是 AntV 在多维交叉分析表格领域的解决方案,完全基于数据驱动的方式。通过提供底层能力库,基础组件,业务场景组件以及自由扩展的能力,让开发者基于自身场景自由选择,既能开箱即用,又能自由发挥。


<!-- ### 🏠 [Homepage](https://s2.antv.vision) -->

## ✨ 特性
1. 多维交叉分析: 告别单一分析维度,全面拥抱任意维度的自由组合分析。
2. 高性能:能支持全量百万数据下的不到8s的渲染,也能通过局部下钻来实现秒级渲染。
2. 高性能:能支持全量百万数据下 `<8s` 渲染,也能通过局部下钻来实现秒级渲染。
3. 高扩展性:支持任意的自定义扩展(包括但不局限于布局,样式,交互,数据hook流等)。
4. 开箱即用:提供不同分析场景下开箱即用的react表组件及配套分析组件,只需要简单的配置即可轻松实现复杂场景的表渲染。
5. 可交互:支持丰富的交互形式(单选、圈选、行选、列选、冻结行头、宽高拖拽,自定义交互等)
Expand Down
5 changes: 4 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
}
},
"changelog": {
"repo": "antv/S2",
"labels": {
"pr(fix)": ":bug: Bug Fix",
"pr(chore)": ":turtle: Chore",
Expand All @@ -28,7 +29,9 @@
"pr(enhancement)": ":rocket: Enhancement",
"pr(refactor)": ":100: Refactoring",
"pr(test)": ":white_check_mark: Test Case"
}
},
"ignoreCommitters": "[pr(chore)]",
"cacheDir": ".changelog"
},
"packages": [
"packages/s2-core"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"spreadsheet"
],
"scripts": {
"bootstrap": "npm i --legacy-peer-deps && cd ./packages/s2-core && npm i --legacy-peer-deps && cd ../../s2-site && npm i --legacy-peer-deps",
"bootstrap": "npm i --legacy-peer-deps && cd ./packages/s2-core && npm i --legacy-peer-deps",
"bootstrap:ci": "npm ci --legacy-peer-deps --no-optional && cd ./packages/s2-core && npm ci --legacy-peer-deps --no-optional && cd ../../s2-site && npm ci --legacy-peer-deps --no-optional",
"cd:core": "cd ./packages/s2-core",
"clean": "rimraf node_modules s2-site/node_modules packages/*/node_modules",
Expand All @@ -24,7 +24,7 @@
"core-test:ci": "cd ./packages/s2-core && npm run ci:coverage",
"core:tsc": "cd ./packages/s2-core && npm run tsc",
"core:bundlesize": "cd ./packages/s2-core && npm run bundlesize",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"site:init": "cd ./s2-site && npm i",
"site:start": "cd ./s2-site && npm run start",
"lint": "npm run core:tsc && npm run lint:script",
"lint:script": "eslint . --ext '.js,.jsx,.ts,.tsx'",
Expand All @@ -50,7 +50,6 @@
"@types/react-dom": "17.0.9",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"conventional-changelog-cli": "^2.1.1",
"cpx": "^1.5.0",
"eslint": "^7.30.0",
"eslint-config-airbnb-base": "^14.2.1",
Expand All @@ -64,6 +63,7 @@
"gh-pages": "^3.2.3",
"husky": "^7.0.1",
"lerna": "^3.22.1",
"lerna-changelog": "^1.0.1",
"lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5",
"prettier": "2.3.2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> [简体中文](./README.md) |
English

<h1 align="center">@antv/s2</h1>
<h1 align="center">S2</h1>

<div align="center">

Expand All @@ -11,6 +11,9 @@ Data-driven multi-dimensional analysis table.
<a href="https://www.npmjs.com/package/@antv/s2" target="_blank">
<img alt="Version" src="https://img.shields.io/npm/v/@antv/s2.svg">
</a>
<a href="https://github.com/antvis/S2/actions" target="_blank">
<img src="https://github.com/antvis/S2/workflows/CI/badge.svg" />
</a>
<a href="https://codecov.io/gh/@antv/s2" target="_blank">
<img src="https://codecov.io/gh/@antv/s2/branch/master/graph/badge.svg" />
</a>
Expand All @@ -23,9 +26,6 @@ Data-driven multi-dimensional analysis table.
<a href="#" target="_blank" target="_blank">
<img alt="License: MIT@AntV" src="https://img.shields.io/badge/License-MIT@AntV-yellow.svg" />
</a>
<a href="https://github.com/antvis/S2/actions" target="_blank">
<img src="https://github.com/antvis/S2/workflows/CI/badge.svg" />
</a>
</p>

</div>
Expand All @@ -39,6 +39,7 @@ demo components and expansion capabilities, it allows developers to use it quick
<!-- ### 🏠 [Homepage](https://s2.antv.vision) -->

## ✨ Features

1. Multi-dimensional cross-analysis: Say goodbye to a single analysis dimension and fully embrace the free combination analysis of any dimension.
2. High performance: It can support rendering in less than 8s under the total amount of millions of data and achieve second-level rendering through partial drilling.
3. High scalability: Support any custom extensions (including but not limited to layout, style, interaction, data hook flow, etc.).
Expand Down Expand Up @@ -145,7 +146,7 @@ const s2 = new SpreadSheet(container, s2DataCfg, s2options)
s2.render()
```

### 4. Result
### 4. Preview

![result](https://gw.alipayobjects.com/zos/antfincdn/vCukbtVNvl/616f7ef1-e626-4225-99f8-dc8f6ca630dd.png)

Expand All @@ -156,6 +157,7 @@ s2.render()


## 🤝 Contributing

Contributions, issues and feature requests are welcome.
Feel free to check [issues](https://github.com/antvis/S2/issues) page if you want to contribute.

Expand Down
15 changes: 7 additions & 8 deletions packages/s2-core/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> 简体中文 | [English](./README.en.md)
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> 简体中文 | [English](./README.en-US.md)


<h1 align="center">@antv/s2</h1>
<h1 align="center">S2</h1>

<div align="center">

Expand All @@ -10,6 +10,9 @@
<p>
<a href="https://www.npmjs.com/package/@antv/s2" target="_blank">
<img alt="Version" src="https://img.shields.io/npm/v/@antv/s2.svg">
</a>
<a href="https://github.com/antvis/S2/actions" target="_blank">
<img src="https://github.com/antvis/S2/workflows/CI/badge.svg" />
</a>
<a href="https://codecov.io/gh/@antv/s2" target="_blank">
<img src="https://codecov.io/gh/@antv/s2/branch/master/graph/badge.svg" />
Expand All @@ -23,22 +26,18 @@
<a href="#" target="_blank" target="_blank">
<img alt="License: MIT@AntV" src="https://img.shields.io/badge/License-MIT@AntV-yellow.svg" />
</a>
<a href="https://github.com/antvis/S2/actions" target="_blank">
<img src="https://github.com/antvis/S2/workflows/CI/badge.svg" />
</a>
</p>

</div>

S2是一种多维交叉分析表格领域的解决方案,完全基于数据驱动的方式,弥补了行业中此领域的空缺。通过提供底层能力库,基础组件,
业务场景组件以及自由扩展的能力,让开发者基于自身场景自由选择,既能开箱即用,又能自由发挥。
S2 是 AntV 在多维交叉分析表格领域的解决方案,完全基于数据驱动的方式。通过提供底层能力库,基础组件,业务场景组件以及自由扩展的能力,让开发者基于自身场景自由选择,既能开箱即用,又能自由发挥。


<!-- ### 🏠 [Homepage](https://s2.antv.vision) -->

## ✨ 特性
1. 多维交叉分析: 告别单一分析维度,全面拥抱任意维度的自由组合分析。
2. 高性能:能支持全量百万数据下的不到8s的渲染,也能通过局部下钻来实现秒级渲染。
2. 高性能:能支持全量百万数据下 `<8s` 渲染,也能通过局部下钻来实现秒级渲染。
3. 高扩展性:支持任意的自定义扩展(包括但不局限于布局,样式,交互,数据hook流等)。
4. 开箱即用:提供不同分析场景下开箱即用的react表组件及配套分析组件,只需要简单的配置即可轻松实现复杂场景的表渲染。
5. 可交互:支持丰富的交互形式(单选、圈选、行选、列选、冻结行头、宽高拖拽,自定义交互等)
Expand Down
2 changes: 0 additions & 2 deletions packages/s2-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"test": "jest",
"test:coverage": "npm run test -- --coverage",
"ci:coverage": "npm run test:coverage && codecov",
"start": "webpack --config webpack-dev.config.js --mode development --progress",
"tsc": "tsc --noEmit",
"bundlesize": "bundlesize"
},
Expand Down Expand Up @@ -85,7 +84,6 @@
"jest-less-loader": "^0.1.1",
"jest-raw-loader": "^1.0.1",
"jest-url-loader": "^0.1.0",
"lerna-changelog": "^1.0.1",
"less": "^4.1.1",
"less-loader": "^10.0.1",
"lint-staged": "^11.0.0",
Expand Down
Loading