nx 20.2.0-canary.20241204-75b2080 → 20.2.0-rc.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.0-canary.20241204-75b2080",
3
+ "version": "20.2.0-rc.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": {
@@ -80,16 +80,16 @@
80
80
  }
81
81
  },
82
82
  "optionalDependencies": {
83
- "@nx/nx-darwin-x64": "20.2.0-canary.20241204-75b2080",
84
- "@nx/nx-darwin-arm64": "20.2.0-canary.20241204-75b2080",
85
- "@nx/nx-linux-x64-gnu": "20.2.0-canary.20241204-75b2080",
86
- "@nx/nx-linux-x64-musl": "20.2.0-canary.20241204-75b2080",
87
- "@nx/nx-win32-x64-msvc": "20.2.0-canary.20241204-75b2080",
88
- "@nx/nx-linux-arm64-gnu": "20.2.0-canary.20241204-75b2080",
89
- "@nx/nx-linux-arm64-musl": "20.2.0-canary.20241204-75b2080",
90
- "@nx/nx-linux-arm-gnueabihf": "20.2.0-canary.20241204-75b2080",
91
- "@nx/nx-win32-arm64-msvc": "20.2.0-canary.20241204-75b2080",
92
- "@nx/nx-freebsd-x64": "20.2.0-canary.20241204-75b2080"
83
+ "@nx/nx-darwin-x64": "20.2.0-rc.0",
84
+ "@nx/nx-darwin-arm64": "20.2.0-rc.0",
85
+ "@nx/nx-linux-x64-gnu": "20.2.0-rc.0",
86
+ "@nx/nx-linux-x64-musl": "20.2.0-rc.0",
87
+ "@nx/nx-win32-x64-msvc": "20.2.0-rc.0",
88
+ "@nx/nx-linux-arm64-gnu": "20.2.0-rc.0",
89
+ "@nx/nx-linux-arm64-musl": "20.2.0-rc.0",
90
+ "@nx/nx-linux-arm-gnueabihf": "20.2.0-rc.0",
91
+ "@nx/nx-win32-arm64-msvc": "20.2.0-rc.0",
92
+ "@nx/nx-freebsd-x64": "20.2.0-rc.0"
93
93
  },
94
94
  "nx-migrations": {
95
95
  "migrations": "./migrations.json",
@@ -814,7 +814,8 @@ async function generateChangelogForProjects({ tree, args, changes, projectsVersi
814
814
  * newVersion will be null in the case that no changes were detected (e.g. in conventional commits mode),
815
815
  * no changelog entry is relevant in that case.
816
816
  */
817
- if (projectsVersionData[project.name].newVersion === null) {
817
+ if (!projectsVersionData[project.name] ||
818
+ projectsVersionData[project.name].newVersion === null) {
818
819
  continue;
819
820
  }
820
821
  const releaseVersion = new shared_1.ReleaseVersion({
@@ -16,6 +16,7 @@ interface GithubRelease {
16
16
  body?: string;
17
17
  draft?: boolean;
18
18
  prerelease?: boolean;
19
+ make_latest?: 'legacy' | boolean;
19
20
  }
20
21
  export interface GithubRepoData {
21
22
  hostname: string;
@@ -209,6 +209,8 @@ async function syncGithubRelease(githubRequestConfig, release, existingGithubRel
209
209
  name: release.version,
210
210
  body: release.body,
211
211
  prerelease: release.prerelease,
212
+ // legacy specifies that the latest release should be determined based on the release creation date and higher semantic version.
213
+ make_latest: 'legacy',
212
214
  };
213
215
  try {
214
216
  const newGhRelease = await (existingGithubReleaseForVersion