Go to file
偏右 4f4b6220bc chore: fix gatsby config 2019-11-15 18:57:54 +08:00
.github feat(src): threejs render 2018-10-23 19:32:42 +08:00
.storybook feat(scene): scene service inTransientScope 2019-11-07 00:52:03 +08:00
.vscode fix(fix confilict): conflict 2019-11-14 18:22:08 +08:00
build build(rollup): use rollup to pack CDN bundle 2019-11-14 20:52:43 +08:00
dev-docs build(rollup): use rollup to pack CDN bundle 2019-11-14 20:52:43 +08:00
docs feat(component): add layer control 2019-11-10 21:20:26 +08:00
examples fix(demo): update demo 2019-11-15 15:43:59 +08:00
jest refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
packages fix(demo): update demo 2019-11-15 15:43:59 +08:00
site fix(demo): update demo 2019-11-15 15:43:59 +08:00
stories fix(fix confilict): conflict 2019-11-14 18:22:08 +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 fix(merge): fix conflict 2019-11-15 01:15:14 +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
LICENSE.md chore(license): add MIT license 2019-11-12 16:01:33 +08:00
README.md feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
babel.config.js fix(merge): fix conflict 2019-11-15 01:15:14 +08:00
commitlint.config.js refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
gatsby-browser.js fix(demo): update demo 2019-11-15 15:43:59 +08:00
gatsby-config.js chore: fix gatsby config 2019-11-15 18:57:54 +08:00
gatsby-node.js fix: babel.config.js for gatsby 2019-11-14 22:24:31 +08:00
jest.config.js ci: init travis config 2019-11-01 17:15:20 +08:00
lerna.json chore(lerna): add publish config for leaf packages 2019-11-12 16:56:31 +08:00
package.json fix(demo): update demo 2019-11-15 15:43:59 +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(demo): update demo 2019-11-15 15:43:59 +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