install-expo-modules 0.14.21 → 0.14.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/index.js +129 -129
- package/build/plugins/android/withAndroidGradles.d.ts +1 -1
- package/build/plugins/android/withAndroidModules.d.ts +1 -1
- package/build/plugins/android/withAndroidModulesMainActivity.d.ts +1 -1
- package/build/plugins/android/withAndroidModulesMainApplication.d.ts +1 -1
- package/build/plugins/android/withAndroidSettingsGradle.d.ts +1 -1
- package/build/plugins/cli/withCliIntegration.d.ts +2 -2
- package/build/plugins/ios/withIosDeploymentTarget.d.ts +2 -2
- package/build/plugins/ios/withIosModules.d.ts +1 -1
- package/build/plugins/ios/withIosModulesAppDelegate.d.ts +1 -1
- package/build/plugins/ios/withIosModulesPodfile.d.ts +1 -1
- package/build/plugins/ios/withSwiftVersion.d.ts +2 -2
- package/build/plugins/ios/withXCParseXcodeProject.d.ts +1 -1
- package/package.json +20 -19
- package/bin/install-expo-modules.js +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare function shouldUpdateAgpVersionAsync(projectRoot: string, targetVersion: string): Promise<boolean>;
|
|
3
3
|
export declare const withAndroidGradlePluginVersion: ConfigPlugin<{
|
|
4
4
|
androidAgpVersion: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withAndroidModules: ConfigPlugin;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withAndroidModulesMainActivity: ConfigPlugin;
|
|
3
3
|
export declare function setModulesMainActivity(mainActivity: string, language: 'java' | 'kt'): string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withAndroidModulesMainApplication: ConfigPlugin;
|
|
3
3
|
export declare function setModulesMainApplication(sdkVersion: string, mainApplication: string, language: 'java' | 'kt'): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withAndroidModulesSettingGradle: ConfigPlugin;
|
|
3
3
|
export declare function updateAndroidSettingsGradle({ contents, isGroovy, sdkVersion, }: {
|
|
4
4
|
contents: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import { PBXShellScriptBuildPhase } from 'xcparse';
|
|
3
3
|
export declare const withCliIntegration: ConfigPlugin;
|
|
4
4
|
export declare function updateAndroidGradleFile(contents: string): string;
|
|
5
5
|
export declare function updateBabelConfig(contents: string): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import { XCParseXcodeProject } from './withXCParseXcodeProject';
|
|
3
3
|
type IosDeploymentTargetConfigPlugin = ConfigPlugin<{
|
|
4
4
|
deploymentTarget: string;
|
|
5
5
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withIosModules: ConfigPlugin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withIosModulesAppDelegate: ConfigPlugin;
|
|
3
3
|
export declare const withIosModulesAppDelegateObjcHeader: ConfigPlugin;
|
|
4
4
|
export declare const withIosModulesSwiftBridgingHeader: ConfigPlugin;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withIosModulesPodfile: ConfigPlugin;
|
|
3
3
|
export declare function updatePodfile(contents: string, projectName: string, sdkVersion: string | undefined): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import
|
|
1
|
+
import { type ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import { XCParseXcodeProject } from './withXCParseXcodeProject';
|
|
3
3
|
export declare function setSwiftVersionIfNotPresent(swiftVersionToSet: string, { project }: {
|
|
4
4
|
project: XCParseXcodeProject;
|
|
5
5
|
}): XCParseXcodeProject;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConfigPlugin, Mod } from '@expo/config-plugins';
|
|
2
2
|
import type { BuildSettings, XcodeProject } from 'xcparse';
|
|
3
3
|
export type XCParseXcodeProject = Partial<XcodeProject>;
|
|
4
4
|
export interface BuildSettingsExtended extends BuildSettings {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "install-expo-modules",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.22",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Tools to install expo-modules for existing react-native projects",
|
|
6
6
|
"keywords": [
|
|
@@ -10,12 +10,22 @@
|
|
|
10
10
|
"react-native",
|
|
11
11
|
"react"
|
|
12
12
|
],
|
|
13
|
-
"bin": "
|
|
13
|
+
"bin": "build/index.js",
|
|
14
14
|
"main": "build/index.js",
|
|
15
15
|
"files": [
|
|
16
|
-
"bin",
|
|
17
16
|
"build"
|
|
18
17
|
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "ncc build ./src/index.ts -o build/",
|
|
20
|
+
"build:prod": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register",
|
|
21
|
+
"clean": "expo-module clean",
|
|
22
|
+
"lint": "expo-module lint",
|
|
23
|
+
"prepare": "expo-module clean && yarn run build:prod",
|
|
24
|
+
"prepublishOnly": "expo-module prepublishOnly",
|
|
25
|
+
"test": "expo-module test",
|
|
26
|
+
"typecheck": "expo-module typecheck",
|
|
27
|
+
"watch": "yarn run build --watch"
|
|
28
|
+
},
|
|
19
29
|
"homepage": "https://github.com/expo/expo/tree/main/packages/install-expo-modules#readme",
|
|
20
30
|
"bugs": {
|
|
21
31
|
"url": "https://github.com/expo/expo/issues"
|
|
@@ -26,33 +36,24 @@
|
|
|
26
36
|
"directory": "packages/install-expo-modules"
|
|
27
37
|
},
|
|
28
38
|
"devDependencies": {
|
|
39
|
+
"@expo/config": "~55.0.17",
|
|
40
|
+
"@expo/config-plugins": "~55.0.9",
|
|
41
|
+
"@expo/package-manager": "^1.10.5",
|
|
29
42
|
"@expo/spawn-async": "^1.7.2",
|
|
30
43
|
"@types/prompts": "^2.0.6",
|
|
31
44
|
"@types/semver": "^7.0.0",
|
|
32
45
|
"chalk": "^4.1.2",
|
|
33
46
|
"commander": "^12.1.0",
|
|
47
|
+
"expo-module-scripts": "^55.0.2",
|
|
34
48
|
"glob": "^13.0.0",
|
|
35
49
|
"prompts": "^2.3.2",
|
|
36
50
|
"resolve-from": "^5.0.0",
|
|
37
51
|
"semver": "7.5.4",
|
|
38
52
|
"terminal-link": "^2.1.1",
|
|
39
|
-
"xcparse": "^0.0.3"
|
|
40
|
-
"@expo/config": "56.0.2",
|
|
41
|
-
"@expo/package-manager": "1.11.1",
|
|
42
|
-
"@expo/config-plugins": "56.0.2",
|
|
43
|
-
"expo-module-scripts": "56.0.1"
|
|
53
|
+
"xcparse": "^0.0.3"
|
|
44
54
|
},
|
|
45
55
|
"publishConfig": {
|
|
46
56
|
"access": "public"
|
|
47
57
|
},
|
|
48
|
-
"gitHead": "
|
|
49
|
-
|
|
50
|
-
"build": "ncc build ./src/index.ts -o build/",
|
|
51
|
-
"build:prod": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register",
|
|
52
|
-
"clean": "expo-module clean",
|
|
53
|
-
"lint": "expo-module lint",
|
|
54
|
-
"test": "expo-module test",
|
|
55
|
-
"typecheck": "expo-module typecheck",
|
|
56
|
-
"watch": "pnpm run build --watch"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
58
|
+
"gitHead": "0675db12d13a5309e3109e8ecf7f6011522194c6"
|
|
59
|
+
}
|