Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/simple-camera/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@react-native/typescript-config": "0.84.0",
"@types/react": "19.2.14",
"react-native-harness": "1.3.0",
"typescript": "5.9.3"
"typescript": "6.0.3"
},
"engines": {
"node": ">=20"
Expand Down
62 changes: 41 additions & 21 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"forceConsistentCasingInFileNames": true,
"lib": ["ESNext"],
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "Bundler",
"noEmit": false,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
Expand Down
1 change: 1 addition & 0 deletions docs/bun-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="bun-types" />
1 change: 1 addition & 0 deletions docs/css.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module "*.css"
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
"postcss": "^8.5.6",
"tailwindcss": "4.2.1",
"ts-morph": "^27.0.2",
"typedoc": "0.28.17",
"typedoc": "0.28.19",
"typedoc-plugin-frontmatter": "1.3.1",
"typedoc-plugin-markdown": "4.10.0",
"typescript": "5.9.3"
"typedoc-plugin-markdown": "4.11.0",
"typescript": "6.0.3"
}
}
5 changes: 2 additions & 3 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"compilerOptions": {
"baseUrl": ".",
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": ["dom", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -16,7 +15,7 @@
"incremental": true,
"paths": {
"@/*": ["./src/*"],
"fumadocs-mdx:collections/*": [".source/*"]
"fumadocs-mdx:collections/*": ["./.source/*"]
},
"plugins": [
{
Expand Down
20 changes: 16 additions & 4 deletions docs/tsconfig.scripts.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["es2022"],
"lib": [
"es2022"
],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"allowImportingTsExtensions": true,
Expand All @@ -10,15 +12,25 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"paths": {
"@/*": ["./src/*"]
"@/*": [
"./src/*"
]
},
"types": ["node"]
"types": [
"node"
]
},
"include": [
"config/**/*.ts",
"typedoc.config.mts",
"scripts/**/*.mts",
"src/lib/shared/platforms-core.ts"
],
"exclude": [".next", ".source", "content/api", "node_modules", "test-results"]
"exclude": [
".next",
".source",
"content/api",
"node_modules",
"test-results"
]
}
19 changes: 15 additions & 4 deletions docs/typedoc.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,31 @@ const blockTags: Array<`@${string}`> = [
]

const compilerOptions = {
baseUrl: docsRoot,
// Package mode uses each package's tsconfig; disable composite/file-list checks
// so cross-package source imports resolve in monorepo CI environments.
composite: false,
rootDir: repoRoot,
paths: {
'react-native-vision-camera': [
'../packages/react-native-vision-camera/src/index.ts',
path.join(
repoRoot,
'packages',
'react-native-vision-camera',
'src',
'index.ts',
),
],
'react-native-vision-camera/*': [
'../packages/react-native-vision-camera/src/*',
path.join(repoRoot, 'packages', 'react-native-vision-camera', 'src', '*'),
],
'react-native-vision-camera-*': [
'../packages/react-native-vision-camera-*/src/index.ts',
path.join(
repoRoot,
'packages',
'react-native-vision-camera-*',
'src',
'index.ts',
),
],
},
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"release-it": "^19.2.4"
},
"peerDependencies": {
"typescript": "^5.9.3"
"typescript": "^6.0.3"
},
"release-it": {
"npm": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"react-native": "0.84.0",
"react-native-nitro-modules": "0.35.9",
"react-native-vision-camera": "*",
"typescript": "5.9.3"
"typescript": "6.0.3"
},
"peerDependencies": {
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-vision-camera-location/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"react-native": "0.84.0",
"react-native-nitro-modules": "0.35.9",
"react-native-vision-camera": "*",
"typescript": "5.9.3"
"typescript": "6.0.3"
},
"peerDependencies": {
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-vision-camera-resizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"react-native": "0.84.0",
"react-native-nitro-modules": "0.35.9",
"react-native-vision-camera": "*",
"typescript": "5.9.3"
"typescript": "6.0.3"
},
"peerDependencies": {
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-vision-camera-resizer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"jsx": "react",
"lib": ["esnext"],
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"noEmit": false,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-vision-camera-skia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"react-native-worklets": "0.8.1",
"react-native-vision-camera": "*",
"react-native-vision-camera-worklets": "*",
"typescript": "5.9.3"
"typescript": "6.0.3"
},
"peerDependencies": {
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-vision-camera-worklets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"react-native-nitro-modules": "0.35.9",
"react-native-worklets": "0.8.1",
"react-native-vision-camera": "*",
"typescript": "5.9.3"
"typescript": "6.0.3"
},
"peerDependencies": {
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-vision-camera/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"react-native": "0.84.0",
"react-native-nitro-image": "0.15.0",
"react-native-nitro-modules": "0.35.9",
"typescript": "5.9.3"
"typescript": "6.0.3"
},
"peerDependencies": {
"react": "*",
Expand Down
Loading