@nx/expo 22.7.0-beta.11 → 22.7.0-beta.13

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.7.0-beta.11",
3
+ "version": "22.7.0-beta.13",
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": [
@@ -29,10 +29,10 @@
29
29
  "type": "commonjs",
30
30
  "types": "index.d.ts",
31
31
  "dependencies": {
32
- "@nx/devkit": "22.7.0-beta.11",
33
- "@nx/eslint": "22.7.0-beta.11",
34
- "@nx/js": "22.7.0-beta.11",
35
- "@nx/react": "22.7.0-beta.11",
32
+ "@nx/devkit": "22.7.0-beta.13",
33
+ "@nx/eslint": "22.7.0-beta.13",
34
+ "@nx/js": "22.7.0-beta.13",
35
+ "@nx/react": "22.7.0-beta.13",
36
36
  "enhanced-resolve": "^5.8.3",
37
37
  "picocolors": "^1.1.0",
38
38
  "semver": "^7.6.3",
@@ -44,11 +44,11 @@
44
44
  "metro-resolver": ">= 0.82.0"
45
45
  },
46
46
  "devDependencies": {
47
- "nx": "22.7.0-beta.11"
47
+ "nx": "22.7.0-beta.13"
48
48
  },
49
49
  "optionalDependencies": {
50
- "@nx/detox": "22.7.0-beta.11",
51
- "@nx/rollup": "22.7.0-beta.11"
50
+ "@nx/detox": "22.7.0-beta.13",
51
+ "@nx/rollup": "22.7.0-beta.13"
52
52
  },
53
53
  "executors": "./executors.json",
54
54
  "ng-update": {
@@ -1 +1 @@
1
- {"version":3,"file":"metro-resolver.d.ts","sourceRoot":"","sources":["../../../../packages/expo/plugins/metro-resolver.ts"],"names":[],"mappings":"AAiCA,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAAE,EACpB,qBAAqB,GAAE,MAAM,EAAO,EACpC,UAAU,GAAE,MAAM,EAAO,IAGvB,UAAU,GAAG,EACb,gBAAgB,MAAM,EACtB,UAAU,MAAM,GAAG,IAAI,SAwC1B"}
1
+ {"version":3,"file":"metro-resolver.d.ts","sourceRoot":"","sources":["../../../../packages/expo/plugins/metro-resolver.ts"],"names":[],"mappings":"AAkCA,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAAE,EACpB,qBAAqB,GAAE,MAAM,EAAO,EACpC,UAAU,GAAE,MAAM,EAAO,IAGvB,UAAU,GAAG,EACb,gBAAgB,MAAM,EACtB,UAAU,MAAM,GAAG,IAAI,SAwC1B"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getResolveRequest = getResolveRequest;
4
4
  const tslib_1 = require("tslib");
5
5
  const tsconfig_paths_1 = require("tsconfig-paths");
6
+ const ts_config_1 = require("@nx/js/src/utils/typescript/ts-config");
6
7
  const pc = tslib_1.__importStar(require("picocolors"));
7
8
  const enhanced_resolve_1 = require("enhanced-resolve");
8
9
  const path_1 = require("path");
@@ -119,7 +120,7 @@ function getMatcher(debug) {
119
120
  if (!matcher) {
120
121
  const result = (0, tsconfig_paths_1.loadConfig)();
121
122
  if (result.resultType === 'success') {
122
- absoluteBaseUrl = result.absoluteBaseUrl;
123
+ absoluteBaseUrl = (0, ts_config_1.resolvePathsBaseUrl)(result.configFileAbsolutePath);
123
124
  paths = result.paths;
124
125
  if (debug) {
125
126
  console.log(pc.cyan(`[Nx] Located tsconfig at ${pc.bold(absoluteBaseUrl)}`));