38 lines
852 B
Makefile
38 lines
852 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 && pnpm run typecheck
|
|
|
|
build-frontend:
|
|
cd ui && pnpm run build
|
|
|
|
_api-dev:
|
|
cd api && npm run dev
|
|
|
|
test-api:
|
|
cd api && npm run test
|
|
|
|
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
|
|
|
|
expo-install +package:
|
|
cd xtablo-expo && npx expo install {{package}}
|
|
|
|
expo-start *args:
|
|
cd xtablo-expo && npx expo start {{args}}
|
|
|
|
build-expo:
|
|
cd xtablo-expo && eas build --platform all
|