nx 19.7.0-canary.20240816-ce2dff3 → 19.7.0-canary.20240820-0853690

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # Nx: Smart Monorepos · Fast CI
24
24
 
25
- Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
25
+ Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
26
26
 
27
27
  ## Getting Started
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "19.7.0-canary.20240816-ce2dff3",
3
+ "version": "19.7.0-canary.20240820-0853690",
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": {
@@ -41,7 +41,7 @@
41
41
  "@yarnpkg/lockfile": "^1.1.0",
42
42
  "@yarnpkg/parsers": "3.0.0-rc.46",
43
43
  "@zkochan/js-yaml": "0.0.7",
44
- "axios": "^1.7.2",
44
+ "axios": "^1.7.4",
45
45
  "chalk": "^4.1.0",
46
46
  "cli-cursor": "3.1.0",
47
47
  "cli-spinners": "2.6.1",
@@ -71,7 +71,7 @@
71
71
  "yargs-parser": "21.1.1",
72
72
  "node-machine-id": "1.1.12",
73
73
  "ora": "5.3.0",
74
- "@nrwl/tao": "19.7.0-canary.20240816-ce2dff3"
74
+ "@nrwl/tao": "19.7.0-canary.20240820-0853690"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "@swc-node/register": "^1.8.0",
@@ -86,16 +86,16 @@
86
86
  }
87
87
  },
88
88
  "optionalDependencies": {
89
- "@nx/nx-darwin-x64": "19.7.0-canary.20240816-ce2dff3",
90
- "@nx/nx-darwin-arm64": "19.7.0-canary.20240816-ce2dff3",
91
- "@nx/nx-linux-x64-gnu": "19.7.0-canary.20240816-ce2dff3",
92
- "@nx/nx-linux-x64-musl": "19.7.0-canary.20240816-ce2dff3",
93
- "@nx/nx-win32-x64-msvc": "19.7.0-canary.20240816-ce2dff3",
94
- "@nx/nx-linux-arm64-gnu": "19.7.0-canary.20240816-ce2dff3",
95
- "@nx/nx-linux-arm64-musl": "19.7.0-canary.20240816-ce2dff3",
96
- "@nx/nx-linux-arm-gnueabihf": "19.7.0-canary.20240816-ce2dff3",
97
- "@nx/nx-win32-arm64-msvc": "19.7.0-canary.20240816-ce2dff3",
98
- "@nx/nx-freebsd-x64": "19.7.0-canary.20240816-ce2dff3"
89
+ "@nx/nx-darwin-x64": "19.7.0-canary.20240820-0853690",
90
+ "@nx/nx-darwin-arm64": "19.7.0-canary.20240820-0853690",
91
+ "@nx/nx-linux-x64-gnu": "19.7.0-canary.20240820-0853690",
92
+ "@nx/nx-linux-x64-musl": "19.7.0-canary.20240820-0853690",
93
+ "@nx/nx-win32-x64-msvc": "19.7.0-canary.20240820-0853690",
94
+ "@nx/nx-linux-arm64-gnu": "19.7.0-canary.20240820-0853690",
95
+ "@nx/nx-linux-arm64-musl": "19.7.0-canary.20240820-0853690",
96
+ "@nx/nx-linux-arm-gnueabihf": "19.7.0-canary.20240820-0853690",
97
+ "@nx/nx-win32-arm64-msvc": "19.7.0-canary.20240820-0853690",
98
+ "@nx/nx-freebsd-x64": "19.7.0-canary.20240820-0853690"
99
99
  },
100
100
  "nx-migrations": {
101
101
  "migrations": "./migrations.json",
@@ -86,8 +86,8 @@ async function createBuilderContext(builderInfo, context) {
86
86
  logger: (0, exports.getLogger)(),
87
87
  id: 1,
88
88
  currentDirectory: process.cwd(),
89
- scheduleTarget: architect.scheduleTarget,
90
- scheduleBuilder: architect.scheduleBuilder,
89
+ scheduleTarget: (...args) => architect.scheduleTarget(...args),
90
+ scheduleBuilder: (...args) => architect.scheduleBuilder(...args),
91
91
  addTeardown(teardown) {
92
92
  // No-op as Nx doesn't require an implementation of this function
93
93
  return;
@@ -61,7 +61,7 @@ async function prepareSourceRepo(gitClient, ref, source, relativeDestination, te
61
61
  await (0, promises_1.rm)(destinationInSource, {
62
62
  recursive: true,
63
63
  });
64
- await gitClient.commit('chore(repo): prepare for import');
64
+ await gitClient.commit(`chore(repo): move ${source} to ${relativeDestination} to prepare to be imported`);
65
65
  needsSquash = true;
66
66
  }
67
67
  catch { }
@@ -92,7 +92,7 @@ async function prepareSourceRepo(gitClient, ref, source, relativeDestination, te
92
92
  });
93
93
  }
94
94
  }
95
- await gitClient.commit('chore(repo): prepare for import 2');
95
+ await gitClient.commit(`chore(repo): move ${source} to ${relativeDestination} to prepare to be imported`);
96
96
  if (needsSquash) {
97
97
  await gitClient.squashLastTwoCommits();
98
98
  }
Binary file
@@ -83,7 +83,7 @@ class GitRepository {
83
83
  return this.execAsync(`git checkout ${opts.new ? '-b ' : ' '}${branch}${opts.base ? ' ' + opts.base : ''}`);
84
84
  }
85
85
  async move(path, destination) {
86
- return this.execAsync(`git mv ${path} ${destination}`);
86
+ return this.execAsync(`git mv "${path}" "${destination}"`);
87
87
  }
88
88
  async push(ref, remoteName) {
89
89
  return this.execAsync(`git push -u -f ${remoteName} ${ref}`);