diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index c15d5500..1f63d5f3 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -3,58 +3,94 @@ ## Project Overview Streamyfin is a cross-platform Jellyfin video streaming client built with Expo (React Native). -It supports mobile (iOS/Android) and TV platforms, and integrates with Jellyfin and Jellyseerr APIs. +It supports mobile (iOS/Android) and TV platforms, integrates with Jellyfin and Jellyseerr APIs, +and provides seamless media streaming with offline capabilities and Chromecast support. ## Main Technologies -- React Native (Expo) -- TypeScript -- React Query -- Jotai (state management) -- Jellyfin SDK (TypeScript) -- BiomeJS (code formatting/linting) -- EAS (Expo Application Services) -- Shell scripting (for automation) -- GitHub Actions (CI/CD) +- **Runtime**: Bun (JavaScript/TypeScript execution) +- **Framework**: React Native (Expo) +- **Language**: TypeScript (strict mode) +- **State Management**: Jotai (global state) + React Query (server state) +- **API SDK**: Jellyfin SDK (TypeScript) +- **Navigation**: Expo Router (file-based routing) +- **Code Quality**: BiomeJS (formatting/linting) +- **Build Platform**: EAS (Expo Application Services) +- **CI/CD**: GitHub Actions with Bun + +## Package Management + +**CRITICAL: ALWAYS use `bun` for all package management operations** + +- **NEVER use `npm`, `yarn` or `npx` commands** +- Use `bun install` instead of `npm install` or `yarn install` +- Use `bun add ` instead of `npm install ` +- Use `bun remove ` instead of `npm uninstall ` +- Use `bun run