nx 14.2.0-beta.2 → 14.2.0-beta.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [14.2.0-beta.2](https://github.com/nrwl/nx/compare/14.1.9...14.2.0-beta.2) (2022-05-31)
6
+ # [14.2.0-beta.3](https://github.com/nrwl/nx/compare/14.1.9...14.2.0-beta.3) (2022-06-01)
7
7
 
8
8
  **Note:** Version bump only for package nx
@@ -2,9 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const project_graph_1 = require("../src/project-graph/project-graph");
5
+ const workspace_root_1 = require("../src/utils/workspace-root");
6
+ const fileutils_1 = require("../src/utils/fileutils");
7
+ const path_1 = require("path");
5
8
  (() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
6
9
  try {
7
- yield (0, project_graph_1.createProjectGraphAsync)();
10
+ if ((0, fileutils_1.fileExists)((0, path_1.join)(workspace_root_1.workspaceRoot, 'nx.json'))) {
11
+ yield (0, project_graph_1.createProjectGraphAsync)();
12
+ }
8
13
  }
9
14
  catch (e) {
10
15
  // Do not error since this runs in a postinstall
@@ -1 +1 @@
1
- {"version":3,"file":"compute-project-graph.js","sourceRoot":"","sources":["../../../../packages/nx/bin/compute-project-graph.ts"],"names":[],"mappings":";;;AAAA,sEAA6E;AAE7E,CAAC,GAAS,EAAE;IACV,IAAI;QACF,MAAM,IAAA,uCAAuB,GAAE,CAAC;KACjC;IAAC,OAAO,CAAC,EAAE;QACV,gDAAgD;KACjD;AACH,CAAC,CAAA,CAAC,EAAE,CAAC"}
1
+ {"version":3,"file":"compute-project-graph.js","sourceRoot":"","sources":["../../../../packages/nx/bin/compute-project-graph.ts"],"names":[],"mappings":";;;AAAA,sEAA6E;AAC7E,gEAA4D;AAC5D,sDAAoD;AACpD,+BAA4B;AAE5B,CAAC,GAAS,EAAE;IACV,IAAI;QACF,IAAI,IAAA,sBAAU,EAAC,IAAA,WAAI,EAAC,8BAAa,EAAE,SAAS,CAAC,CAAC,EAAE;YAC9C,MAAM,IAAA,uCAAuB,GAAE,CAAC;SACjC;KACF;IAAC,OAAO,CAAC,EAAE;QACV,gDAAgD;KACjD;AACH,CAAC,CAAA,CAAC,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "14.2.0-beta.2",
3
+ "version": "14.2.0-beta.3",
4
4
  "description": "Smart, Fast and Extensible Build System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "homepage": "https://nx.dev",
33
33
  "dependencies": {
34
- "@nrwl/cli": "14.2.0-beta.2",
35
- "@nrwl/tao": "14.2.0-beta.2",
34
+ "@nrwl/cli": "14.2.0-beta.3",
35
+ "@nrwl/tao": "14.2.0-beta.3",
36
36
  "@parcel/watcher": "2.0.4",
37
37
  "chalk": "4.1.0",
38
38
  "chokidar": "^3.5.1",
@@ -105,5 +105,5 @@
105
105
  "executors": "./executors.json",
106
106
  "main": "./bin/nx.js",
107
107
  "typings": "./bin/nx.d.ts",
108
- "gitHead": "e491c6f7382064fb1f17c0dcd2e642428ca822e4"
108
+ "gitHead": "10e9992b3665c099580c5b62854ee116e741d656"
109
109
  }