add lerna to manage monorepo

This commit is contained in:
Yanzhen Yu
2021-08-14 23:58:56 +08:00
parent e5b0750e90
commit 9571c36d80
9 changed files with 3386 additions and 65 deletions

View File

@@ -11,9 +11,6 @@ install:
- yarn
script:
- cd packages/rrweb-snapshot
- yarn bundle
- yarn test
- cd ../rrweb
- yarn check-types
- xvfb-run --server-args="-screen 0 1920x1080x24" yarn test
- yarn lerna run prepublish
- yarn lerna run check-types
- xvfb-run --server-args="-screen 0 1920x1080x24" yarn lerna run test