mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-11 16:30:24 +01:00
Migrate all remaining migratable .js/.mjs files to .ts with strong typing:
- constants/MediaTypes: as const + derived MediaType union
- utils/profiles/{download,subtitles,trackplayer}: typed against
@jellyfin/sdk DeviceProfile/SubtitleProfile/CodecProfile models;
native.ts now validates its profile with `satisfies DeviceProfile`
- trackplayer.d.ts removed (superseded by real TS implementation)
- index.js -> index.ts (entry point, "main" is extension-less)
- scripts/{typecheck,check-i18n-keys,detect-duplicate-issue} -> .ts,
all run via bun (typecheck switched from node to bun)
Remove scripts/symlink-native-dirs.js: dead since 446439c2 (2025-02-28)
when its only reference (prebuild:tv-new) was dropped; superseded by
`expo prebuild --clean` + cross-env EXPO_TV. Drop the matching
.gitignore relics (/iostv, /iosmobile, /androidmobile, /androidtv).
Document tooling-required .js exceptions (babel/metro/react-native/
tailwind configs) in CLAUDE.md and copilot-instructions.md so code
review guidelines stop flagging them.
77 lines
1.2 KiB
Plaintext
77 lines
1.2 KiB
Plaintext
# Dependencies and Package Managers
|
|
node_modules/
|
|
bun.lockb
|
|
package-lock.json
|
|
|
|
# Expo and React Native Build Artifacts
|
|
.expo/
|
|
dist/
|
|
web-build/
|
|
.tsbuildinfo
|
|
|
|
# Platform-specific Build Directories
|
|
/ios
|
|
/android
|
|
|
|
# Gradle caches (top-level + per-module native projects)
|
|
**/.gradle/
|
|
|
|
# Native module build outputs (any module)
|
|
modules/*/android/build/
|
|
|
|
# Generated Applications
|
|
Streamyfin.app
|
|
*.apk
|
|
*.ipa
|
|
*.aab
|
|
|
|
# Certificates and Keys
|
|
*.jks
|
|
*.p8
|
|
*.p12
|
|
*.key
|
|
*.mobileprovision
|
|
|
|
# Debug and Temporary Files
|
|
npm-debug.*
|
|
*.orig.*
|
|
*.mp4
|
|
|
|
# OS-specific Files
|
|
# macOS
|
|
.DS_Store
|
|
|
|
# IDE and Editor Files
|
|
.vscode/
|
|
.idea/
|
|
.ruby-lsp
|
|
.cursor/
|
|
|
|
# Environment and Configuration
|
|
expo-env.d.ts
|
|
.continuerc.json
|
|
.env
|
|
.env.local
|
|
|
|
# Secrets and Credentials
|
|
pc-api-7079014811501811218-719-3b9f15aeccf8.json
|
|
credentials.json
|
|
streamyfin-4fec1-firebase-adminsdk.json
|
|
/profiles/
|
|
certs/
|
|
|
|
# Version and Backup Files
|
|
/version-backup-*
|
|
|
|
# ios:unsigned-build Artifacts
|
|
build/
|
|
# but keep EAS custom build configs (the generic build/ rule above matches .eas/build/)
|
|
!.eas/build/
|
|
!.eas/build/**
|
|
.claude/
|
|
.agents/skills/**
|
|
skills-lock.json
|
|
|
|
# CI-injected Google Play service account key (written at build time)
|
|
google-service-account.json
|