create-expo-nightly 0.0.1

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,8 @@
1
+ /**
2
+ * Clone the expo/expo repository and install dependencies.
3
+ */
4
+ export declare function setupExpoRepoAsync(expoRepoPath: string, nightlyVersion: string): Promise<void>;
5
+ /**
6
+ * Pack the expo-template-bare-minimum template into a tarball.
7
+ */
8
+ export declare function packExpoBareTemplateTarballAsync(expoRepoPath: string, outputRoot: string): Promise<string>;
package/build/Npm.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Get the version of a package's dist-tag from npm.
3
+ */
4
+ export declare function getNpmVersionAsync(packageName: string, distTag: string): Promise<string>;
@@ -0,0 +1,27 @@
1
+ export declare const REACT_NATIVE_TRANSITIVE_DEPENDENCIES: string[];
2
+ interface Package {
3
+ name: string;
4
+ version: string;
5
+ path: string;
6
+ }
7
+ /**
8
+ * Register linkable package in the expo repo for bun linking.
9
+ */
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>;
15
+ /**
16
+ * Cleanup and reinstall all packages in the given project.
17
+ */
18
+ export declare function reinstallPackagesAsync(projectRoot: string): Promise<void>;
19
+ /**
20
+ * Get a list of all expo packages in the expo repo.
21
+ */
22
+ export declare function getExpoPackagesAsync(expoRepoPath: string): Promise<Package[]>;
23
+ /**
24
+ * Get a list of all react-native transitive dependencies in the expo repo.
25
+ */
26
+ export declare function getReactNativeTransitivePackagesAsync(expoRepoPath: string): Promise<Package[]>;
27
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Run a command in the shell.
3
+ */
4
+ export declare function runAsync(command: string, args: string[], options?: {
5
+ cwd?: string;
6
+ verbose?: boolean;
7
+ }): Promise<import("zx").ProcessOutput>;
8
+ export declare function setDefaultVerbose(verbose: boolean): Promise<void>;
@@ -0,0 +1,13 @@
1
+ export interface ProjectProperties {
2
+ /** The Android applicationId and iOS bundleIdentifier. */
3
+ appId: string;
4
+ /** Enable the New Architecture mode. */
5
+ newArchEnabled: boolean;
6
+ /** The template to use when creating the project. @default "blank-typescript" */
7
+ template?: string;
8
+ }
9
+ /**
10
+ * Create a new Expo app at the given path.
11
+ */
12
+ export declare function createExpoApp(projectRoot: string, expoRepoPath: string, props: ProjectProperties): Promise<void>;
13
+ export declare function prebuildAppAsync(projectRoot: string, templateTarballPath: string): Promise<void>;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Check whether the current environment has the required tools available.
3
+ */
4
+ export declare function checkRequiredToolsAsync(tools: string[]): Promise<void>;
@@ -0,0 +1 @@
1
+ export {};