Go to file
yuqi.pyq 1fc71c0dd6 build(rollup): use rollup to pack CDN bundle 2019-11-14 20:52:43 +08:00
.cache feat(component): add layer control 2019-11-10 21:20:26 +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 build: upgrade TS, babel plugin and to support optional chaining 2019-10-25 14:17:59 +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 feat(component): add layer control 2019-11-10 21:20:26 +08:00
jest refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
packages build(rollup): use rollup to pack CDN bundle 2019-11-14 20:52:43 +08:00
site feat(add l7 site): add websites 2019-11-06 11:57:42 +08:00
stories build(prettier): support optional chain with TS 3.7 2019-11-12 15:37:31 +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 build(rollup): use rollup to pack CDN bundle 2019-11-14 20:52:43 +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 build(rollup): use rollup to pack CDN bundle 2019-11-14 20:52:43 +08:00
commitlint.config.js refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
gatsby-browser.js feat(component): add layer control 2019-11-10 21:20:26 +08:00
gatsby-config.js feat(scene): scene service inTransientScope 2019-11-07 00:52:03 +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 build(rollup): use rollup to pack CDN bundle 2019-11-14 20:52:43 +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 build(rollup): use rollup to pack CDN bundle 2019-11-14 20:52:43 +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