install-expo-modules 0.6.4 → 0.8.0

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,6 +1,6 @@
1
1
  import { ConfigPlugin } from '@expo/config-plugins';
2
2
  import { XCParseXcodeProject } from './withXCParseXcodeProject';
3
- declare type IosDeploymentTargetConfigPlugin = ConfigPlugin<{
3
+ type IosDeploymentTargetConfigPlugin = ConfigPlugin<{
4
4
  deploymentTarget: string;
5
5
  }>;
6
6
  export declare const withIosDeploymentTarget: IosDeploymentTargetConfigPlugin;
@@ -1,6 +1,6 @@
1
1
  import { ConfigPlugin, Mod } from '@expo/config-plugins';
2
2
  import type { BuildSettings, XcodeProject } from 'xcparse';
3
- export declare type XCParseXcodeProject = Partial<XcodeProject>;
3
+ export type XCParseXcodeProject = Partial<XcodeProject>;
4
4
  export interface BuildSettingsExtended extends BuildSettings {
5
5
  SWIFT_OBJC_BRIDGING_HEADER?: string;
6
6
  }
@@ -1 +1,5 @@
1
- export declare function normalizeProjectRoot(projectRoot?: string): string;
1
+ export declare function normalizeProjectRootAsync(projectRoot?: string): Promise<{
2
+ projectRoot: string;
3
+ platformAndroid: boolean;
4
+ platformIos: boolean;
5
+ }>;
package/package.json CHANGED
@@ -1,24 +1,26 @@
1
1
  {
2
2
  "name": "install-expo-modules",
3
- "version": "0.6.4",
3
+ "version": "0.8.0",
4
4
  "description": "Tools to install expo-modules for existing react-native projects",
5
5
  "main": "build",
6
6
  "scripts": {
7
- "watch": "tsc --watch --preserveWatchOutput",
8
- "watch:ncc": "yarn run build -w",
9
7
  "build": "ncc build ./src/index.ts -o build/",
10
8
  "build:prod": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register",
11
- "prepare": "yarn run clean && yarn run build:prod",
12
- "clean": "rimraf build ./tsconfig.tsbuildinfo",
13
- "lint": "eslint .",
14
- "test": "jest"
15
- },
16
- "bin": {
17
- "install-expo-modules": "./build/index.js"
9
+ "clean": "expo-module clean",
10
+ "lint": "expo-module lint",
11
+ "prepare": "expo-module clean && yarn run build:prod",
12
+ "prepublishOnly": "expo-module prepublishOnly",
13
+ "test": "expo-module test",
14
+ "typecheck": "expo-module typecheck",
15
+ "watch": "yarn run build --watch"
18
16
  },
17
+ "bin": "./build/index.js",
18
+ "files": [
19
+ "build"
20
+ ],
19
21
  "repository": {
20
22
  "type": "git",
21
- "url": "https://github.com/expo/expo-cli.git",
23
+ "url": "https://github.com/expo/expo.git",
22
24
  "directory": "packages/install-expo-modules"
23
25
  },
24
26
  "keywords": [
@@ -30,17 +32,13 @@
30
32
  ],
31
33
  "license": "MIT",
32
34
  "bugs": {
33
- "url": "https://github.com/expo/expo-cli/issues"
35
+ "url": "https://github.com/expo/expo/issues"
34
36
  },
35
- "homepage": "https://github.com/expo/expo-cli/tree/main/packages/install-expo-modules#readme",
36
- "files": [
37
- "build",
38
- "!*/__tests__/*"
39
- ],
37
+ "homepage": "https://github.com/expo/expo/tree/main/packages/install-expo-modules#readme",
40
38
  "dependencies": {
41
- "@expo/config": "~8.0.0",
42
- "@expo/config-plugins": "~6.0.0",
43
- "@expo/package-manager": "0.0.56",
39
+ "@expo/config": "^8.4.0",
40
+ "@expo/config-plugins": "^7.7.0",
41
+ "@expo/package-manager": "^1.0.3",
44
42
  "chalk": "^4.1.2",
45
43
  "commander": "2.20.0",
46
44
  "find-up": "^5.0.0",
@@ -53,9 +51,11 @@
53
51
  },
54
52
  "devDependencies": {
55
53
  "@types/prompts": "^2.0.6",
56
- "@types/semver": "^6.0.0"
54
+ "@types/semver": "^6.0.0",
55
+ "expo-module-scripts": "^3.3.0"
57
56
  },
58
57
  "publishConfig": {
59
58
  "access": "public"
60
- }
59
+ },
60
+ "gitHead": "0bf2f7c0d9c9f14e2132358a9502c2b08f7dbc36"
61
61
  }