mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-23 15:42:27 +03:00
21 lines
379 B
Bash
Executable File
21 lines
379 B
Bash
Executable File
#!/usr/bin/env sh
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
# check lockfile is up to date
|
|
yarn install --mode=skip-build --inline-builds --immutable
|
|
|
|
# build infra code
|
|
yarn -T run build:infra
|
|
|
|
# generate prisma client type
|
|
yarn workspace @affine/server prisma generate
|
|
|
|
# lint staged files
|
|
yarn exec lint-staged
|
|
|
|
# type check
|
|
yarn typecheck
|
|
|
|
# circular dependency check
|
|
yarn circular
|