@nx/expo 16.0.0 → 16.0.2

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/README.md CHANGED
@@ -3,12 +3,12 @@
3
3
  <div style="text-align: center;">
4
4
 
5
5
  [![CircleCI](https://circleci.com/gh/nrwl/nx.svg?style=svg)](https://circleci.com/gh/nrwl/nx)
6
- [![License](https://img.shields.io/npm/l/@nrwl/workspace.svg?style=flat-square)]()
7
- [![NPM Version](https://badge.fury.io/js/%40nrwl%2Fworkspace.svg)](https://www.npmjs.com/@nrwl/workspace)
6
+ [![License](https://img.shields.io/npm/l/@nx/workspace.svg?style=flat-square)]()
7
+ [![NPM Version](https://badge.fury.io/js/%40nrwl%2Fworkspace.svg)](https://www.npmjs.com/@nx/workspace)
8
8
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
9
9
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
10
10
  [![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11
- [![Join us @nrwl/community on slack](https://img.shields.io/badge/slack-%40nrwl%2Fcommunity-brightgreen)](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzU5MTE4OTQwOTk0LTgxY2E0ZWYzMWE0YzA5ZDA2MWM1NDVhNmI2ZWMyYmZhNWJiODk3MjkxZjY3MzU5ZjRmM2NmNWU1OTgyZmE4Mzc)
11
+ [![Join us @nx/community on slack](https://img.shields.io/badge/slack-%40nrwl%2Fcommunity-brightgreen)](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzU5MTE4OTQwOTk0LTgxY2E0ZWYzMWE0YzA5ZDA2MWM1NDVhNmI2ZWMyYmZhNWJiODk3MjkxZjY3MzU5ZjRmM2NmNWU1OTgyZmE4Mzc)
12
12
 
13
13
  </div>
14
14
 
@@ -9,7 +9,7 @@ The `build-list` command allows to check the details of your Expo Application Se
9
9
  "targets": {
10
10
  //...
11
11
  "build-list": {
12
- "executor": "@nrwl/expo:build-list",
12
+ "executor": "@nx/expo:build-list",
13
13
  "options": {}
14
14
  }
15
15
  //...
@@ -29,7 +29,7 @@ The `platform` option allows you to check build status of different platform (e.
29
29
 
30
30
  ```json
31
31
  "build-list": {
32
- "executor": "@nrwl/expo:build-list",
32
+ "executor": "@nx/expo:build-list",
33
33
  "options": {
34
34
  "platform": "ios"
35
35
  }
@@ -43,7 +43,7 @@ The `interactive` option allows you to specify whether to use interactive mode:
43
43
 
44
44
  ```json
45
45
  "build-list": {
46
- "executor": "@nrwl/expo:build-list",
46
+ "executor": "@nx/expo:build-list",
47
47
  "options": {
48
48
  "interactive": true
49
49
  }
@@ -57,7 +57,7 @@ The `json` option allows you to print the output in JSON format:
57
57
 
58
58
  ```json
59
59
  "build-list": {
60
- "executor": "@nrwl/expo:build-list",
60
+ "executor": "@nx/expo:build-list",
61
61
  "options": {
62
62
  "interactive": false,
63
63
  "json": true
@@ -9,7 +9,7 @@ The `prebuild` command generates native code before a native app can compile.
9
9
  "targets": {
10
10
  //...
11
11
  "prebuild": {
12
- "executor": "@nrwl/expo:prebuild",
12
+ "executor": "@nx/expo:prebuild",
13
13
  "options": {}
14
14
  }
15
15
  //...
@@ -29,7 +29,7 @@ The `platform` option allows you to specify the platform to generate native code
29
29
 
30
30
  ```json
31
31
  "prebuild": {
32
- "executor": "@nrwl/expo:prebuild",
32
+ "executor": "@nx/expo:prebuild",
33
33
  "options": {
34
34
  "platform": "android"
35
35
  }
@@ -43,7 +43,7 @@ The `clean` option allows you to delete the native folders and regenerate them b
43
43
 
44
44
  ```json
45
45
  "prebuild": {
46
- "executor": "@nrwl/expo:prebuild",
46
+ "executor": "@nx/expo:prebuild",
47
47
  "options": {
48
48
  "clean": true
49
49
  }
@@ -57,7 +57,7 @@ The `install` option allows you to install NPM Packages and CocoaPods.
57
57
 
58
58
  ```json
59
59
  "prebuild": {
60
- "executor": "@nrwl/expo:prebuild",
60
+ "executor": "@nx/expo:prebuild",
61
61
  "options": {
62
62
  "install": true
63
63
  }
@@ -9,13 +9,13 @@ The `run` command allows you to compile your app locally.
9
9
  "targets": {
10
10
  //...
11
11
  "run-ios": {
12
- "executor": "@nrwl/expo:run",
12
+ "executor": "@nx/expo:run",
13
13
  "options": {
14
14
  "platform": "ios"
15
15
  }
16
16
  },
17
17
  "run-android": {
18
- "executor": "@nrwl/expo:run",
18
+ "executor": "@nx/expo:run",
19
19
  "options": {
20
20
  "platform": "android"
21
21
  }
@@ -38,7 +38,7 @@ The `variant` option allows you to specify the compile Android app with variants
38
38
 
39
39
  ```json
40
40
  "run-android": {
41
- "executor": "@nrwl/expo:run",
41
+ "executor": "@nx/expo:run",
42
42
  "options": {
43
43
  "platform": "android",
44
44
  "variant": "release"
@@ -53,7 +53,7 @@ The `xcodeConfiguration` option allows you to specify Xcode configuration to use
53
53
 
54
54
  ```json
55
55
  "run-ios": {
56
- "executor": "@nrwl/expo:run",
56
+ "executor": "@nx/expo:run",
57
57
  "options": {
58
58
  "platform": "ios",
59
59
  "xcodeConfiguration": "Release"
@@ -70,14 +70,14 @@ To see all your Android emulators, run: `emulator -list-avds`.
70
70
 
71
71
  ```json
72
72
  "run-ios": {
73
- "executor": "@nrwl/expo:run",
73
+ "executor": "@nx/expo:run",
74
74
  "options": {
75
75
  "platform": "ios",
76
76
  "device": "iPhone 14"
77
77
  }
78
78
  },
79
79
  "run-android": {
80
- "executor": "@nrwl/expo:run",
80
+ "executor": "@nx/expo:run",
81
81
  "options": {
82
82
  "platform": "android",
83
83
  "device": "Pixel_XL_API_Tiramisu"
@@ -7,7 +7,7 @@
7
7
  "targets": {
8
8
  //...
9
9
  "start": {
10
- "executor": "@nrwl/expo:start",
10
+ "executor": "@nx/expo:start",
11
11
  "options": {
12
12
  "port": 8081
13
13
  }
@@ -31,7 +31,7 @@ Opens your app in Expo Go in a currently running iOS simulator on your computer:
31
31
 
32
32
  ```json
33
33
  "start": {
34
- "executor": "@nrwl/expo:start",
34
+ "executor": "@nx/expo:start",
35
35
  "options": {
36
36
  "port": 8081,
37
37
  "ios": true
@@ -43,7 +43,7 @@ Opens your app in Expo Go on a connected Android device
43
43
 
44
44
  ```json
45
45
  "start": {
46
- "executor": "@nrwl/expo:start",
46
+ "executor": "@nx/expo:start",
47
47
  "options": {
48
48
  "port": 8081,
49
49
  "android": true
@@ -55,7 +55,7 @@ Opens your app in a web browser:
55
55
 
56
56
  ```json
57
57
  "start": {
58
- "executor": "@nrwl/expo:start",
58
+ "executor": "@nx/expo:start",
59
59
  "options": {
60
60
  "port": 8081,
61
61
  "web": true
@@ -69,7 +69,7 @@ The `host` option allows you to specify the type of host to use. `lan` uses the
69
69
 
70
70
  ```json
71
71
  "start": {
72
- "executor": "@nrwl/expo:start",
72
+ "executor": "@nx/expo:start",
73
73
  "options": {
74
74
  "port": 8081,
75
75
  "host": "localhost"
@@ -84,7 +84,7 @@ The `clear` option allows you to remove Metro bundler cache.
84
84
 
85
85
  ```json
86
86
  "start": {
87
- "executor": "@nrwl/expo:start",
87
+ "executor": "@nx/expo:start",
88
88
  "options": {
89
89
  "port": 8081,
90
90
  "clear": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/expo",
3
- "version": "16.0.0",
3
+ "version": "16.0.2",
4
4
  "private": false,
5
5
  "description": "The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.",
6
6
  "keywords": [
@@ -26,14 +26,14 @@
26
26
  "main": "./index",
27
27
  "types": "index.d.ts",
28
28
  "dependencies": {
29
- "@nrwl/expo": "16.0.0",
30
- "@nx/detox": "16.0.0",
31
- "@nx/devkit": "16.0.0",
32
- "@nx/jest": "16.0.0",
33
- "@nx/js": "16.0.0",
34
- "@nx/linter": "16.0.0",
35
- "@nx/react": "16.0.0",
36
- "@nx/webpack": "16.0.0",
29
+ "@nrwl/expo": "16.0.2",
30
+ "@nx/detox": "16.0.2",
31
+ "@nx/devkit": "16.0.2",
32
+ "@nx/jest": "16.0.2",
33
+ "@nx/js": "16.0.2",
34
+ "@nx/linter": "16.0.2",
35
+ "@nx/react": "16.0.2",
36
+ "@nx/webpack": "16.0.2",
37
37
  "chalk": "^4.1.0",
38
38
  "enhanced-resolve": "^5.8.3",
39
39
  "fs-extra": "^11.1.0",
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "f537a4caebbf6f65f5f5733fb9ad9c9167d4b504"
58
+ "gitHead": "e48d7d1835c13b23df9515bea186722d47a15ba5"
59
59
  }
@@ -19,6 +19,7 @@ function withNxMetro(config, opts = {}) {
19
19
  watchFolders = watchFolders.concat([
20
20
  (0, path_1.join)(devkit_1.workspaceRoot, 'node_modules'),
21
21
  (0, path_1.join)(devkit_1.workspaceRoot, (0, devkit_1.workspaceLayout)().libsDir),
22
+ (0, path_1.join)(devkit_1.workspaceRoot, 'packages'),
22
23
  ]);
23
24
  if ((_a = opts.watchFolders) === null || _a === void 0 ? void 0 : _a.length) {
24
25
  watchFolders = watchFolders.concat(opts.watchFolders);
@@ -1 +1 @@
1
- {"version":3,"file":"with-nx-metro.js","sourceRoot":"","sources":["../../../../packages/expo/plugins/with-nx-metro.ts"],"names":[],"mappings":";;;AAAA,uCAA4D;AAC5D,+BAA4B;AAC5B,uCAAsC;AAEtC,qDAAqD;AASrD,SAAgB,WAAW,CAAC,MAAW,EAAE,OAAsB,EAAE;;IAC/D,MAAM,UAAU,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;IAC1D,IAAI,IAAI,CAAC,KAAK;QAAE,OAAO,CAAC,GAAG,CAAC,qBAAqB,GAAG,MAA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