expo-watch 0.1.2 → 0.1.4
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/package.json +11 -4
- package/plugin/build/addBuildPhases.d.ts +13 -0
- package/plugin/build/addPbxGroup.d.ts +5 -0
- package/plugin/build/addProductFile.d.ts +5 -0
- package/plugin/build/addTargetDependency.d.ts +4 -0
- package/plugin/build/addToPbxNativeTargetSection.d.ts +24 -0
- package/plugin/build/addToPbxProjectSection.d.ts +4 -0
- package/plugin/build/addXCConfigurationList.d.ts +9 -0
- package/plugin/build/withWatchApp.d.ts +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-watch",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Watch companion app for iOS Expo app. ",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"prepublishOnly": "expo-module prepublishOnly",
|
|
14
14
|
"expo-module": "expo-module",
|
|
15
15
|
"open:ios": "xed example/ios",
|
|
16
|
-
"open:android": "open -a \"Android Studio\" example/android"
|
|
17
|
-
"publish": "npx np"
|
|
16
|
+
"open:android": "open -a \"Android Studio\" example/android"
|
|
18
17
|
},
|
|
19
18
|
"keywords": [
|
|
20
19
|
"react-native",
|
|
@@ -45,13 +44,21 @@
|
|
|
45
44
|
"app.plugin.js",
|
|
46
45
|
"expo-module.config.js",
|
|
47
46
|
"plugin/build/addBuildPhases.js",
|
|
47
|
+
"plugin/build/addBuildPhases.d.ts",
|
|
48
48
|
"plugin/build/addPbxGroup.js",
|
|
49
|
+
"plugin/build/addPbxGroup.d.ts",
|
|
49
50
|
"plugin/build/addProductFile.js",
|
|
51
|
+
"plugin/build/addProductFile.d.ts",
|
|
50
52
|
"plugin/build/addTargetDependency.js",
|
|
53
|
+
"plugin/build/addTargetDependency.d.ts",
|
|
51
54
|
"plugin/build/addToPbxNativeTargetSection.js",
|
|
55
|
+
"plugin/build/addToPbxNativeTargetSection.d.ts",
|
|
52
56
|
"plugin/build/addToPbxProjectSection.js",
|
|
57
|
+
"plugin/build/addToPbxProjectSection.d.ts",
|
|
53
58
|
"plugin/build/addXCConfigurationList.js",
|
|
54
|
-
"plugin/build/
|
|
59
|
+
"plugin/build/addXCConfigurationList.d.ts",
|
|
60
|
+
"plugin/build/withWatchApp.js",
|
|
61
|
+
"plugin/build/withWatchApp.d.ts"
|
|
55
62
|
],
|
|
56
63
|
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
|
|
57
64
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { XcodeProject } from '@expo/config-plugins';
|
|
2
|
+
export declare function addBuildPhases(xcodeProject: XcodeProject, { targetUuid, groupName, productFile, compileSources, copyBundleResources, }: {
|
|
3
|
+
targetUuid: string;
|
|
4
|
+
groupName: string;
|
|
5
|
+
productFile: {
|
|
6
|
+
uuid: string;
|
|
7
|
+
target: string;
|
|
8
|
+
basename: string;
|
|
9
|
+
group: string;
|
|
10
|
+
};
|
|
11
|
+
compileSources: string[];
|
|
12
|
+
copyBundleResources: string[];
|
|
13
|
+
}): void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { XcodeProject } from '@expo/config-plugins';
|
|
2
|
+
export declare function addToPbxNativeTargetSection(xcodeProject: XcodeProject, { targetName, targetUuid, productFile, xCConfigurationList, }: {
|
|
3
|
+
targetName: string;
|
|
4
|
+
targetUuid: string;
|
|
5
|
+
productFile: {
|
|
6
|
+
fileRef: string;
|
|
7
|
+
};
|
|
8
|
+
xCConfigurationList: {
|
|
9
|
+
uuid: string;
|
|
10
|
+
};
|
|
11
|
+
}): {
|
|
12
|
+
uuid: string;
|
|
13
|
+
pbxNativeTarget: {
|
|
14
|
+
isa: string;
|
|
15
|
+
buildConfigurationList: string;
|
|
16
|
+
buildPhases: never[];
|
|
17
|
+
buildRules: never[];
|
|
18
|
+
dependencies: never[];
|
|
19
|
+
name: string;
|
|
20
|
+
productName: string;
|
|
21
|
+
productReference: string;
|
|
22
|
+
productType: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { XcodeProject } from '@expo/config-plugins';
|
|
2
|
+
interface BuildSettigs {
|
|
3
|
+
[key: string]: string | number;
|
|
4
|
+
}
|
|
5
|
+
export declare function addXCConfigurationList(xcodeProject: XcodeProject, { targetName, buildSettings, }: {
|
|
6
|
+
targetName: string;
|
|
7
|
+
buildSettings: BuildSettigs;
|
|
8
|
+
}): any;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
declare const withWatchApp: ConfigPlugin<{
|
|
3
|
+
targetName?: string;
|
|
4
|
+
groupName?: string;
|
|
5
|
+
setVersionFromCompanionApp?: boolean;
|
|
6
|
+
buildSettings?: Record<string, string | number>;
|
|
7
|
+
files?: string[];
|
|
8
|
+
compileSources?: string[];
|
|
9
|
+
copyBundleResources?: string[];
|
|
10
|
+
}>;
|
|
11
|
+
export default withWatchApp;
|