expo-modules-autolinking
Advanced tools
Comparing version
@@ -1,22 +0,2 @@ | ||
interface AndroidMavenRepository { | ||
url: string; | ||
} | ||
interface IosPod { | ||
name: string; | ||
version?: string; | ||
configurations?: string[]; | ||
modular_headers?: boolean; | ||
source?: string; | ||
path?: string; | ||
podspec?: string; | ||
testspecs?: string[]; | ||
git?: string; | ||
branch?: string; | ||
tag?: string; | ||
commit?: string; | ||
} | ||
interface ExtraDependencies { | ||
androidMavenRepos: AndroidMavenRepository[]; | ||
iosPods?: IosPod[]; | ||
} | ||
import type { ExtraDependencies } from '../types'; | ||
/** | ||
@@ -30,2 +10,1 @@ * Gets the `expo-build-properties` settings from the app config. | ||
export declare function resolveExtraDependenciesAsync(projectRoot: string): Promise<Partial<ExtraDependencies>>; | ||
export {}; |
@@ -191,1 +191,51 @@ import { ExpoModuleConfig } from './ExpoModuleConfig'; | ||
} | ||
interface AndroidMavenRepositoryPasswordCredentials { | ||
username: string; | ||
password: string; | ||
} | ||
interface AndroidMavenRepositoryHttpHeaderCredentials { | ||
name: string; | ||
value: string; | ||
} | ||
interface AndroidMavenRepositoryAWSCredentials { | ||
accessKey: string; | ||
secretKey: string; | ||
sessionToken?: string; | ||
} | ||
type AndroidMavenRepositoryCredentials = AndroidMavenRepositoryPasswordCredentials | AndroidMavenRepositoryHttpHeaderCredentials | AndroidMavenRepositoryAWSCredentials; | ||
export interface AndroidMavenRepository { | ||
/** | ||
* The URL of the Maven repository. | ||
*/ | ||
url: string; | ||
/** | ||
* The credentials to use when accessing the Maven repository. | ||
* May be of type PasswordCredentials, HttpHeaderCredentials, or AWSCredentials. | ||
* | ||
* @see the authentication schemes section of [Gradle documentation](https://docs.gradle.org/current/userguide/declaring_repositories.html#sec:authentication_schemes) for more information. | ||
*/ | ||
credentials?: AndroidMavenRepositoryCredentials; | ||
/** | ||
* The authentication scheme to use when accessing the Maven repository. | ||
*/ | ||
authentication?: 'basic' | 'digest' | 'header'; | ||
} | ||
interface IosPod { | ||
name: string; | ||
version?: string; | ||
configurations?: string[]; | ||
modular_headers?: boolean; | ||
source?: string; | ||
path?: string; | ||
podspec?: string; | ||
testspecs?: string[]; | ||
git?: string; | ||
branch?: string; | ||
tag?: string; | ||
commit?: string; | ||
} | ||
export interface ExtraDependencies { | ||
androidMavenRepos: AndroidMavenRepository[]; | ||
iosPods?: IosPod[]; | ||
} | ||
export {}; |
@@ -9,2 +9,4 @@ # Changelog | ||
- Expand Android auto-linking to support new expo-build-properties ([#26895](https://github.com/expo/expo/pull/26895) by [@bpeltonc](https://github.com/bpeltonc)) | ||
### 🐛 Bug fixes | ||
@@ -11,0 +13,0 @@ |
{ | ||
"name": "expo-modules-autolinking", | ||
"version": "0.0.1-canary-20240222-c729a13", | ||
"version": "0.0.1-canary-20240228-7cee619", | ||
"description": "Scripts that autolink Expo modules.", | ||
@@ -39,3 +39,3 @@ "main": "build/index.js", | ||
"@types/fs-extra": "^9.0.11", | ||
"expo-module-scripts": "0.0.1-canary-20240222-c729a13", | ||
"expo-module-scripts": "0.0.1-canary-20240228-7cee619", | ||
"minimatch": "^3.0.4", | ||
@@ -45,3 +45,3 @@ "tempy": "^0.7.1" | ||
"dependencies": { | ||
"@expo/config": "0.0.1-canary-20240222-c729a13", | ||
"@expo/config": "0.0.1-canary-20240228-7cee619", | ||
"chalk": "^4.1.0", | ||
@@ -53,3 +53,3 @@ "commander": "^7.2.0", | ||
}, | ||
"gitHead": "c729a13f936926743c13c021f569a22921455e49" | ||
"gitHead": "7cee6192338de34ad301922c0cd6f4a4645c0fa9" | ||
} |
@@ -5,27 +5,4 @@ import { getConfig } from '@expo/config'; | ||
import { getProjectPackageJsonPathAsync } from './mergeLinkingOptions'; | ||
import type { ExtraDependencies } from '../types'; | ||
interface AndroidMavenRepository { | ||
url: string; | ||
} | ||
interface IosPod { | ||
name: string; | ||
version?: string; | ||
configurations?: string[]; | ||
modular_headers?: boolean; | ||
source?: string; | ||
path?: string; | ||
podspec?: string; | ||
testspecs?: string[]; | ||
git?: string; | ||
branch?: string; | ||
tag?: string; | ||
commit?: string; | ||
} | ||
interface ExtraDependencies { | ||
androidMavenRepos: AndroidMavenRepository[]; | ||
iosPods?: IosPod[]; | ||
} | ||
/** | ||
@@ -32,0 +9,0 @@ * Gets the `expo-build-properties` settings from the app config. |
@@ -230,1 +230,60 @@ import { ExpoModuleConfig } from './ExpoModuleConfig'; | ||
} | ||
interface AndroidMavenRepositoryPasswordCredentials { | ||
username: string; | ||
password: string; | ||
} | ||
interface AndroidMavenRepositoryHttpHeaderCredentials { | ||
name: string; | ||
value: string; | ||
} | ||
interface AndroidMavenRepositoryAWSCredentials { | ||
accessKey: string; | ||
secretKey: string; | ||
sessionToken?: string; | ||
} | ||
type AndroidMavenRepositoryCredentials = | ||
| AndroidMavenRepositoryPasswordCredentials | ||
| AndroidMavenRepositoryHttpHeaderCredentials | ||
| AndroidMavenRepositoryAWSCredentials; | ||
export interface AndroidMavenRepository { | ||
/** | ||
* The URL of the Maven repository. | ||
*/ | ||
url: string; | ||
/** | ||
* The credentials to use when accessing the Maven repository. | ||
* May be of type PasswordCredentials, HttpHeaderCredentials, or AWSCredentials. | ||
* | ||
* @see the authentication schemes section of [Gradle documentation](https://docs.gradle.org/current/userguide/declaring_repositories.html#sec:authentication_schemes) for more information. | ||
*/ | ||
credentials?: AndroidMavenRepositoryCredentials; | ||
/** | ||
* The authentication scheme to use when accessing the Maven repository. | ||
*/ | ||
authentication?: 'basic' | 'digest' | 'header'; | ||
} | ||
interface IosPod { | ||
name: string; | ||
version?: string; | ||
configurations?: string[]; | ||
modular_headers?: boolean; | ||
source?: string; | ||
path?: string; | ||
podspec?: string; | ||
testspecs?: string[]; | ||
git?: string; | ||
branch?: string; | ||
tag?: string; | ||
commit?: string; | ||
} | ||
export interface ExtraDependencies { | ||
androidMavenRepos: AndroidMavenRepository[]; | ||
iosPods?: IosPod[]; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
346466
1.73%3842
1.61%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed