Fix typescript

This commit is contained in:
2025-10-21 23:08:28 +02:00
parent ceaf050caf
commit c80d6ebba4
7 changed files with 9 additions and 4 deletions

View File

@@ -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

View File

@@ -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
View File

@@ -0,0 +1,2 @@
[install]
linker = "hoisted"

View File

@@ -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",

View File

@@ -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,

View File

@@ -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,