mirror of
https://github.com/zoriya/react-native-video.git
synced 2025-12-06 07:16:12 +00:00
Fix typescript
This commit is contained in:
2
.github/actions/setup-bun/action.yml
vendored
2
.github/actions/setup-bun/action.yml
vendored
@@ -13,7 +13,7 @@ runs:
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.2.19
|
||||
bun-version: 1.3.0
|
||||
|
||||
- name: Cache dependencies
|
||||
id: bun-cache
|
||||
|
||||
1
bun.lock
1
bun.lock
@@ -13,6 +13,7 @@
|
||||
"@release-it/conventional-changelog": "^8.0.2",
|
||||
"@tsconfig/react-native": "^2.0.2",
|
||||
"@types/eslint__js": "^8.42.3",
|
||||
"@types/node": "^24.9.1",
|
||||
"@types/react": "^18.2.44",
|
||||
"commitlint": "^17.0.2",
|
||||
"eslint": "^8.51.0",
|
||||
|
||||
2
bunfig.toml
Normal file
2
bunfig.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[install]
|
||||
linker = "hoisted"
|
||||
@@ -34,6 +34,7 @@
|
||||
"@release-it/conventional-changelog": "^8.0.2",
|
||||
"@tsconfig/react-native": "^2.0.2",
|
||||
"@types/eslint__js": "^8.42.3",
|
||||
"@types/node": "^24.9.1",
|
||||
"@types/react": "^18.2.44",
|
||||
"commitlint": "^17.0.2",
|
||||
"eslint": "^8.51.0",
|
||||
|
||||
@@ -297,6 +297,7 @@ class VideoPlayer extends VideoPlayerEvents implements VideoPlayerBase {
|
||||
|
||||
for (const sub of source.externalSubtitles ?? []) {
|
||||
this.player.addRemoteTextTrack({
|
||||
id: sub.uri,
|
||||
kind: "subtitles",
|
||||
label: sub.label,
|
||||
src: sub.uri,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mergeContents } from '@expo/config-plugins/build/utils/generateCode';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
|
||||
export const writeToPodfile = (
|
||||
projectRoot: string,
|
||||
|
||||
Reference in New Issue
Block a user