-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: 使用 pnpm 作为包管理器 * fix: lint and test 修复 * test: 单测修复 * style: lint fix * chore: 将 vue 版本限定在 3.3 * fix: 解决 indirect type reference bug * fix: 修复 build:size-limit 命令错误 * ci: 统一 node version * refactor: 根据反馈修改
- Loading branch information
Showing
53 changed files
with
23,491 additions
and
16,487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ module.exports = { | |
version: 26, | ||
}, | ||
react: { | ||
version: 'detect', | ||
version: '17', | ||
}, | ||
}, | ||
rules: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
registry=https://registry.npmjs.org/ | ||
npm_config_legacy_peer_deps=true | ||
side-effects-cache=false | ||
prefer-workspace-packages=true | ||
auto-install-peers=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,34 +188,35 @@ s2.render(); | |
Contributions, issues and feature requests are welcome. | ||
Feel free to check [issues](https://github.com/antvis/S2/issues) page if you want to contribute. | ||
|
||
> S2 use pnpm as package manager | ||
```bash | ||
git clone [email protected]:antvis/S2.git | ||
|
||
cd S2 | ||
|
||
yarn # or yarn bootstrap | ||
pnpm install # or pnpm bootstrap | ||
|
||
# build all | ||
yarn build | ||
pnpm build | ||
|
||
# debug s2-core | ||
yarn core:start | ||
pnpm core:start | ||
|
||
# debug s2-react | ||
yarn react:playground | ||
pnpm react:playground | ||
|
||
# debug s2-vue | ||
yarn vue:playground | ||
pnpm vue:playground | ||
|
||
# unit test | ||
yarn test | ||
pnpm test | ||
|
||
# check the code style and the type definition | ||
yarn lint | ||
pnpm lint | ||
|
||
# start the website | ||
yarn site:bootstrap | ||
yarn site:start | ||
pnpm site:start | ||
``` | ||
|
||
## 👁️ Insight | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,35 +181,36 @@ s2.render(); | |
|
||
## 🤝 参与贡献 | ||
|
||
> S2 使用 pnpm 作为包管理器 | ||
```bash | ||
git clone [email protected]:antvis/S2.git | ||
|
||
cd S2 | ||
|
||
# 安装依赖 | ||
yarn # 或者 yarn bootstrap | ||
pnpm install # 或者 pnpm bootstrap | ||
|
||
# 打包 | ||
yarn build | ||
pnpm build | ||
|
||
# 调试 s2-core | ||
yarn core:start | ||
pnpm core:start | ||
|
||
# 调试 s2-react | ||
yarn react:playground | ||
pnpm react:playground | ||
|
||
# 调试 s2-vue | ||
yarn vue:playground | ||
pnpm vue:playground | ||
|
||
# 单元测试 | ||
yarn test | ||
pnpm test | ||
|
||
# 代码风格和类型检测 | ||
yarn lint | ||
pnpm lint | ||
|
||
# 本地启动官网 | ||
yarn site:bootstrap | ||
yarn site:start | ||
pnpm site:start | ||
``` | ||
|
||
## 👁️ 洞察 | ||
|
Oops, something went wrong.