-
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 替换 yarn * refactor: 更新 validate-deps 路径 * chore: 替换子包中 package.json 脚本 * chore: 更新 g-lite 版本 * chore: 替换根目录中 package.json 配置 * chore: 更新 github action * chore: 修复 s2-react 层依赖问题 * chore: 将 s2-site 加入 workspace * chore: 删除 lerna 相关配置 * chore: 修复 lint fix 传参方式 * chore: 处理幽灵依赖 * test: 修复 antd 升级后的单测问题 * chore: 取消 test 脚本并行 * test: 修复单测 * chore: 修复 compressed action 报错 * docs: 更新贡献文档 * revert: revert clean script * fix: 修复 jest-less-loader 测试时无法找到 node_modules 样式文件问题 * chore: 更新 pnpm-lock * chore: 简化 bump-version 命令
- Loading branch information
Showing
32 changed files
with
23,227 additions
and
16,861 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
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,3 @@ | ||
npm_config_legacy_peer_deps=true | ||
side-effects-cache=false | ||
prefer-workspace-packages=true |
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 |
---|---|---|
|
@@ -187,34 +187,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 |
---|---|---|
|
@@ -180,35 +180,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 | ||
``` | ||
|
||
## 👁️ 洞察 | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.