mirror of https://gitee.com/antv-l7/antv-l7
7b1e06ec71
add heatmaplayer rasterlayer |
||
---|---|---|
.github | ||
.storybook | ||
.vscode | ||
dev-docs | ||
jest | ||
packages | ||
stories | ||
.editorconfig | ||
.gitignore | ||
.prettierrc | ||
.stylelintrc | ||
.travis.yml | ||
README.md | ||
babel.config.js | ||
commitlint.config.js | ||
jest.config.js | ||
lerna.json | ||
package-lock.json | ||
package.json | ||
tsconfig.build.json | ||
tsconfig.json | ||
tslint.json | ||
tslint.prod.json | ||
tslint.test.json | ||
yarn.lock |
README.md
L7-POC
A POC for L7's new architecture.
Getting Started
使用 Yarn Workspace 完成依赖安装以及各包之间的 link 工作:
yarn install
开发模式:
yarn watch
运行 Demo
yarn storybook
代替 git commit
提交:
yarn commit
Add Package
创建一个新的 package:
lerna create my-pack -y
将 ui-lib 作为 my-pack 的依赖:
yarn workspace my-pack add ui-lib/1.0.0
将 lodash 添加为所有 package 的依赖(不包含root)
yarn workspaces run add lodash
将 typescript 设置为 root 的开发依赖
yarn add -W -D typescript jest