create-expo-module 0.5.7 → 0.5.8

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,4 +1,4 @@
1
- export declare type PackageManagerName = 'npm' | 'pnpm' | 'yarn';
1
+ export type PackageManagerName = 'npm' | 'pnpm' | 'yarn';
2
2
  /** Determine which package manager to use for installing dependencies based on how the process was started. */
3
3
  export declare function resolvePackageManager(): PackageManagerName;
4
4
  export declare function formatRunCommand(manager: PackageManagerName, cmd: string): string;
package/build/types.d.ts CHANGED
@@ -2,7 +2,7 @@ import { PromptObject } from 'prompts';
2
2
  /**
3
3
  * Possible command options.
4
4
  */
5
- export declare type CommandOptions = {
5
+ export type CommandOptions = {
6
6
  target: string;
7
7
  source?: string;
8
8
  withReadme: boolean;
@@ -12,7 +12,7 @@ export declare type CommandOptions = {
12
12
  /**
13
13
  * Represents an object that is passed to `ejs` when rendering the template.
14
14
  */
15
- export declare type SubstitutionData = {
15
+ export type SubstitutionData = {
16
16
  project: {
17
17
  slug: string;
18
18
  name: string;
@@ -26,8 +26,8 @@ export declare type SubstitutionData = {
26
26
  license: string;
27
27
  repo: string;
28
28
  };
29
- export declare type CustomPromptObject = PromptObject & {
29
+ export type CustomPromptObject = PromptObject & {
30
30
  name: string;
31
31
  resolvedValue?: string | null;
32
32
  };
33
- export declare type Answers = Record<string, string>;
33
+ export type Answers = Record<string, string>;
package/build/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import ora from 'ora';
2
- export declare type StepOptions = ora.Options;
2
+ export type StepOptions = ora.Options;
3
3
  export declare function newStep<Result>(title: string, action: (step: ora.Ora) => Promise<Result> | Result, options?: StepOptions): Promise<Result>;
4
4
  /**
5
5
  * Finds user's name by reading it from the git config.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo-module",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "The script to create the Expo module",
5
5
  "main": "build/create-expo-module.js",
6
6
  "types": "build/create-expo-module.d.ts",
@@ -53,5 +53,5 @@
53
53
  "@types/prompts": "^2.0.14",
54
54
  "expo-module-scripts": "^3.0.0"
55
55
  },
56
- "gitHead": "caf250e77e77fd1d4e03d10f31f5b10857654e70"
56
+ "gitHead": "ba80e8181b79d06e00a245653727f4eaeb80420e"
57
57
  }