chore: add monorepo tools (#9196)
This commit is contained in:
@@ -5,9 +5,9 @@ AFFiNE iOS app.
|
||||
## Build
|
||||
|
||||
- `yarn install`
|
||||
- `BUILD_TYPE=canary PUBLIC_PATH="/" yarn workspace @affine/ios build`
|
||||
- `yarn workspace @affine/ios cap sync`
|
||||
- `yarn workspace @affine/ios cap open ios`
|
||||
- `BUILD_TYPE=canary PUBLIC_PATH="/" yarn affine @affine/ios build`
|
||||
- `yarn affine @affine/ios cap sync`
|
||||
- `yarn affine @affine/ios cap open ios`
|
||||
|
||||
## Live Reload
|
||||
|
||||
@@ -16,5 +16,5 @@ AFFiNE iOS app.
|
||||
- `yarn install`
|
||||
- `yarn dev`
|
||||
- select `ios` for the "Distribution" option
|
||||
- `yarn workspace @affine/ios sync:dev`
|
||||
- `yarn workspace @affine/ios cap open ios`
|
||||
- `yarn affine @affine/ios sync:dev`
|
||||
- `yarn affine @affine/ios cap open ios`
|
||||
|
||||
@@ -5,11 +5,10 @@
|
||||
"private": true,
|
||||
"browser": "src/index.tsx",
|
||||
"scripts": {
|
||||
"build": "cross-env DISTRIBUTION=ios yarn workspace @affine/cli bundle",
|
||||
"dev": "yarn workspace @affine/cli dev",
|
||||
"build": "affine bundle",
|
||||
"dev": "affine bundle --dev",
|
||||
"sync": "yarn cap sync",
|
||||
"sync:dev": "CAP_SERVER_URL=http://localhost:8080 yarn cap sync",
|
||||
"static-server": "cross-env DISTRIBUTION=ios yarn workspace @affine/cli dev --static"
|
||||
"sync:dev": "CAP_SERVER_URL=http://localhost:8080 yarn cap sync"
|
||||
},
|
||||
"dependencies": {
|
||||
"@affine/component": "workspace:*",
|
||||
|
||||
Reference in New Issue
Block a user