build affine

This commit is contained in:
CanbiZ 2026-01-18 17:35:02 +01:00
parent 346cd98bcf
commit a1242683c4
2 changed files with 2 additions and 8 deletions

View File

@ -51,10 +51,7 @@ function update_script() {
$STD corepack enable $STD corepack enable
$STD corepack prepare yarn@stable --activate $STD corepack prepare yarn@stable --activate
$STD yarn install $STD yarn install
$STD yarn affine @affine/native build $STD yarn build
$STD yarn affine @affine/server-native build
$STD yarn run nx -- build @affine/web
$STD yarn run nx -- build @affine/server
msg_ok "Rebuilt Application" msg_ok "Rebuilt Application"
msg_info "Running Migrations" msg_info "Running Migrations"

View File

@ -63,10 +63,7 @@ set -a && source /opt/affine/.env && set +a
$STD corepack enable $STD corepack enable
$STD corepack prepare yarn@stable --activate $STD corepack prepare yarn@stable --activate
$STD yarn install $STD yarn install
$STD yarn affine @affine/native build $STD yarn build
$STD yarn affine @affine/server-native build
$STD yarn run nx -- build @affine/web
$STD yarn run nx -- build @affine/server
msg_ok "Built AFFiNE" msg_ok "Built AFFiNE"
msg_info "Running Initial Migration" msg_info "Running Initial Migration"