@nx/expo 22.7.0-beta.1 → 22.7.0-beta.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/jest.config.cts CHANGED
@@ -1,8 +1,5 @@
1
1
  /* eslint-disable */
2
2
  module.exports = {
3
- transform: {
4
- '^.+\\.[tj]sx?$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
5
- },
6
3
  moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html', 'json'],
7
4
  globals: {},
8
5
  displayName: 'expo',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/expo",
3
- "version": "22.7.0-beta.1",
3
+ "version": "22.7.0-beta.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": [
@@ -28,10 +28,10 @@
28
28
  "main": "./index.js",
29
29
  "types": "index.d.ts",
30
30
  "dependencies": {
31
- "@nx/devkit": "22.7.0-beta.1",
32
- "@nx/eslint": "22.7.0-beta.1",
33
- "@nx/js": "22.7.0-beta.1",
34
- "@nx/react": "22.7.0-beta.1",
31
+ "@nx/devkit": "22.7.0-beta.2",
32
+ "@nx/eslint": "22.7.0-beta.2",
33
+ "@nx/js": "22.7.0-beta.2",
34
+ "@nx/react": "22.7.0-beta.2",
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.7.0-beta.1"
46
+ "nx": "22.7.0-beta.2"
47
47
  },
48
48
  "optionalDependencies": {
49
- "@nx/detox": "22.7.0-beta.1",
50
- "@nx/rollup": "22.7.0-beta.1"
49
+ "@nx/detox": "22.7.0-beta.2",
50
+ "@nx/rollup": "22.7.0-beta.2"
51
51
  },
52
52
  "executors": "./executors.json",
53
53
  "ng-update": {
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getResolveRequest = getResolveRequest;
4
+ const tslib_1 = require("tslib");
4
5
  const tsconfig_paths_1 = require("tsconfig-paths");
5
- const pc = require("picocolors");
6
+ const pc = tslib_1.__importStar(require("picocolors"));
6
7
  const enhanced_resolve_1 = require("enhanced-resolve");
7
8
  const path_1 = require("path");
8
- const fs = require("fs");
9
+ const fs = tslib_1.__importStar(require("fs"));
9
10
  const devkit_1 = require("@nx/devkit");
10
11
  // Cache for metro-resolver module
11
12
  let metroResolver = null;
@@ -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());
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = startExecutor;
4
- const pc = require("picocolors");
4
+ const tslib_1 = require("tslib");
5
+ const pc = tslib_1.__importStar(require("picocolors"));
5
6
  const devkit_1 = require("@nx/devkit");
6
7
  const internal_1 = require("@nx/devkit/internal");
7
8
  const child_process_1 = require("child_process");
@@ -3,8 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = syncDepsExecutor;
4
4
  exports.syncDeps = syncDeps;
5
5
  exports.displayNewlyAddedDepsMessage = displayNewlyAddedDepsMessage;
6
+ const tslib_1 = require("tslib");
6
7
  const path_1 = require("path");
7
- const pc = require("picocolors");
8
+ const pc = tslib_1.__importStar(require("picocolors"));
8
9
  const devkit_1 = require("@nx/devkit");
9
10
  const find_all_npm_dependencies_1 = require("../../utils/find-all-npm-dependencies");
10
11
  async function* syncDepsExecutor(options, context) {
@@ -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());
@@ -2,13 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.expoApplicationGenerator = expoApplicationGenerator;
4
4
  exports.expoApplicationGeneratorInternal = expoApplicationGeneratorInternal;
5
+ const tslib_1 = require("tslib");
5
6
  const devkit_1 = require("@nx/devkit");
6
7
  const js_1 = require("@nx/js");
7
8
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
8
9
  const add_linting_1 = require("../../utils/add-linting");
9
10
  const add_jest_1 = require("../../utils/jest/add-jest");
10
11
  const normalize_options_1 = require("./lib/normalize-options");
11
- const init_1 = require("../init/init");
12
+ const init_1 = tslib_1.__importDefault(require("../init/init"));
12
13
  const add_project_1 = require("./lib/add-project");
13
14
  const create_application_files_1 = require("./lib/create-application-files");
14
15
  const add_eas_scripts_1 = require("./lib/add-eas-scripts");
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.expoComponentGenerator = expoComponentGenerator;
4
- const ts = require("typescript");
4
+ const tslib_1 = require("tslib");
5
+ const ts = tslib_1.__importStar(require("typescript"));
5
6
  const devkit_1 = require("@nx/devkit");
6
7
  const normalize_options_1 = require("./lib/normalize-options");
7
8
  const add_import_1 = require("./lib/add-import");
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.addImport = addImport;
4
+ const tslib_1 = require("tslib");
4
5
  const js_1 = require("@nx/js");
5
- const ts = require("typescript");
6
+ const ts = tslib_1.__importStar(require("typescript"));
6
7
  const devkit_1 = require("@nx/devkit");
7
8
  function addImport(source, statement) {
8
9
  const allImports = (0, js_1.findNodes)(source, ts.SyntaxKind.ImportDeclaration);
@@ -2,9 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.expoLibraryGenerator = expoLibraryGenerator;
4
4
  exports.expoLibraryGeneratorInternal = expoLibraryGeneratorInternal;
5
+ const tslib_1 = require("tslib");
5
6
  const devkit_1 = require("@nx/devkit");
6
7
  const js_1 = require("@nx/js");
7
- const init_1 = require("../init/init");
8
+ const init_1 = tslib_1.__importDefault(require("../init/init"));
8
9
  const add_linting_1 = require("../../utils/add-linting");
9
10
  const add_jest_1 = require("../../utils/jest/add-jest");
10
11
  const normalize_options_1 = require("./lib/normalize-options");
@@ -1 +1 @@
1
- {"version":3,"file":"add-linting.d.ts","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/add-linting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAwB,MAAM,YAAY,CAAC;AACtE,OAAO,EAEL,iBAAiB,EAEjB,IAAI,EACL,MAAM,YAAY,CAAC;AAYpB,UAAU,gBAAgB;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,8BAyFrE"}
1
+ {"version":3,"file":"add-linting.d.ts","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/add-linting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAwB,MAAM,YAAY,CAAC;AACtE,OAAO,EAEL,iBAAiB,EAEjB,IAAI,EACL,MAAM,YAAY,CAAC;AAYpB,UAAU,gBAAgB;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,8BA0FrE"}
@@ -49,7 +49,7 @@ async function addLinting(host, options) {
49
49
  }
50
50
  if ((0, eslint_file_1.isEslintConfigSupported)(host)) {
51
51
  if ((0, flat_config_1.useFlatConfig)(host)) {
52
- (0, eslint_file_1.addPredefinedConfigToFlatLintConfig)(host, options.projectRoot, 'flat/react');
52
+ (0, eslint_file_1.addPredefinedConfigToFlatLintConfig)(host, options.projectRoot, 'flat/react', { checkBaseConfig: true });
53
53
  // Add an empty rules object to users know how to add/override rules
54
54
  (0, eslint_file_1.addOverrideToLintConfig)(host, options.projectRoot, {
55
55
  files: ['*.ts', '*.tsx', '*.js', '*.jsx'],
@@ -1 +1 @@
1
- {"version":3,"file":"ensure-dependencies.d.ts","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/ensure-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AAGpB,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,IAAI,EACV,cAAc,EAAE,MAAM,GAAG,MAAM,GAC9B,OAAO,CAAC,iBAAiB,CAAC,CAiC5B"}
1
+ {"version":3,"file":"ensure-dependencies.d.ts","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/ensure-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AAGpB,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,IAAI,EACV,cAAc,EAAE,MAAM,GAAG,MAAM,GAC9B,OAAO,CAAC,iBAAiB,CAAC,CAkC5B"}
@@ -16,6 +16,7 @@ async function ensureDependencies(host, unitTestRunner) {
16
16
  if (unitTestRunner === 'jest') {
17
17
  devDependencies['@testing-library/react-native'] =
18
18
  versions.testingLibraryReactNative;
19
+ devDependencies['react-test-renderer'] = versions.reactTestRenderer;
19
20
  devDependencies['jest-expo'] = versions.jestExpo;
20
21
  }
21
22
  return (0, devkit_1.addDependenciesToPackageJson)(host, {
@@ -40,16 +40,16 @@ module.exports = {
40
40
  moduleFileExtensions: ['ts', 'js', 'html', 'tsx', 'jsx'],
41
41
  setupFilesAfterEnv: ['<rootDir>/src/test-setup.${js ? 'js' : 'ts'}'],
42
42
  moduleNameMapper: {
43
- '\\\\.svg$': '@nx/expo/plugins/jest/svg-mock'
43
+ '[.]svg$': '@nx/expo/plugins/jest/svg-mock'
44
44
  },
45
45
  transform: {
46
- '\\\\.[jt]sx?$': [
46
+ '[.][jt]sx?$': [
47
47
  'babel-jest',
48
48
  {
49
49
  configFile: __dirname + '/.babelrc.js',
50
50
  },
51
51
  ],
52
- '^.+\\\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp|ttf|otf|m4v|mov|mp4|mpeg|mpg|webm|aac|aiff|caf|m4a|mp3|wav|html|pdf|obj)$': require.resolve(
52
+ '^.+[.](bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp|ttf|otf|m4v|mov|mp4|mpeg|mpg|webm|aac|aiff|caf|m4a|mp3|wav|html|pdf|obj)$': require.resolve(
53
53
  'jest-expo/src/preset/assetFileTransformer.js'
54
54
  ),
55
55
  },
@@ -2,11 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.runPodInstall = runPodInstall;
4
4
  exports.podInstall = podInstall;
5
+ const tslib_1 = require("tslib");
5
6
  const child_process_1 = require("child_process");
6
7
  const node_fs_1 = require("node:fs");
7
8
  const os_1 = require("os");
8
9
  const path_1 = require("path");
9
- const pc = require("picocolors");
10
+ const pc = tslib_1.__importStar(require("picocolors"));
10
11
  const devkit_1 = require("@nx/devkit");
11
12
  const podInstallErrorMessage = `
12
13
  Running ${pc.bold('pod install')} failed, see above.
@@ -52,13 +53,13 @@ function podInstall(iosDirectory, options = {
52
53
  (0, child_process_1.execSync)('touch .xcode.env', {
53
54
  cwd: iosDirectory,
54
55
  stdio: 'inherit',
55
- windowsHide: false,
56
+ windowsHide: true,
56
57
  });
57
58
  }
58
59
  (0, child_process_1.execSync)(`pod install ${options.repoUpdate ? '--repo-update' : ''} ${options.deployment ? '--deployment' : ''}`, {
59
60
  cwd: iosDirectory,
60
61
  stdio: 'inherit',
61
- windowsHide: false,
62
+ windowsHide: true,
62
63
  });
63
64
  }
64
65
  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
@@ -18,6 +18,7 @@ export type ExpoDependenciesVersions = {
18
18
  reactNativeSvgTransformer: string;
19
19
  reactNativeSvg: string;
20
20
  testingLibraryReactNative: string;
21
+ reactTestRenderer: string;
21
22
  babelRuntime: string;
22
23
  };
23
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"version-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/version-utils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AA4CnD,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IAEvB,yBAAyB,EAAE,MAAM,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,yBAAyB,EAAE,MAAM,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,oCAAoC,CACxD,IAAI,EAAE,IAAI,GACT,OAAO,CAAC,wBAAwB,CAAC,CAgDnC;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAS5D;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAS5D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAiBjE;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,SAAS,CAW5E;AAED;;GAEG;AACH,wBAAsB,gCAAgC,IAAI,OAAO,CAC/D,MAAM,GAAG,SAAS,CACnB,CAWA"}
1
+ {"version":3,"file":"version-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/version-utils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AA8CnD,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IAEvB,yBAAyB,EAAE,MAAM,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,yBAAyB,EAAE,MAAM,CAAC;IAClC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,oCAAoC,CACxD,IAAI,EAAE,IAAI,GACT,OAAO,CAAC,wBAAwB,CAAC,CAkDnC;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAS5D;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAS5D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAiBjE;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,SAAS,CAW5E;AAED;;GAEG;AACH,wBAAsB,gCAAgC,IAAI,OAAO,CAC/D,MAAM,GAAG,SAAS,CACnB,CAWA"}
@@ -37,6 +37,7 @@ async function getExpoDependenciesVersionsToInstall(tree) {
37
37
  reactNative: versions_1.reactNativeV53Version,
38
38
  metro: versions_1.metroV53Version,
39
39
  reactNativeWeb: versions_1.reactNativeWebV53Version,
40
+ reactTestRenderer: versions_1.reactTestRendererV53Version,
40
41
  ...sharedVersions,
41
42
  };
42
43
  }
@@ -57,6 +58,7 @@ async function getExpoDependenciesVersionsToInstall(tree) {
57
58
  reactNative: versions_1.reactNativeV54Version,
58
59
  metro: versions_1.metroV54Version,
59
60
  reactNativeWeb: versions_1.reactNativeWebV54Version,
61
+ reactTestRenderer: versions_1.reactTestRendererV54Version,
60
62
  ...sharedVersions,
61
63
  };
62
64
  }
@@ -14,6 +14,7 @@ export declare const typesReactV54Version = "^19.1.0";
14
14
  export declare const reactNativeV54Version = "0.81.5";
15
15
  export declare const metroV54Version = "~0.83.0";
16
16
  export declare const reactNativeWebV54Version = "~0.21.0";
17
+ export declare const reactTestRendererV54Version = "^19.1.0";
17
18
  export declare const expoV53Version = "~53.0.10";
18
19
  export declare const expoV53SplashScreenVersion = "~0.30.9";
19
20
  export declare const expoV53StatusBarVersion = "~2.2.3";
@@ -29,6 +30,7 @@ export declare const typesReactV53Version = "~19.0.10";
29
30
  export declare const reactNativeV53Version = "0.79.3";
30
31
  export declare const metroV53Version = "~0.82.4";
31
32
  export declare const reactNativeWebV53Version = "~0.20.0";
33
+ export declare const reactTestRendererV53Version = "^19.0.0";
32
34
  export declare const expoVersion = "~54.0.0";
33
35
  export declare const expoSplashScreenVersion = "~31.0.11";
34
36
  export declare const expoStatusBarVersion = "~3.0.8";
@@ -1 +1 @@
1
- {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../../../packages/expo/src/utils/versions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,KAAwC,CAAC;AAG/D,eAAO,MAAM,cAAc,YAAY,CAAC;AACxC,eAAO,MAAM,0BAA0B,aAAa,CAAC;AACrD,eAAO,MAAM,uBAAuB,WAAW,CAAC;AAChD,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAC/C,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAC5C,eAAO,MAAM,yBAAyB,YAAY,CAAC;AACnD,eAAO,MAAM,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gCAAgC,YAAY,CAAC;AAC1D,eAAO,MAAM,mBAAmB,YAAY,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.babelRuntimeVersion = exports.testingLibraryReactNativeVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactNativeWebVersion = exports.metroVersion = exports.reactNativeVersion = exports.typesReactVersion = exports.reactDomVersion = exports.reactVersion = exports.jestExpoVersion = exports.expoMetroRuntimeVersion = exports.expoMetroConfigVersion = exports.babelPresetExpoVersion = exports.expoCliVersion = exports.expoSystemUiVersion = exports.expoStatusBarVersion = exports.expoSplashScreenVersion = exports.expoVersion = exports.reactNativeWebV53Version = exports.metroV53Version = exports.reactNativeV53Version = exports.typesReactV53Version = exports.reactDomV53Version = exports.reactV53Version = exports.jestExpoV53Version = exports.expoV53MetroRuntimeVersion = exports.expoV53MetroConfigVersion = exports.babelPresetExpoV53Version = exports.expoV53CliVersion = exports.expoV53SystemUiVersion = exports.expoV53StatusBarVersion = exports.expoV53SplashScreenVersion = exports.expoV53Version = exports.reactNativeWebV54Version = exports.metroV54Version = exports.reactNativeV54Version = exports.typesReactV54Version = exports.reactDomV54Version = exports.reactV54Version = exports.jestExpoV54Version = exports.expoV54MetroRuntimeVersion = exports.expoV54MetroConfigVersion = exports.babelPresetExpoV54Version = exports.expoV54CliVersion = exports.expoV54SystemUiVersion = exports.expoV54StatusBarVersion = exports.expoV54SplashScreenVersion = exports.expoV54Version = exports.nxVersion = void 0;
3
+ exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactNativeWebVersion = exports.metroVersion = exports.reactNativeVersion = exports.typesReactVersion = exports.reactDomVersion = exports.reactVersion = exports.jestExpoVersion = exports.expoMetroRuntimeVersion = exports.expoMetroConfigVersion = exports.babelPresetExpoVersion = exports.expoCliVersion = exports.expoSystemUiVersion = exports.expoStatusBarVersion = exports.expoSplashScreenVersion = exports.expoVersion = exports.reactTestRendererV53Version = exports.reactNativeWebV53Version = exports.metroV53Version = exports.reactNativeV53Version = exports.typesReactV53Version = exports.reactDomV53Version = exports.reactV53Version = exports.jestExpoV53Version = exports.expoV53MetroRuntimeVersion = exports.expoV53MetroConfigVersion = exports.babelPresetExpoV53Version = exports.expoV53CliVersion = exports.expoV53SystemUiVersion = exports.expoV53StatusBarVersion = exports.expoV53SplashScreenVersion = exports.expoV53Version = exports.reactTestRendererV54Version = exports.reactNativeWebV54Version = exports.metroV54Version = exports.reactNativeV54Version = exports.typesReactV54Version = exports.reactDomV54Version = exports.reactV54Version = exports.jestExpoV54Version = exports.expoV54MetroRuntimeVersion = exports.expoV54MetroConfigVersion = exports.babelPresetExpoV54Version = exports.expoV54CliVersion = exports.expoV54SystemUiVersion = exports.expoV54StatusBarVersion = exports.expoV54SplashScreenVersion = exports.expoV54Version = exports.nxVersion = void 0;
4
+ exports.babelRuntimeVersion = exports.testingLibraryReactNativeVersion = void 0;
4
5
  exports.nxVersion = require('../../package.json').version;
5
6
  // Expo v54 versions (default for new projects)
6
7
  exports.expoV54Version = '~54.0.0';
@@ -18,6 +19,7 @@ exports.typesReactV54Version = '^19.1.0';
18
19
  exports.reactNativeV54Version = '0.81.5';
19
20
  exports.metroV54Version = '~0.83.0';
20
21
  exports.reactNativeWebV54Version = '~0.21.0';
22
+ exports.reactTestRendererV54Version = '^19.1.0';
21
23
  // Expo v53 versions (for existing workspaces)
22
24
  exports.expoV53Version = '~53.0.10';
23
25
  exports.expoV53SplashScreenVersion = '~0.30.9';
@@ -34,6 +36,7 @@ exports.typesReactV53Version = '~19.0.10';
34
36
  exports.reactNativeV53Version = '0.79.3';
35
37
  exports.metroV53Version = '~0.82.4';
36
38
  exports.reactNativeWebV53Version = '~0.20.0';
39
+ exports.reactTestRendererV53Version = '^19.0.0';
37
40
  // Default exports point to v54 (latest)
38
41
  exports.expoVersion = exports.expoV54Version;
39
42
  exports.expoSplashScreenVersion = exports.expoV54SplashScreenVersion;