nx 20.0.6 → 20.0.7

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "20.0.6",
3
+ "version": "20.0.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": {
@@ -80,16 +80,16 @@
80
80
  }
81
81
  },
82
82
  "optionalDependencies": {
83
- "@nx/nx-darwin-x64": "20.0.6",
84
- "@nx/nx-darwin-arm64": "20.0.6",
85
- "@nx/nx-linux-x64-gnu": "20.0.6",
86
- "@nx/nx-linux-x64-musl": "20.0.6",
87
- "@nx/nx-win32-x64-msvc": "20.0.6",
88
- "@nx/nx-linux-arm64-gnu": "20.0.6",
89
- "@nx/nx-linux-arm64-musl": "20.0.6",
90
- "@nx/nx-linux-arm-gnueabihf": "20.0.6",
91
- "@nx/nx-win32-arm64-msvc": "20.0.6",
92
- "@nx/nx-freebsd-x64": "20.0.6"
83
+ "@nx/nx-darwin-x64": "20.0.7",
84
+ "@nx/nx-darwin-arm64": "20.0.7",
85
+ "@nx/nx-linux-x64-gnu": "20.0.7",
86
+ "@nx/nx-linux-x64-musl": "20.0.7",
87
+ "@nx/nx-win32-x64-msvc": "20.0.7",
88
+ "@nx/nx-linux-arm64-gnu": "20.0.7",
89
+ "@nx/nx-linux-arm64-musl": "20.0.7",
90
+ "@nx/nx-linux-arm-gnueabihf": "20.0.7",
91
+ "@nx/nx-win32-arm64-msvc": "20.0.7",
92
+ "@nx/nx-freebsd-x64": "20.0.7"
93
93
  },
94
94
  "nx-migrations": {
95
95
  "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.useLegacyCache !== true &&
26
27
  process.env.NX_DB_CACHE !== 'false');
27
28
  }
@@ -9,7 +9,7 @@ const workspace_root_1 = require("./workspace-root");
9
9
  async function printPowerpackLicense() {
10
10
  try {
11
11
  const { organizationName, seatCount, workspaceCount } = await getPowerpackLicenseInformation();
12
- logger_1.logger.log(`Nx Powerpack Licensed to ${organizationName} for ${seatCount} user${seatCount > 1 ? '' : 's'} in ${workspaceCount === 9999 ? 'an unlimited number of' : workspaceCount} workspace${workspaceCount > 1 ? '' : 's'}`);
12
+ logger_1.logger.log(`Nx Powerpack Licensed to ${organizationName} for ${seatCount} user${seatCount > 1 ? 's' : ''} in ${workspaceCount === 9999 ? 'an unlimited number of' : workspaceCount} workspace${workspaceCount > 1 ? 's' : ''}`);
13
13
  }
14
14
  catch { }
15
15
  }
@@ -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) {