mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 20:18:42 +08:00
chore: add monorepo tools (#9196)
This commit is contained in:
@@ -5,6 +5,6 @@ AFFiNE Android app.
|
||||
## Build
|
||||
|
||||
- yarn install
|
||||
- BUILD_TYPE=canary PUBLIC_PATH="/" yarn workspace @affine/android build
|
||||
- yarn workspace @affine/android cap sync
|
||||
- yarn workspace @affine/android cap open android
|
||||
- BUILD_TYPE=canary PUBLIC_PATH="/" yarn affine @affine/android build
|
||||
- yarn affine @affine/android cap sync
|
||||
- yarn affine @affine/android cap open android
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
"private": true,
|
||||
"browser": "src/index.tsx",
|
||||
"scripts": {
|
||||
"build": "cross-env DISTRIBUTION=android yarn workspace @affine/cli bundle",
|
||||
"dev": "yarn workspace @affine/cli dev",
|
||||
"static-server": "cross-env DISTRIBUTION=android yarn workspace @affine/cli dev --static"
|
||||
"build": "affine bundle",
|
||||
"dev": "affine bundle --dev"
|
||||
},
|
||||
"dependencies": {
|
||||
"@affine/component": "workspace:*",
|
||||
|
||||
Reference in New Issue
Block a user