nx 23.1.0-rc.0 → 23.1.0-rc.1

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.
@@ -162,7 +162,7 @@ function handleAngularCLIFallbacks(workspace) {
162
162
  console.log(`- fix migrations that "almost work"`);
163
163
  console.log(`- commit a partially migrated state`);
164
164
  console.log(`- change versions of packages to match organizational requirements`);
165
- console.log(`And, in general, it is lot more reliable for non-trivial workspaces. Read more at: https://nx.dev/getting-started/nx-and-angular#ng-update-and-nx-migrate`);
165
+ console.log(`And, in general, it is lot more reliable for non-trivial workspaces. Read more at: https://nx.dev/docs/technologies/angular/guides/nx-and-angular#ng-update-vs-nx-migrate`);
166
166
  console.log(`Run "nx migrate latest" to update to the latest version of Nx.`);
167
167
  console.log(`Running "ng update" can still be useful in some dev workflows, so we aren't planning to remove it.`);
168
168
  console.log(`If you need to use it, run "FORCE_NG_UPDATE=true ng update".`);
Binary file
@@ -327,6 +327,11 @@ function entryFilterMatches(filter, ctx) {
327
327
  if (!filter)
328
328
  return true;
329
329
  if (filter.projects) {
330
+ // No project context: a `projects` filter can't match, and passing the
331
+ // absent node to `findMatchingProjects` would dereference undefined.
332
+ if (!ctx.projectName || !ctx.projectNode) {
333
+ return false;
334
+ }
330
335
  const matched = (0, find_matching_projects_1.findMatchingProjects)([...filter.projects], {
331
336
  [ctx.projectName]: ctx.projectNode,
332
337
  });
@@ -5,5 +5,7 @@ function isSandbox() {
5
5
  return (!!process.env.SANDBOX_RUNTIME ||
6
6
  !!process.env.GEMINI_SANDBOX ||
7
7
  !!process.env.CODEX_SANDBOX ||
8
+ // Codex only sets CODEX_SANDBOX on macOS; on Linux it sets this instead.
9
+ !!process.env.CODEX_SANDBOX_NETWORK_DISABLED ||
8
10
  !!process.env.CURSOR_SANDBOX);
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "23.1.0-rc.0",
3
+ "version": "23.1.0-rc.1",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
@@ -176,16 +176,16 @@
176
176
  }
177
177
  },
178
178
  "optionalDependencies": {
179
- "@nx/nx-darwin-arm64": "23.1.0-rc.0",
180
- "@nx/nx-darwin-x64": "23.1.0-rc.0",
181
- "@nx/nx-freebsd-x64": "23.1.0-rc.0",
182
- "@nx/nx-linux-arm-gnueabihf": "23.1.0-rc.0",
183
- "@nx/nx-linux-arm64-gnu": "23.1.0-rc.0",
184
- "@nx/nx-linux-arm64-musl": "23.1.0-rc.0",
185
- "@nx/nx-linux-x64-gnu": "23.1.0-rc.0",
186
- "@nx/nx-linux-x64-musl": "23.1.0-rc.0",
187
- "@nx/nx-win32-arm64-msvc": "23.1.0-rc.0",
188
- "@nx/nx-win32-x64-msvc": "23.1.0-rc.0"
179
+ "@nx/nx-darwin-arm64": "23.1.0-rc.1",
180
+ "@nx/nx-darwin-x64": "23.1.0-rc.1",
181
+ "@nx/nx-freebsd-x64": "23.1.0-rc.1",
182
+ "@nx/nx-linux-arm-gnueabihf": "23.1.0-rc.1",
183
+ "@nx/nx-linux-arm64-gnu": "23.1.0-rc.1",
184
+ "@nx/nx-linux-arm64-musl": "23.1.0-rc.1",
185
+ "@nx/nx-linux-x64-gnu": "23.1.0-rc.1",
186
+ "@nx/nx-linux-x64-musl": "23.1.0-rc.1",
187
+ "@nx/nx-win32-arm64-msvc": "23.1.0-rc.1",
188
+ "@nx/nx-win32-x64-msvc": "23.1.0-rc.1"
189
189
  },
190
190
  "nx-migrations": {
191
191
  "migrations": "./migrations.json",