nx 19.8.0-beta.1 → 19.8.0-beta.2

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": "19.8.0-beta.1",
3
+ "version": "19.8.0-beta.2",
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": {
@@ -68,7 +68,7 @@
68
68
  "yargs-parser": "21.1.1",
69
69
  "node-machine-id": "1.1.12",
70
70
  "ora": "5.3.0",
71
- "@nrwl/tao": "19.8.0-beta.1"
71
+ "@nrwl/tao": "19.8.0-beta.2"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "@swc-node/register": "^1.8.0",
@@ -83,16 +83,16 @@
83
83
  }
84
84
  },
85
85
  "optionalDependencies": {
86
- "@nx/nx-darwin-x64": "19.8.0-beta.1",
87
- "@nx/nx-darwin-arm64": "19.8.0-beta.1",
88
- "@nx/nx-linux-x64-gnu": "19.8.0-beta.1",
89
- "@nx/nx-linux-x64-musl": "19.8.0-beta.1",
90
- "@nx/nx-win32-x64-msvc": "19.8.0-beta.1",
91
- "@nx/nx-linux-arm64-gnu": "19.8.0-beta.1",
92
- "@nx/nx-linux-arm64-musl": "19.8.0-beta.1",
93
- "@nx/nx-linux-arm-gnueabihf": "19.8.0-beta.1",
94
- "@nx/nx-win32-arm64-msvc": "19.8.0-beta.1",
95
- "@nx/nx-freebsd-x64": "19.8.0-beta.1"
86
+ "@nx/nx-darwin-x64": "19.8.0-beta.2",
87
+ "@nx/nx-darwin-arm64": "19.8.0-beta.2",
88
+ "@nx/nx-linux-x64-gnu": "19.8.0-beta.2",
89
+ "@nx/nx-linux-x64-musl": "19.8.0-beta.2",
90
+ "@nx/nx-win32-x64-msvc": "19.8.0-beta.2",
91
+ "@nx/nx-linux-arm64-gnu": "19.8.0-beta.2",
92
+ "@nx/nx-linux-arm64-musl": "19.8.0-beta.2",
93
+ "@nx/nx-linux-arm-gnueabihf": "19.8.0-beta.2",
94
+ "@nx/nx-win32-arm64-msvc": "19.8.0-beta.2",
95
+ "@nx/nx-freebsd-x64": "19.8.0-beta.2"
96
96
  },
97
97
  "nx-migrations": {
98
98
  "migrations": "./migrations.json",
@@ -64,7 +64,7 @@ async function reportHandler() {
64
64
  if (powerpackLicense) {
65
65
  bodyLines.push(LINE_SEPARATOR);
66
66
  bodyLines.push(chalk.green('Nx Powerpack'));
67
- bodyLines.push(`Licensed to ${powerpackLicense.organizationName} for ${powerpackLicense.seatCount} user${powerpackLicense.seatCount > 1 ? 's' : ''} in ${powerpackLicense.workspaceCount} workspace${powerpackLicense.workspaceCount > 1 ? 's' : ''} until ${new Date(powerpackLicense.expiresAt).toLocaleDateString()}`);
67
+ bodyLines.push(`Licensed to ${powerpackLicense.organizationName} for ${powerpackLicense.seatCount} user${powerpackLicense.seatCount > 1 ? 's' : ''} in ${powerpackLicense.workspaceCount} workspace${powerpackLicense.workspaceCount > 1 ? 's' : ''} until ${new Date(powerpackLicense.expiresAt * 1000).toLocaleDateString()}`);
68
68
  bodyLines.push('');
69
69
  padding =
70
70
  Math.max(...powerpackPlugins.map((powerpackPlugin) => powerpackPlugin.name.length)) + 1;
Binary file
@@ -40,10 +40,11 @@ class TaskOrchestrator {
40
40
  this.bailed = false;
41
41
  }
42
42
  async run() {
43
- // Init the ForkedProcessTaskRunner
43
+ // Init the ForkedProcessTaskRunner, TasksSchedule, and Cache
44
44
  await Promise.all([
45
45
  this.forkedProcessTaskRunner.init(),
46
46
  this.tasksSchedule.init(),
47
+ 'init' in this.cache ? this.cache.init() : null,
47
48
  ]);
48
49
  // initial scheduling
49
50
  await this.tasksSchedule.scheduleNextTasks();