nx 19.8.8 → 19.8.9

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",
3
- "version": "19.8.8",
3
+ "version": "19.8.9",
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": {
@@ -67,7 +67,7 @@
67
67
  "yargs-parser": "21.1.1",
68
68
  "node-machine-id": "1.1.12",
69
69
  "ora": "5.3.0",
70
- "@nrwl/tao": "19.8.8"
70
+ "@nrwl/tao": "19.8.9"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "@swc-node/register": "^1.8.0",
@@ -82,16 +82,16 @@
82
82
  }
83
83
  },
84
84
  "optionalDependencies": {
85
- "@nx/nx-darwin-x64": "19.8.8",
86
- "@nx/nx-darwin-arm64": "19.8.8",
87
- "@nx/nx-linux-x64-gnu": "19.8.8",
88
- "@nx/nx-linux-x64-musl": "19.8.8",
89
- "@nx/nx-win32-x64-msvc": "19.8.8",
90
- "@nx/nx-linux-arm64-gnu": "19.8.8",
91
- "@nx/nx-linux-arm64-musl": "19.8.8",
92
- "@nx/nx-linux-arm-gnueabihf": "19.8.8",
93
- "@nx/nx-win32-arm64-msvc": "19.8.8",
94
- "@nx/nx-freebsd-x64": "19.8.8"
85
+ "@nx/nx-darwin-x64": "19.8.9",
86
+ "@nx/nx-darwin-arm64": "19.8.9",
87
+ "@nx/nx-linux-x64-gnu": "19.8.9",
88
+ "@nx/nx-linux-x64-musl": "19.8.9",
89
+ "@nx/nx-win32-x64-msvc": "19.8.9",
90
+ "@nx/nx-linux-arm64-gnu": "19.8.9",
91
+ "@nx/nx-linux-arm64-musl": "19.8.9",
92
+ "@nx/nx-linux-arm-gnueabihf": "19.8.9",
93
+ "@nx/nx-win32-arm64-msvc": "19.8.9",
94
+ "@nx/nx-freebsd-x64": "19.8.9"
95
95
  },
96
96
  "nx-migrations": {
97
97
  "migrations": "./migrations.json",
Binary file
@@ -21,7 +21,8 @@ const get_cloud_options_1 = require("../nx-cloud/utilities/get-cloud-options");
21
21
  const is_ci_1 = require("../utils/is-ci");
22
22
  const output_1 = require("../utils/output");
23
23
  function dbCacheEnabled(nxJson = (0, nx_json_1.readNxJson)()) {
24
- return (process.env.NX_DISABLE_DB !== 'true' &&
24
+ return (!native_1.IS_WASM &&
25
+ process.env.NX_DISABLE_DB !== 'true' &&
25
26
  (nxJson.enableDbCache === true || process.env.NX_DB_CACHE === 'true'));
26
27
  }
27
28
  // Do not change the order of these arguments as this function is used by nx cloud
@@ -12,6 +12,6 @@ export declare class TaskHistory {
12
12
  }
13
13
  /**
14
14
  * This function returns the singleton instance of TaskHistory
15
- * @returns singleton instance of TaskHistory, null if database is disabled or WASM is not enabled
15
+ * @returns singleton instance of TaskHistory, null if database is disabled or WASM is enabled
16
16
  */
17
17
  export declare function getTaskHistory(): TaskHistory | null;
@@ -38,10 +38,10 @@ exports.TaskHistory = TaskHistory;
38
38
  let taskHistory;
39
39
  /**
40
40
  * This function returns the singleton instance of TaskHistory
41
- * @returns singleton instance of TaskHistory, null if database is disabled or WASM is not enabled
41
+ * @returns singleton instance of TaskHistory, null if database is disabled or WASM is enabled
42
42
  */
43
43
  function getTaskHistory() {
44
- if (process.env.NX_DISABLE_DB === 'true' || !native_1.IS_WASM) {
44
+ if (process.env.NX_DISABLE_DB === 'true' || native_1.IS_WASM) {
45
45
  return null;
46
46
  }
47
47
  if (!taskHistory) {