Go to file
thinkinggis a32dc230a0 feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
.github feat(src): threejs render 2018-10-23 19:32:42 +08:00
.storybook feat(layer): point layer 2019-10-29 17:33:37 +08:00
.vscode build: upgrade TS, babel plugin and to support optional chaining 2019-10-25 14:17:59 +08:00
dev-docs feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
docs feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
examples feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
jest refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
packages feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
site feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
stories feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
.editorconfig refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.eslintrc feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
.gitignore feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
.npmrc feat(add l7 site): add websites 2019-11-06 11:57:42 +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
.travis.yml fix(travis): travis nodejs version 2019-11-04 13:41:09 +08:00
README.md feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
babel.config.js feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
commitlint.config.js refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
gatsby-browser.js feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
gatsby-config.js feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
jest.config.js ci: init travis config 2019-11-01 17:15:20 +08:00
lerna.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
package-lock.json feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
package.json feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
tsconfig.build.json feat(layer): point layer 2019-10-29 17:33:37 +08:00
tsconfig.json feat(picking): support PixelPickingPass and highlight the picked feature 2019-10-24 20:53:15 +08:00
tslint.json feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
tslint.prod.json feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
tslint.test.json refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
yarn.lock fix(tslint): fix tslint error 2019-11-04 12:06:45 +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

view doc example

  npm  start

visit http://localhost:8000/

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