@expo/repack-app 0.2.1 → 0.2.3
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/dist/index.d.ts +13 -2
- package/dist/index.js +13 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,16 @@ export declare interface AndroidSigningOptions {
|
|
|
33
33
|
keyPassword?: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
export declare interface BunyanLikeLogger {
|
|
40
|
+
debug(message: string): void;
|
|
41
|
+
info(message: string): void;
|
|
42
|
+
warn(message: string): void;
|
|
43
|
+
error(message: string): void;
|
|
44
|
+
}
|
|
45
|
+
|
|
36
46
|
/**
|
|
37
47
|
* The logger using [`console` API](https://nodejs.org/api/console.html).
|
|
38
48
|
* @public
|
|
@@ -96,7 +106,7 @@ export declare interface Logger {
|
|
|
96
106
|
export declare interface NormalizedOptions extends Options {
|
|
97
107
|
workingDirectory: NonNullable<Options['workingDirectory']>;
|
|
98
108
|
outputPath: NonNullable<Options['outputPath']>;
|
|
99
|
-
logger:
|
|
109
|
+
logger: Logger;
|
|
100
110
|
spawnAsync: NonNullable<Options['spawnAsync']>;
|
|
101
111
|
}
|
|
102
112
|
|
|
@@ -160,8 +170,9 @@ export declare interface Options {
|
|
|
160
170
|
/**
|
|
161
171
|
* Customize the logger instance.
|
|
162
172
|
* @defaultValue Logger instance of `ConsoleLogger`
|
|
173
|
+
* @internal
|
|
163
174
|
*/
|
|
164
|
-
logger?: Logger;
|
|
175
|
+
logger?: Logger | BunyanLikeLogger;
|
|
165
176
|
/**
|
|
166
177
|
* Customize the spawn process function.
|
|
167
178
|
* @defaultValue Use `@expo/spawn-async` to spawn the process.
|