Go to file
yuqi.pyq 31a3db93a1 refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.github feat(src): threejs render 2018-10-23 19:32:42 +08:00
.storybook refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
dev-docs refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
jest refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
packages refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
stories/MapAdaptor refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.DS_Store refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.editorconfig refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.gitignore refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.prettierrc refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.stylelintrc refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
README.md refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
babel.config.js refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
commitlint.config.js refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
jest.config.js refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
lerna.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
package.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
tsconfig.build.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
tsconfig.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
tslint.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
tslint.prod.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
tslint.test.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
yarn.lock refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00

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