create-expo-module 2.1.3 → 2.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/build/types.d.ts CHANGED
@@ -9,6 +9,13 @@ export type CommandOptions = {
9
9
  withChangelog: boolean;
10
10
  example: boolean;
11
11
  local: boolean;
12
+ name?: string;
13
+ description?: string;
14
+ package?: string;
15
+ authorName?: string;
16
+ authorEmail?: string;
17
+ authorUrl?: string;
18
+ repo?: string;
12
19
  };
13
20
  /**
14
21
  * Represents an object that is passed to `ejs` when rendering the template.
@@ -1,9 +1,5 @@
1
- type DownloadAndExtractTarballOptions = {
2
- /** The publicly accessible URL to download the tarball from */
3
- url: string;
4
- /** The local folder to extract to */
1
+ /** Extract a local tarball file to a directory */
2
+ export declare function extractLocalTarball({ filePath, dir }: {
3
+ filePath: string;
5
4
  dir: string;
6
- };
7
- /** Download and extract tarballs directly from a publicly accessible URL */
8
- export declare function downloadAndExtractTarball({ url, dir }: DownloadAndExtractTarballOptions): Promise<void>;
9
- export {};
5
+ }): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo-module",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "The script to create the Expo module",
5
5
  "keywords": [
6
6
  "expo",
@@ -37,6 +37,8 @@
37
37
  "clean": "expo-module clean",
38
38
  "lint": "expo-module lint",
39
39
  "typecheck": "expo-module typecheck",
40
+ "test": "expo-module test",
41
+ "test:e2e": "expo-module test --config e2e/jest.config.js --runInBand",
40
42
  "watch": "yarn run build --watch"
41
43
  },
42
44
  "devDependencies": {
@@ -59,5 +61,5 @@
59
61
  "tar": "^7.5.2",
60
62
  "validate-npm-package-name": "^6.0.2"
61
63
  },
62
- "gitHead": "436ffb4355d5207f4a03fbc3568cd33424a40f3e"
64
+ "gitHead": "22e2ad4afba05b91f833f8cf07a36637748a1f70"
63
65
  }