@nx/expo 21.4.0 → 21.4.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": "21.4.0",
3
+ "version": "21.4.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": "21.4.0",
32
- "@nx/eslint": "21.4.0",
33
- "@nx/js": "21.4.0",
34
- "@nx/react": "21.4.0",
31
+ "@nx/devkit": "21.4.1",
32
+ "@nx/eslint": "21.4.1",
33
+ "@nx/js": "21.4.1",
34
+ "@nx/react": "21.4.1",
35
35
  "enhanced-resolve": "^5.8.3",
36
36
  "picocolors": "^1.1.0",
37
37
  "tsconfig-paths": "^4.1.2",
@@ -42,8 +42,8 @@
42
42
  "metro-resolver": ">= 0.82.0"
43
43
  },
44
44
  "optionalDependencies": {
45
- "@nx/detox": "21.4.0",
46
- "@nx/rollup": "21.4.0"
45
+ "@nx/detox": "21.4.1",
46
+ "@nx/rollup": "21.4.1"
47
47
  },
48
48
  "executors": "./executors.json",
49
49
  "ng-update": {
@@ -1 +1 @@
1
- {"version":3,"file":"build.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/build/build.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EAKhB,MAAM,YAAY,CAAC;AASpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,wBAA+B,aAAa,CAC1C,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,eAAe,GACvB,cAAc,CAAC,sBAAsB,CAAC,CAqBxC"}
1
+ {"version":3,"file":"build.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/expo/src/executors/build/build.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EAMhB,MAAM,YAAY,CAAC;AASpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,wBAA+B,aAAa,CAC1C,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,eAAe,GACvB,cAAc,CAAC,sBAAsB,CAAC,CAqBxC"}
@@ -85,9 +85,7 @@ function copyPackageJsonAndLock(packageManager, workspaceRoot, projectRoot) {
85
85
  const packageJson = (0, path_1.resolve)(workspaceRoot, 'package.json');
86
86
  const rootPackageJson = (0, devkit_1.readJsonFile)(packageJson);
87
87
  // do not copy package.json and lock file if workspaces are enabled
88
- if ((packageManager === 'pnpm' &&
89
- (0, node_fs_1.existsSync)((0, path_1.resolve)(workspaceRoot, 'pnpm-workspace.yaml'))) ||
90
- rootPackageJson.workspaces) {
88
+ if ((0, devkit_1.isWorkspacesEnabled)(packageManager, workspaceRoot)) {
91
89
  // no resource taken, no resource cleaned up
92
90
  return () => { };
93
91
  }
@@ -107,7 +107,7 @@ function getTargets(options) {
107
107
  outputs: ['{options.outputDir}'],
108
108
  options: {
109
109
  platform: 'all',
110
- outputDir: `dist/${options.appProjectRoot}`,
110
+ outputDir: `${options.appProjectRoot}/dist`,
111
111
  },
112
112
  };
113
113
  return architect;