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:
4
.github/actions/setup-bun/action.yml
vendored
4
.github/actions/setup-bun/action.yml
vendored
@@ -13,7 +13,7 @@ runs:
|
|||||||
- name: Setup Bun
|
- name: Setup Bun
|
||||||
uses: oven-sh/setup-bun@v2
|
uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
bun-version: 1.2.19
|
bun-version: 1.3.0
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
id: bun-cache
|
id: bun-cache
|
||||||
@@ -30,4 +30,4 @@ runs:
|
|||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
run: bun install
|
run: bun install
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|||||||
1
bun.lock
1
bun.lock
@@ -13,6 +13,7 @@
|
|||||||
"@release-it/conventional-changelog": "^8.0.2",
|
"@release-it/conventional-changelog": "^8.0.2",
|
||||||
"@tsconfig/react-native": "^2.0.2",
|
"@tsconfig/react-native": "^2.0.2",
|
||||||
"@types/eslint__js": "^8.42.3",
|
"@types/eslint__js": "^8.42.3",
|
||||||
|
"@types/node": "^24.9.1",
|
||||||
"@types/react": "^18.2.44",
|
"@types/react": "^18.2.44",
|
||||||
"commitlint": "^17.0.2",
|
"commitlint": "^17.0.2",
|
||||||
"eslint": "^8.51.0",
|
"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",
|
"@release-it/conventional-changelog": "^8.0.2",
|
||||||
"@tsconfig/react-native": "^2.0.2",
|
"@tsconfig/react-native": "^2.0.2",
|
||||||
"@types/eslint__js": "^8.42.3",
|
"@types/eslint__js": "^8.42.3",
|
||||||
|
"@types/node": "^24.9.1",
|
||||||
"@types/react": "^18.2.44",
|
"@types/react": "^18.2.44",
|
||||||
"commitlint": "^17.0.2",
|
"commitlint": "^17.0.2",
|
||||||
"eslint": "^8.51.0",
|
"eslint": "^8.51.0",
|
||||||
|
|||||||
@@ -297,6 +297,7 @@ class VideoPlayer extends VideoPlayerEvents implements VideoPlayerBase {
|
|||||||
|
|
||||||
for (const sub of source.externalSubtitles ?? []) {
|
for (const sub of source.externalSubtitles ?? []) {
|
||||||
this.player.addRemoteTextTrack({
|
this.player.addRemoteTextTrack({
|
||||||
|
id: sub.uri,
|
||||||
kind: "subtitles",
|
kind: "subtitles",
|
||||||
label: sub.label,
|
label: sub.label,
|
||||||
src: sub.uri,
|
src: sub.uri,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { mergeContents } from '@expo/config-plugins/build/utils/generateCode';
|
import { mergeContents } from '@expo/config-plugins/build/utils/generateCode';
|
||||||
import fs from 'fs';
|
import fs from 'node:fs';
|
||||||
import path from 'path';
|
import path from 'node:path';
|
||||||
|
|
||||||
export const writeToPodfile = (
|
export const writeToPodfile = (
|
||||||
projectRoot: string,
|
projectRoot: string,
|
||||||
|
|||||||
Reference in New Issue
Block a user