create-expo-nightly 0.0.8 → 0.0.9

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Clone the expo/expo repository and install dependencies.
3
3
  */
4
- export declare function setupExpoRepoAsync(expoRepoPath: string, nightlyVersion: string): Promise<void>;
4
+ export declare function setupExpoRepoAsync(projectRoot: string, useExpoRepoPath: string | undefined, nightlyVersion: string): Promise<string>;
5
5
  /**
6
6
  * Pack the expo-template-bare-minimum template into a tarball.
7
7
  */
@@ -1,17 +1,12 @@
1
1
  export declare const REACT_NATIVE_TRANSITIVE_DEPENDENCIES: string[];
2
2
  interface Package {
3
3
  name: string;
4
- version: string;
5
4
  path: string;
6
5
  }
7
6
  /**
8
- * Register linkable package in the expo repo for bun linking.
7
+ * Add given workspace packages to the project.
9
8
  */
10
- export declare function registerPackageLinkingAsync(expoRepoPath: string, pkg: Package): Promise<void>;
11
- /**
12
- * Add given linkable packages to the project.
13
- */
14
- export declare function addLinkablePackagesToAppAsync(projectRoot: string, packages: Package[]): Promise<void>;
9
+ export declare function addWorkspacePackagesToAppAsync(projectRoot: string, packages: Package[]): Promise<void>;
15
10
  /**
16
11
  * Cleanup and reinstall all packages in the given project.
17
12
  */
@@ -3,12 +3,18 @@ export interface ProjectProperties {
3
3
  appId: string;
4
4
  /** Enable the New Architecture mode. */
5
5
  newArchEnabled: boolean;
6
+ /** react-native nightly version */
7
+ nightlyVersion: string;
6
8
  /** The template to use when creating the project. @default "blank-typescript" */
7
9
  template?: string;
10
+ /** The template version on npm. @default "canary" */
11
+ templateVersion?: string;
12
+ /** Whether to use local expo/expo repository rather than clone a new one */
13
+ useExpoRepoPath: string | undefined;
8
14
  }
9
15
  /**
10
16
  * Create a new Expo app at the given path.
11
17
  */
12
- export declare function createExpoApp(projectRoot: string, expoRepoPath: string, props: ProjectProperties): Promise<void>;
18
+ export declare function createExpoApp(projectRoot: string, props: ProjectProperties): Promise<string>;
13
19
  export declare function prebuildAppAsync(projectRoot: string, templateTarballPath: string): Promise<void>;
14
20
  export declare function installCocoaPodsAsync(projectRoot: string): Promise<void>;
package/build/index.d.ts CHANGED
@@ -1 +1 @@
1
- import './Preclude.fx';
1
+ import './Preclude.fx.js';