nx 20.2.1 → 20.3.0-beta.0

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": "20.2.1",
3
+ "version": "20.3.0-beta.0",
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": {
@@ -81,16 +81,16 @@
81
81
  }
82
82
  },
83
83
  "optionalDependencies": {
84
- "@nx/nx-darwin-arm64": "20.2.1",
85
- "@nx/nx-darwin-x64": "20.2.1",
86
- "@nx/nx-freebsd-x64": "20.2.1",
87
- "@nx/nx-linux-arm-gnueabihf": "20.2.1",
88
- "@nx/nx-linux-arm64-gnu": "20.2.1",
89
- "@nx/nx-linux-arm64-musl": "20.2.1",
90
- "@nx/nx-linux-x64-gnu": "20.2.1",
91
- "@nx/nx-linux-x64-musl": "20.2.1",
92
- "@nx/nx-win32-arm64-msvc": "20.2.1",
93
- "@nx/nx-win32-x64-msvc": "20.2.1"
84
+ "@nx/nx-darwin-arm64": "20.3.0-beta.0",
85
+ "@nx/nx-darwin-x64": "20.3.0-beta.0",
86
+ "@nx/nx-freebsd-x64": "20.3.0-beta.0",
87
+ "@nx/nx-linux-arm-gnueabihf": "20.3.0-beta.0",
88
+ "@nx/nx-linux-arm64-gnu": "20.3.0-beta.0",
89
+ "@nx/nx-linux-arm64-musl": "20.3.0-beta.0",
90
+ "@nx/nx-linux-x64-gnu": "20.3.0-beta.0",
91
+ "@nx/nx-linux-x64-musl": "20.3.0-beta.0",
92
+ "@nx/nx-win32-arm64-msvc": "20.3.0-beta.0",
93
+ "@nx/nx-win32-x64-msvc": "20.3.0-beta.0"
94
94
  },
95
95
  "nx-migrations": {
96
96
  "migrations": "./migrations.json",
@@ -109,6 +109,7 @@
109
109
  "@nx/expo",
110
110
  "@nx/express",
111
111
  "@nx/gradle",
112
+ "@nx/module-federation",
112
113
  "@nx/nest",
113
114
  "@nx/next",
114
115
  "@nx/node",
@@ -128,6 +128,7 @@ const npmPackageToPluginMap = {
128
128
  nuxt: '@nx/nuxt',
129
129
  'react-native': '@nx/react-native',
130
130
  '@remix-run/dev': '@nx/remix',
131
+ '@rsbuild/core': '@nx/rsbuild',
131
132
  };
132
133
  async function detectPlugins(nxJson, interactive, includeAngularCli) {
133
134
  let files = ['package.json'].concat((0, workspace_context_1.globWithWorkspaceContextSync)(process.cwd(), ['**/*/package.json']));
@@ -84,14 +84,15 @@ async function getGitDiff(from, to = 'HEAD') {
84
84
  else {
85
85
  range = `${from}..${to}`;
86
86
  }
87
- // Use a unique enough separator that we can be relatively certain will not occur within the commit message itself
88
- const separator = '§§§';
87
+ // Use unique enough separators that we can be relatively certain will not occur within the commit message itself
88
+ const commitMetadataSeparator = '§§§';
89
+ const commitsSeparator = '|@-------@|';
89
90
  // https://git-scm.com/docs/pretty-formats
90
91
  const args = [
91
92
  '--no-pager',
92
93
  'log',
93
94
  range,
94
- `--pretty="----%n%s${separator}%h${separator}%an${separator}%ae%n%b"`,
95
+ `--pretty="${commitsSeparator}%n%s${commitMetadataSeparator}%h${commitMetadataSeparator}%an${commitMetadataSeparator}%ae%n%b"`,
95
96
  '--name-status',
96
97
  ];
97
98
  // Support cases where the nx workspace root is located at a nested path within the git repo
@@ -101,11 +102,11 @@ async function getGitDiff(from, to = 'HEAD') {
101
102
  }
102
103
  const r = await (0, exec_command_1.execCommand)('git', args);
103
104
  return r
104
- .split('----\n')
105
+ .split(`${commitsSeparator}\n`)
105
106
  .splice(1)
106
107
  .map((line) => {
107
108
  const [firstLine, ..._body] = line.split('\n');
108
- const [message, shortHash, authorName, authorEmail] = firstLine.split(separator);
109
+ const [message, shortHash, authorName, authorEmail] = firstLine.split(commitMetadataSeparator);
109
110
  const r = {
110
111
  message,
111
112
  shortHash,