install-expo-modules 0.5.1 → 0.6.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.
@@ -0,0 +1,10 @@
1
+ import { ConfigPlugin } from '@expo/config-plugins';
2
+ import { PBXShellScriptBuildPhase } from 'xcparse';
3
+ export declare const withCliIntegration: ConfigPlugin;
4
+ export declare function updateAndroidGradleFile(contents: string): string;
5
+ export declare function updateBabelConfig(contents: string): string;
6
+ export declare function updateMetroConfig(contents: string): string;
7
+ export declare function updateVirtualMetroEntryAndroid(contents: string): string;
8
+ export declare function updateVirtualMetroEntryIos(contents: string): string;
9
+ export declare function updateIosXcodeProjectBuildPhase(section: PBXShellScriptBuildPhase): PBXShellScriptBuildPhase;
10
+ export declare function updateGitIgnore(contents: string): string;
@@ -3,6 +3,7 @@ export interface VersionInfo {
3
3
  iosDeploymentTarget: string;
4
4
  reactNativeVersionRange: string;
5
5
  androidAgpVersion?: string;
6
+ supportCliIntegration?: boolean;
6
7
  }
7
8
  export declare const ExpoVersionMappings: VersionInfo[];
8
9
  export declare function getDefaultSdkVersion(projectRoot: string): VersionInfo;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Prints a link for given URL, using text if provided, otherwise text is just the URL.
3
+ * Format links as dim (unless disabled) and with an underline.
4
+ *
5
+ * @example https://expo.dev
6
+ */
7
+ export declare function link(url: string, { text, dim }?: {
8
+ text?: string;
9
+ dim?: boolean;
10
+ }): string;
11
+ /**
12
+ * Provide a consistent "Learn more" link experience.
13
+ * Format links as dim (unless disabled) with an underline.
14
+ *
15
+ * @example [Learn more](https://expo.dev)
16
+ * @example Learn more: https://expo.dev
17
+ */
18
+ export declare function learnMore(url: string, { learnMoreMessage: maybeLearnMoreMessage, dim, }?: {
19
+ learnMoreMessage?: string;
20
+ dim?: boolean;
21
+ }): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "install-expo-modules",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Tools to install expo-modules for existing react-native projects",
5
5
  "main": "build",
6
6
  "scripts": {
@@ -38,8 +38,8 @@
38
38
  "!*/__tests__/*"
39
39
  ],
40
40
  "dependencies": {
41
- "@expo/config": "6.0.24",
42
- "@expo/config-plugins": "4.1.5",
41
+ "@expo/config": "~8.0.0",
42
+ "@expo/config-plugins": "~6.0.0",
43
43
  "@expo/package-manager": "0.0.56",
44
44
  "chalk": "^4.1.2",
45
45
  "commander": "2.20.0",
@@ -48,6 +48,7 @@
48
48
  "prompts": "^2.3.2",
49
49
  "resolve-from": "^5.0.0",
50
50
  "semver": "7.3.2",
51
+ "terminal-link": "^2.1.1",
51
52
  "xcparse": "^0.0.3"
52
53
  },
53
54
  "devDependencies": {