Skip to content

Commit c11c3db

Browse files
committed
Merge branch 'master' into feature/support-cjs-and-mjs
2 parents 2e2673b + 8d4869d commit c11c3db

File tree

845 files changed

+8191
-6315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

845 files changed

+8191
-6315
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
NX_CI_EXECUTION_ENV: 'linux'
8888
steps:
8989
- checkout
90+
- nx/set-shas:
91+
main-branch-name: 'master'
9092
- run: npx nx-cloud@next start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" --stop-agents-after="e2e"
9193
- run:
9294
command: |
@@ -96,8 +98,6 @@ jobs:
9698
- browser-tools/install-chromedriver
9799
- run-pnpm-install:
98100
os: linux
99-
- nx/set-shas:
100-
main-branch-name: 'master'
101101
- run:
102102
name: Check Documentation
103103
command: pnpm nx documentation --no-dte

.github/workflows/publish.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
if-no-files-found: error
158158

159159
build-freebsd:
160-
runs-on: macos-12
160+
runs-on: macos-13-large
161161
name: Build FreeBSD
162162
timeout-minutes: 45
163163
steps:
@@ -166,7 +166,7 @@ jobs:
166166
- name: Build
167167
id: build
168168
if: ${{ github.event_name != 'schedule' }}
169-
uses: cross-platform-actions/action@v0.21.1
169+
uses: cross-platform-actions/action@v0.22.0
170170
env:
171171
DEBUG: napi:*
172172
RUSTUP_IO_THREADS: 1
@@ -223,6 +223,10 @@ jobs:
223223
needs:
224224
- build-freebsd
225225
- build
226+
env:
227+
GH_TOKEN: ${{ github.token }}
228+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
229+
NPM_CONFIG_PROVENANCE: true
226230
steps:
227231
- uses: actions/checkout@v4
228232
- uses: pnpm/action-setup@v2
@@ -235,6 +239,8 @@ jobs:
235239
registry-url: 'https://registry.npmjs.org'
236240
check-latest: true
237241
cache: 'pnpm'
242+
- name: Check NPM Credentials
243+
run: npm whoami && echo "NPM credentials are valid" || (echo "NPM credentials are invalid or have expired." && exit 1)
238244
- name: Install dependencies
239245
run: pnpm install --frozen-lockfile
240246
- name: Download all artifacts
@@ -271,7 +277,3 @@ jobs:
271277
git branch -f website
272278
git push -f origin website
273279
fi
274-
env:
275-
GH_TOKEN: ${{ github.token }}
276-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
277-
NPM_CONFIG_PROVENANCE: true

docs/generated/cli/affected-graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 'Graph dependencies affected by changes'
55

66
# affected:graph
77

8-
**Deprecated:** Use `nx graph --affected`, or `nx affected --graph` instead depending on which best suits your use case. The `affected:graph` command will be removed in Nx 18.
8+
**Deprecated:** Use `nx graph --affected`, or `nx affected --graph` instead depending on which best suits your use case. The `affected:graph` command will be removed in Nx 19.
99

1010
Graph dependencies affected by changes
1111

docs/generated/cli/print-affected.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 'Prints information about the projects and targets affected by chan
55

66
# print-affected
77

8-
**Deprecated:** Use `nx show projects --affected`, `nx affected --graph -t build` or `nx graph --affected` depending on which best suits your use case. The `print-affected` command will be removed in Nx 18.
8+
**Deprecated:** Use `nx show projects --affected`, `nx affected --graph -t build` or `nx graph --affected` depending on which best suits your use case. The `print-affected` command will be removed in Nx 19.
99

1010
Prints information about the projects and targets affected by changes
1111

docs/generated/devkit/NxPluginV1.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
**`Deprecated`**
66

7-
Use [NxPluginV2](../../devkit/documents/NxPluginV2) instead. This will be removed in Nx 18
7+
Use [NxPluginV2](../../devkit/documents/NxPluginV2) instead. This will be removed in Nx 19
88

99
#### Type declaration
1010

1111
| Name | Type | Description |
1212
| :------------------------ | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1313
| `name` | `string` | - |
14-
| `processProjectGraph?` | `ProjectGraphProcessor` | **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) and [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 18 |
15-
| `projectFilePatterns?` | `string`[] | A glob pattern to search for non-standard project files. @example: ["*.csproj", "pom.xml"] **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) instead. This will be removed in Nx 18 |
16-
| `registerProjectTargets?` | [`ProjectTargetConfigurator`](../../devkit/documents/ProjectTargetConfigurator) | **`Deprecated`** Add targets to the projects inside of [CreateNodes](../../devkit/documents/CreateNodes) instead. This will be removed in Nx 18 |
14+
| `processProjectGraph?` | `ProjectGraphProcessor` | **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) and [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 19 |
15+
| `projectFilePatterns?` | `string`[] | A glob pattern to search for non-standard project files. @example: ["*.csproj", "pom.xml"] **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) instead. This will be removed in Nx 19 |
16+
| `registerProjectTargets?` | [`ProjectTargetConfigurator`](../../devkit/documents/ProjectTargetConfigurator) | **`Deprecated`** Add targets to the projects inside of [CreateNodes](../../devkit/documents/CreateNodes) instead. This will be removed in Nx 19 |

docs/generated/devkit/ProjectGraphBuilder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A class which builds up a project graph
44

55
**`Deprecated`**
66

7-
The ProjectGraphProcessor has been deprecated. Use a [CreateNodes](../../devkit/documents/CreateNodes) and/or a [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 18.
7+
The ProjectGraphProcessor has been deprecated. Use a [CreateNodes](../../devkit/documents/CreateNodes) and/or a [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 19.
88

99
## Table of contents
1010

docs/generated/devkit/ProjectGraphProcessorContext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Additional information to be used to process a project graph
44

55
**`Deprecated`**
66

7-
The ProjectGraphProcessor is deprecated. This will be removed in Nx 18.
7+
The ProjectGraphProcessor is deprecated. This will be removed in Nx 19.
88

99
## Table of contents
1010

docs/generated/devkit/ProjectTargetConfigurator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818

1919
**`Deprecated`**
2020

21-
Add targets to the projects in a [CreateNodes](../../devkit/documents/CreateNodes) function instead. This will be removed in Nx 18
21+
Add targets to the projects in a [CreateNodes](../../devkit/documents/CreateNodes) function instead. This will be removed in Nx 19

docs/generated/devkit/TaskHasher.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
**`Deprecated`**
2727

28-
use hashTask(task:Task, taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. This will be removed in v18
28+
use hashTask(task:Task, taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. This will be removed in v19
2929

3030
**hashTask**(`task`, `taskGraph`): `Promise`\<[`Hash`](../../devkit/documents/Hash)\>
3131

@@ -42,7 +42,7 @@ use hashTask(task:Task, taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. T
4242

4343
**`Deprecated`**
4444

45-
use hashTask(task:Task, taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. This will be removed in v18
45+
use hashTask(task:Task, taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. This will be removed in v19
4646

4747
**hashTask**(`task`, `taskGraph`, `env`): `Promise`\<[`Hash`](../../devkit/documents/Hash)\>
4848

@@ -76,7 +76,7 @@ use hashTask(task:Task, taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. T
7676

7777
**`Deprecated`**
7878

79-
use hashTasks(tasks:Task[], taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. This will be removed in v18
79+
use hashTasks(tasks:Task[], taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. This will be removed in v19
8080

8181
**hashTasks**(`tasks`, `taskGraph`): `Promise`\<[`Hash`](../../devkit/documents/Hash)[]\>
8282

@@ -93,7 +93,7 @@ use hashTasks(tasks:Task[], taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instea
9393

9494
**`Deprecated`**
9595

96-
use hashTasks(tasks:Task[], taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. This will be removed in v18
96+
use hashTasks(tasks:Task[], taskGraph: TaskGraph, env: NodeJS.ProcessEnv) instead. This will be removed in v19
9797

9898
**hashTasks**(`tasks`, `taskGraph`, `env`): `Promise`\<[`Hash`](../../devkit/documents/Hash)[]\>
9999

docs/generated/devkit/Workspaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**`Deprecated`**
44

5-
This will be removed in v18. Use [readProjectsConfigurationFromProjectGraph](../../devkit/documents/readProjectsConfigurationFromProjectGraph) instead.
5+
This will be removed in v19. Use [readProjectsConfigurationFromProjectGraph](../../devkit/documents/readProjectsConfigurationFromProjectGraph) instead.
66

77
## Table of contents
88

0 commit comments

Comments
 (0)