create-expo-module 2.1.5 → 2.1.6-canary-20260414-e3dbafd

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,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ require('../build/index.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo-module",
3
- "version": "2.1.5",
3
+ "version": "2.1.6-canary-20260414-e3dbafd",
4
4
  "description": "The script to create the Expo module",
5
5
  "keywords": [
6
6
  "expo",
@@ -21,7 +21,7 @@
21
21
  "url": "https://github.com/expo/expo/issues"
22
22
  },
23
23
  "author": "Expo",
24
- "bin": "build/index.js",
24
+ "bin": "bin/create-expo-module.js",
25
25
  "main": "build/index.js",
26
26
  "files": [
27
27
  "bin",
@@ -33,33 +33,37 @@
33
33
  "scripts": {
34
34
  "build": "ncc build ./src/index.ts -o build/",
35
35
  "build:prod": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register",
36
- "prepare": "expo-module clean && yarn run build:prod",
37
36
  "clean": "expo-module clean",
38
37
  "lint": "expo-module lint",
39
38
  "typecheck": "expo-module typecheck",
40
39
  "test": "expo-module test",
41
40
  "test:e2e": "expo-module test --config e2e/jest.config.js --runInBand",
42
- "watch": "yarn run build --watch"
41
+ "watch": "pnpm run build --watch",
42
+ "prepublishOnly": "pnpm run clean && pnpm run build:prod"
43
43
  },
44
44
  "devDependencies": {
45
- "@expo/json-file": "^10.0.13",
45
+ "@expo/json-file": "10.0.14-canary-20260414-e3dbafd",
46
46
  "@expo/rudder-sdk-node": "^1.1.1",
47
47
  "@expo/spawn-async": "^1.7.2",
48
48
  "@octokit/types": "^15.0.0",
49
+ "@types/cross-spawn": "^6.0.6",
49
50
  "@types/ejs": "^3.1.5",
51
+ "@types/getenv": "^1.0.0",
52
+ "@types/jest": "^29.2.1",
50
53
  "@types/prompts": "^2.4.9",
54
+ "@types/node": "^22.14.0",
55
+ "@types/validate-npm-package-name": "^4.0.2",
51
56
  "@vercel/ncc": "^0.38.4",
52
57
  "chalk": "^4.1.2",
53
58
  "commander": "^8.3.0",
54
59
  "cross-spawn": "^7.0.5",
55
60
  "debug": "^4.3.4",
56
61
  "ejs": "^3.1.10",
57
- "expo-module-scripts": "^55.0.2",
62
+ "expo-module-scripts": "workspace:*",
58
63
  "getenv": "^2.0.0",
59
64
  "ora": "^5.4.1",
60
65
  "prompts": "^2.4.2",
61
- "tar": "^7.5.2",
66
+ "tar": "^7.5.12",
62
67
  "validate-npm-package-name": "^6.0.2"
63
- },
64
- "gitHead": "20029879d2f953a428d70197fc7e25e4d791848a"
68
+ }
65
69
  }
@@ -1,18 +0,0 @@
1
- /**
2
- * List of known public Apple framework names.
3
- * Using one of these names for a module podspec will cause build conflicts on iOS.
4
- * @see https://developer.apple.com/documentation/technologies
5
- */
6
- export declare const APPLE_FRAMEWORKS: Set<string>;
7
- /**
8
- * Checks if the given name conflicts with an Apple framework.
9
- */
10
- export declare function isAppleFramework(name: string): boolean;
11
- /**
12
- * Returns a safe module name by prefixing with "Expo" if it conflicts with an Apple framework.
13
- * Returns the original name and whether it was renamed.
14
- */
15
- export declare function ensureSafeModuleName(name: string): {
16
- name: string;
17
- wasRenamed: boolean;
18
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { type PackageManagerName } from './packageManager';
2
- import type { SubstitutionData } from './types';
3
- /**
4
- * Initializes a new Expo project as an example app.
5
- */
6
- export declare function createExampleApp(data: SubstitutionData, targetDir: string, packageManager: PackageManagerName): Promise<void>;
package/build/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare const Debug: any;
2
- declare const boolish: any;