install-expo-modules 0.14.22 → 0.15.0
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/bin/install-expo-modules.js +3 -0
- 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 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigPlugin } from '@expo/config-plugins';
|
|
1
|
+
import type { 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 { ConfigPlugin } from '@expo/config-plugins';
|
|
1
|
+
import type { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withAndroidModules: ConfigPlugin;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ConfigPlugin } from '@expo/config-plugins';
|
|
1
|
+
import type { 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 { ConfigPlugin } from '@expo/config-plugins';
|
|
1
|
+
import type { 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 { ConfigPlugin } from '@expo/config-plugins';
|
|
1
|
+
import type { 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 { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
-
import { PBXShellScriptBuildPhase } from 'xcparse';
|
|
1
|
+
import type { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import type { 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 { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
-
import { XCParseXcodeProject } from './withXCParseXcodeProject';
|
|
1
|
+
import type { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import type { XCParseXcodeProject } from './withXCParseXcodeProject';
|
|
3
3
|
type IosDeploymentTargetConfigPlugin = ConfigPlugin<{
|
|
4
4
|
deploymentTarget: string;
|
|
5
5
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ConfigPlugin } from '@expo/config-plugins';
|
|
1
|
+
import type { ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withIosModules: ConfigPlugin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigPlugin } from '@expo/config-plugins';
|
|
1
|
+
import type { 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 { ConfigPlugin } from '@expo/config-plugins';
|
|
1
|
+
import type { 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 {
|
|
2
|
-
import { XCParseXcodeProject } from './withXCParseXcodeProject';
|
|
1
|
+
import type { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import type { 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 { ConfigPlugin, Mod } from '@expo/config-plugins';
|
|
1
|
+
import type { 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.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Tools to install expo-modules for existing react-native projects",
|
|
6
6
|
"keywords": [
|
|
@@ -10,22 +10,12 @@
|
|
|
10
10
|
"react-native",
|
|
11
11
|
"react"
|
|
12
12
|
],
|
|
13
|
-
"bin": "
|
|
13
|
+
"bin": "bin/install-expo-modules.js",
|
|
14
14
|
"main": "build/index.js",
|
|
15
15
|
"files": [
|
|
16
|
+
"bin",
|
|
16
17
|
"build"
|
|
17
18
|
],
|
|
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
|
-
},
|
|
29
19
|
"homepage": "https://github.com/expo/expo/tree/main/packages/install-expo-modules#readme",
|
|
30
20
|
"bugs": {
|
|
31
21
|
"url": "https://github.com/expo/expo/issues"
|
|
@@ -36,24 +26,33 @@
|
|
|
36
26
|
"directory": "packages/install-expo-modules"
|
|
37
27
|
},
|
|
38
28
|
"devDependencies": {
|
|
39
|
-
"@expo/
|
|
40
|
-
"@expo/config-plugins": "~55.0.9",
|
|
41
|
-
"@expo/package-manager": "^1.10.5",
|
|
42
|
-
"@expo/spawn-async": "^1.7.2",
|
|
29
|
+
"@expo/spawn-async": "^1.8.0",
|
|
43
30
|
"@types/prompts": "^2.0.6",
|
|
44
31
|
"@types/semver": "^7.0.0",
|
|
45
32
|
"chalk": "^4.1.2",
|
|
46
33
|
"commander": "^12.1.0",
|
|
47
|
-
"expo-module-scripts": "^55.0.2",
|
|
48
34
|
"glob": "^13.0.0",
|
|
49
35
|
"prompts": "^2.3.2",
|
|
50
36
|
"resolve-from": "^5.0.0",
|
|
51
37
|
"semver": "7.5.4",
|
|
52
38
|
"terminal-link": "^2.1.1",
|
|
53
|
-
"xcparse": "^0.0.3"
|
|
39
|
+
"xcparse": "^0.0.3",
|
|
40
|
+
"@expo/config": "56.0.8",
|
|
41
|
+
"expo-module-scripts": "56.0.2",
|
|
42
|
+
"@expo/config-plugins": "56.0.7",
|
|
43
|
+
"@expo/package-manager": "1.12.0"
|
|
54
44
|
},
|
|
55
45
|
"publishConfig": {
|
|
56
46
|
"access": "public"
|
|
57
47
|
},
|
|
58
|
-
"gitHead": "
|
|
59
|
-
|
|
48
|
+
"gitHead": "c4c9867a0bcbb188e55ecaec4998e38d33108a5d",
|
|
49
|
+
"scripts": {
|
|
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
|
+
}
|