@nx/expo 22.6.0 → 22.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/expo",
3
- "version": "22.6.0",
3
+ "version": "22.6.1",
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": [
@@ -28,10 +28,10 @@
28
28
  "main": "./index.js",
29
29
  "types": "index.d.ts",
30
30
  "dependencies": {
31
- "@nx/devkit": "22.6.0",
32
- "@nx/eslint": "22.6.0",
33
- "@nx/js": "22.6.0",
34
- "@nx/react": "22.6.0",
31
+ "@nx/devkit": "22.6.1",
32
+ "@nx/eslint": "22.6.1",
33
+ "@nx/js": "22.6.1",
34
+ "@nx/react": "22.6.1",
35
35
  "enhanced-resolve": "^5.8.3",
36
36
  "picocolors": "^1.1.0",
37
37
  "semver": "^7.6.3",
@@ -43,11 +43,11 @@
43
43
  "metro-resolver": ">= 0.82.0"
44
44
  },
45
45
  "devDependencies": {
46
- "nx": "22.6.0"
46
+ "nx": "22.6.1"
47
47
  },
48
48
  "optionalDependencies": {
49
- "@nx/detox": "22.6.0",
50
- "@nx/rollup": "22.6.0"
49
+ "@nx/detox": "22.6.1",
50
+ "@nx/rollup": "22.6.1"
51
51
  },
52
52
  "executors": "./executors.json",
53
53
  "ng-update": {
@@ -1 +1 @@
1
- {"version":3,"file":"export.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/export/export.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAIhB,MAAM,YAAY,CAAC;AAKpB,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,wBAA+B,cAAc,CAC3C,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,eAAe,GACvB,cAAc,CAAC,gBAAgB,CAAC,CAclC;AAkCD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,oBAAoB,EAC7B,WAAW,EAAE,MAAM,SA4BpB"}
1
+ {"version":3,"file":"export.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/export/export.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAIhB,MAAM,YAAY,CAAC;AAKpB,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,wBAA+B,cAAc,CAC3C,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,eAAe,GACvB,cAAc,CAAC,gBAAgB,CAAC,CAclC;AAqCD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,oBAAoB,EAC7B,WAAW,EAAE,MAAM,SA4BpB"}
@@ -23,7 +23,10 @@ async function* exportExecutor(options, context) {
23
23
  }
24
24
  function exportAsync(workspaceRoot, projectRoot, options) {
25
25
  return new Promise((resolve, reject) => {
26
- childProcess = (0, child_process_1.fork)(require.resolve('@expo/cli/build/bin/cli'), [`export`, ...createExportOptions(options, projectRoot)], { cwd: (0, path_1.resolve)(workspaceRoot, projectRoot), env: process.env });
26
+ childProcess = (0, child_process_1.fork)(require.resolve('@expo/cli/build/bin/cli'), [`export`, ...createExportOptions(options, projectRoot)], {
27
+ cwd: (0, path_1.resolve)(workspaceRoot, projectRoot),
28
+ env: process.env,
29
+ });
27
30
  // Ensure the child process is killed when the parent exits
28
31
  process.on('exit', () => childProcess.kill());
29
32
  process.on('SIGTERM', () => childProcess.kill());
@@ -1 +1 @@
1
- {"version":3,"file":"prebuild.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/prebuild/prebuild.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAwB,MAAM,YAAY,CAAC;AAMnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,wBAA+B,gBAAgB,CAC7C,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,eAAe,GACvB,cAAc,CAAC,kBAAkB,CAAC,CAyBpC;AAED,wBAAgB,aAAa,CAC3B,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,MAAM,CAAC,CAwBjB"}
1
+ {"version":3,"file":"prebuild.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/prebuild/prebuild.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAwB,MAAM,YAAY,CAAC;AAMnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,wBAA+B,gBAAgB,CAC7C,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,eAAe,GACvB,cAAc,CAAC,kBAAkB,CAAC,CAyBpC;AAED,wBAAgB,aAAa,CAC3B,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,MAAM,CAAC,CA2BjB"}
@@ -31,7 +31,10 @@ async function* prebuildExecutor(options, context) {
31
31
  }
32
32
  function prebuildAsync(workspaceRoot, projectRoot, options) {
33
33
  return new Promise((resolve, reject) => {
34
- childProcess = (0, child_process_1.fork)(require.resolve('@expo/cli/build/bin/cli'), ['prebuild', ...createPrebuildOptions(options), '--no-install'], { cwd: (0, path_1.join)(workspaceRoot, projectRoot), env: process.env });
34
+ childProcess = (0, child_process_1.fork)(require.resolve('@expo/cli/build/bin/cli'), ['prebuild', ...createPrebuildOptions(options), '--no-install'], {
35
+ cwd: (0, path_1.join)(workspaceRoot, projectRoot),
36
+ env: process.env,
37
+ });
35
38
  // Ensure the child process is killed when the parent exits
36
39
  process.on('exit', () => childProcess.kill());
37
40
  process.on('SIGTERM', () => childProcess.kill());
@@ -25,7 +25,10 @@ async function* buildExecutor(options, context) {
25
25
  }
26
26
  function runCliUpdate(workspaceRoot, projectRoot, options) {
27
27
  return new Promise((resolve, reject) => {
28
- childProcess = (0, child_process_1.fork)((0, resolve_eas_1.resolveEas)(workspaceRoot), ['update', ...createUpdateOptions(options)], { cwd: (0, path_1.resolve)(workspaceRoot, projectRoot), env: process.env });
28
+ childProcess = (0, child_process_1.fork)((0, resolve_eas_1.resolveEas)(workspaceRoot), ['update', ...createUpdateOptions(options)], {
29
+ cwd: (0, path_1.resolve)(workspaceRoot, projectRoot),
30
+ env: process.env,
31
+ });
29
32
  // Ensure the child process is killed when the parent exits
30
33
  process.on('exit', () => childProcess.kill());
31
34
  process.on('SIGTERM', () => childProcess.kill());
@@ -52,13 +52,13 @@ function podInstall(iosDirectory, options = {
52
52
  (0, child_process_1.execSync)('touch .xcode.env', {
53
53
  cwd: iosDirectory,
54
54
  stdio: 'inherit',
55
- windowsHide: false,
55
+ windowsHide: true,
56
56
  });
57
57
  }
58
58
  (0, child_process_1.execSync)(`pod install ${options.repoUpdate ? '--repo-update' : ''} ${options.deployment ? '--deployment' : ''}`, {
59
59
  cwd: iosDirectory,
60
60
  stdio: 'inherit',
61
- windowsHide: false,
61
+ windowsHide: true,
62
62
  });
63
63
  }
64
64
  catch (e) {
@@ -4,21 +4,21 @@ exports.resolveEas = resolveEas;
4
4
  const child_process_1 = require("child_process");
5
5
  function resolveEas(workspaceRoot) {
6
6
  try {
7
- (0, child_process_1.execSync)('eas --version');
7
+ (0, child_process_1.execSync)('eas --version', { windowsHide: true });
8
8
  }
9
9
  catch {
10
10
  throw new Error('EAS is not installed. Please run `npm install --global eas-cli` or `yarn global add eas-cli`.');
11
11
  }
12
12
  let npmGlobalPath, yarnGlobalPath;
13
13
  try {
14
- npmGlobalPath = (0, child_process_1.execSync)('npm root -g', { windowsHide: false })
14
+ npmGlobalPath = (0, child_process_1.execSync)('npm root -g', { windowsHide: true })
15
15
  ?.toString()
16
16
  ?.trim()
17
17
  ?.replace('\u001b[2K\u001b[1G', ''); // strip out ansi codes
18
18
  }
19
19
  catch { }
20
20
  try {
21
- yarnGlobalPath = (0, child_process_1.execSync)('yarn global dir', { windowsHide: false })
21
+ yarnGlobalPath = (0, child_process_1.execSync)('yarn global dir', { windowsHide: true })
22
22
  ?.toString()
23
23
  ?.trim()
24
24
  ?.replace('\u001b[2K\u001b[1G', ''); // strip out ansi codes