nx 14.7.6 → 14.7.7

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.7.6](https://github.com/nrwl/nx/compare/14.7.5...14.7.6) (2022-09-19)
6
+ ## [14.7.7](https://github.com/nrwl/nx/compare/14.7.6...14.7.7) (2022-09-20)
7
7
 
8
8
  **Note:** Version bump only for package nx
package/README.md CHANGED
@@ -73,7 +73,7 @@ npx add-nx-to-monorepo@latest
73
73
  A few links to help you get started:
74
74
 
75
75
  - [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev)
76
- - [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/migration/adding-to-monorepo)
76
+ - [Tutorial: Adding Nx to an Existing Monorepo](/recipe/adding-to-monorepo)
77
77
  - [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
78
78
  - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
79
79
 
@@ -1,26 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
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");
8
+ const client_1 = require("../src/daemon/client/client");
4
9
  (() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
5
10
  try {
6
- // if (fileExists(join(workspaceRoot, 'nx.json'))) {
7
- // try {
8
- // await daemonClient.stop();
9
- // } catch (e) {}
10
- // const b = new Date();
11
- // await buildProjectGraphWithoutDaemon();
12
- // const a = new Date();
13
- // if (process.env.NX_VERBOSE_LOGGING === 'true') {
14
- // console.log(
15
- // `Nx project graph has been precomputed in ${
16
- // a.getTime() - b.getTime()
17
- // }ms`
18
- // );
19
- // }
20
- // }
11
+ if ((0, fileutils_1.fileExists)((0, path_1.join)(workspace_root_1.workspaceRoot, 'nx.json'))) {
12
+ try {
13
+ yield client_1.daemonClient.stop();
14
+ }
15
+ catch (e) { }
16
+ const b = new Date();
17
+ yield (0, project_graph_1.buildProjectGraphWithoutDaemon)();
18
+ const a = new Date();
19
+ if (process.env.NX_VERBOSE_LOGGING === 'true') {
20
+ console.log(`Nx project graph has been precomputed in ${a.getTime() - b.getTime()}ms`);
21
+ }
22
+ }
21
23
  }
22
24
  catch (e) {
23
- // Do not error since this runs in a postinstall
25
+ if (process.env.NX_VERBOSE_LOGGING === 'true') {
26
+ console.log(e);
27
+ }
24
28
  }
25
29
  }))();
26
30
  //# sourceMappingURL=compute-project-graph.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"compute-project-graph.js","sourceRoot":"","sources":["../../../../packages/nx/bin/compute-project-graph.ts"],"names":[],"mappings":";;;AAMA,CAAC,GAAS,EAAE;IACV,IAAI;QACF,oDAAoD;QACpD,UAAU;QACV,iCAAiC;QACjC,mBAAmB;QACnB,0BAA0B;QAC1B,4CAA4C;QAC5C,0BAA0B;QAC1B,qDAAqD;QACrD,mBAAmB;QACnB,qDAAqD;QACrD,oCAAoC;QACpC,aAAa;QACb,SAAS;QACT,MAAM;QACN,IAAI;KACL;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,sEAAoF;AACpF,gEAA4D;AAC5D,sDAAoD;AACpD,+BAA4B;AAC5B,wDAA2D;AAE3D,CAAC,GAAS,EAAE;IACV,IAAI;QACF,IAAI,IAAA,sBAAU,EAAC,IAAA,WAAI,EAAC,8BAAa,EAAE,SAAS,CAAC,CAAC,EAAE;YAC9C,IAAI;gBACF,MAAM,qBAAY,CAAC,IAAI,EAAE,CAAC;aAC3B;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,MAAM,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC;YACrB,MAAM,IAAA,8CAA8B,GAAE,CAAC;YACvC,MAAM,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC;YACrB,IAAI,OAAO,CAAC,GAAG,CAAC,kBAAkB,KAAK,MAAM,EAAE;gBAC7C,OAAO,CAAC,GAAG,CACT,4CACE,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,OAAO,EACzB,IAAI,CACL,CAAC;aACH;SACF;KACF;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,OAAO,CAAC,GAAG,CAAC,kBAAkB,KAAK,MAAM,EAAE;YAC7C,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SAChB;KACF;AACH,CAAC,CAAA,CAAC,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "14.7.6",
3
+ "version": "14.7.7",
4
4
  "private": false,
5
5
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
6
6
  "repository": {
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "homepage": "https://nx.dev",
34
34
  "dependencies": {
35
- "@nrwl/cli": "14.7.6",
36
- "@nrwl/tao": "14.7.6",
35
+ "@nrwl/cli": "14.7.7",
36
+ "@nrwl/tao": "14.7.7",
37
37
  "@parcel/watcher": "2.0.4",
38
38
  "chalk": "4.1.0",
39
39
  "chokidar": "^3.5.1",
@@ -111,5 +111,5 @@
111
111
  },
112
112
  "main": "./bin/nx.js",
113
113
  "typings": "./bin/nx.d.ts",
114
- "gitHead": "af92e4ca6cb02f71307f85f532ef5ac532718a1c"
114
+ "gitHead": "8e0271f73a322430aee83888b74bcfd0d37b51c7"
115
115
  }
@@ -24,7 +24,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24
24
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
25
 
26
26
 
27
- @nrwl/web
27
+ @nrwl/webpack
28
28
  MIT
29
29
  (The MIT License)
30
30
 
@@ -27,5 +27,5 @@
27
27
 
28
28
  <body class="bg-white text-slate-500 dark:bg-slate-900 dark:text-slate-400">
29
29
  <div id="app"></div>
30
- <script src="runtime.esm.js" type="module"></script><script src="polyfills.esm.js" type="module"></script><script src="main.esm.js" type="module"></script></body>
30
+ <script src="runtime.js" type="module"></script><script src="polyfills.js" type="module"></script><script src="main.js" type="module"></script></body>
31
31
  </html>