32 lines
792 B
Makefile
32 lines
792 B
Makefile
_frontend-dev:
|
|
cd ui && pnpm run dev
|
|
|
|
test-frontend:
|
|
cd ui && pnpm run test
|
|
|
|
test-frontend-watch:
|
|
cd ui && pnpm run test:watch
|
|
|
|
typecheck:
|
|
cd ui && tsc -b
|
|
|
|
build-frontend:
|
|
cd ui && pnpm run build
|
|
|
|
_api-dev:
|
|
cd api && npm run dev
|
|
|
|
dev:
|
|
just _api-dev & (just _frontend-dev)
|
|
|
|
update-types:
|
|
npx supabase gen types typescript --project-id "mhcafqvzbrrwvahpvvzd" --schema public > ui/src/types/database.types.ts && cp ui/src/types/database.types.ts api/src/database.types.ts && cp ui/src/types/database.types.ts xtablo-expo/lib/database.types.ts
|
|
|
|
expo-install-all:
|
|
cd xtablo-expo && npx expo install -- --legacy-peer-deps
|
|
|
|
expo-install +package:
|
|
cd xtablo-expo && npx expo install {{package}} -- --legacy-peer-deps
|
|
|
|
expo-start *args:
|
|
cd xtablo-expo && npx expo start {{args}}
|