Skip to content

Commit

Permalink
Merge branch 'master' into feature/support-cjs-and-mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhe554 committed Jan 31, 2024
2 parents 2e2673b + 8d4869d commit 12900c2
Show file tree
Hide file tree
Showing 845 changed files with 8,191 additions and 6,309 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -87,6 +87,8 @@ jobs:
NX_CI_EXECUTION_ENV: 'linux'
steps:
- checkout
- nx/set-shas:
main-branch-name: 'master'
- run: npx nx-cloud@next start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" --stop-agents-after="e2e"
- run:
command: |
Expand All @@ -96,8 +98,6 @@ jobs:
- browser-tools/install-chromedriver
- run-pnpm-install:
os: linux
- nx/set-shas:
main-branch-name: 'master'
- run:
name: Check Documentation
command: pnpm nx documentation --no-dte
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/publish.yml
Expand Up @@ -157,7 +157,7 @@ jobs:
if-no-files-found: error

build-freebsd:
runs-on: macos-12
runs-on: macos-13-large
name: Build FreeBSD
timeout-minutes: 45
steps:
Expand All @@ -166,7 +166,7 @@ jobs:
- name: Build
id: build
if: ${{ github.event_name != 'schedule' }}
uses: cross-platform-actions/action@v0.21.1
uses: cross-platform-actions/action@v0.22.0
env:
DEBUG: napi:*
RUSTUP_IO_THREADS: 1
Expand Down Expand Up @@ -223,6 +223,10 @@ jobs:
needs:
- build-freebsd
- build
env:
GH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
Expand All @@ -235,6 +239,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
check-latest: true
cache: 'pnpm'
- name: Check NPM Credentials
run: npm whoami && echo "NPM credentials are valid" || (echo "NPM credentials are invalid or have expired." && exit 1)
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Download all artifacts
Expand Down Expand Up @@ -271,7 +277,3 @@ jobs:
git branch -f website
git push -f origin website
fi
env:
GH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
2 changes: 1 addition & 1 deletion docs/generated/cli/affected-graph.md
Expand Up @@ -5,7 +5,7 @@ description: 'Graph dependencies affected by changes'

# affected:graph

**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.
**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.

Graph dependencies affected by changes

Expand Down
2 changes: 1 addition & 1 deletion docs/generated/cli/print-affected.md
Expand Up @@ -5,7 +5,7 @@ description: 'Prints information about the projects and targets affected by chan

# print-affected

**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.
**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.

Prints information about the projects and targets affected by changes

Expand Down
8 changes: 4 additions & 4 deletions docs/generated/devkit/NxPluginV1.md
Expand Up @@ -4,13 +4,13 @@

**`Deprecated`**

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

#### Type declaration

| Name | Type | Description |
| :------------------------ | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name` | `string` | - |
| `processProjectGraph?` | `ProjectGraphProcessor` | **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) and [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 18 |
| `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 |
| `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 |
| `processProjectGraph?` | `ProjectGraphProcessor` | **`Deprecated`** Use [CreateNodes](../../devkit/documents/CreateNodes) and [CreateDependencies](../../devkit/documents/CreateDependencies) instead. This will be removed in Nx 19 |
| `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 |
| `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 |
2 changes: 1 addition & 1 deletion docs/generated/devkit/ProjectGraphBuilder.md
Expand Up @@ -4,7 +4,7 @@ A class which builds up a project graph

**`Deprecated`**

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.
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.

## Table of contents

Expand Down
2 changes: 1 addition & 1 deletion docs/generated/devkit/ProjectGraphProcessorContext.md
Expand Up @@ -4,7 +4,7 @@ Additional information to be used to process a project graph

**`Deprecated`**

The ProjectGraphProcessor is deprecated. This will be removed in Nx 18.
The ProjectGraphProcessor is deprecated. This will be removed in Nx 19.

## Table of contents

Expand Down
2 changes: 1 addition & 1 deletion docs/generated/devkit/ProjectTargetConfigurator.md
Expand Up @@ -18,4 +18,4 @@

**`Deprecated`**

Add targets to the projects in a [CreateNodes](../../devkit/documents/CreateNodes) function instead. This will be removed in Nx 18
Add targets to the projects in a [CreateNodes](../../devkit/documents/CreateNodes) function instead. This will be removed in Nx 19
8 changes: 4 additions & 4 deletions docs/generated/devkit/TaskHasher.md
Expand Up @@ -25,7 +25,7 @@

**`Deprecated`**

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

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

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

**`Deprecated`**

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

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

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

**`Deprecated`**

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

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

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

**`Deprecated`**

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

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

Expand Down
2 changes: 1 addition & 1 deletion docs/generated/devkit/Workspaces.md
Expand Up @@ -2,7 +2,7 @@

**`Deprecated`**

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

## Table of contents

Expand Down
Expand Up @@ -15,7 +15,7 @@

**`Deprecated`**

Pass the target and overrides instead. This will be removed in v18.
Pass the target and overrides instead. This will be removed in v19.

**getOutputsForTargetAndConfiguration**(`target`, `overrides`, `node`): `string`[]

Expand Down
32 changes: 32 additions & 0 deletions docs/generated/manifests/menus.json
Expand Up @@ -6789,6 +6789,14 @@
"isExternal": false,
"disableCollapsible": false
},
{
"id": "convert-to-application-executor",
"path": "/nx-api/angular/generators/convert-to-application-executor",
"name": "convert-to-application-executor",
"children": [],
"isExternal": false,
"disableCollapsible": false
},
{
"id": "directive",
"path": "/nx-api/angular/generators/directive",
Expand Down Expand Up @@ -7523,6 +7531,14 @@
"children": [],
"isExternal": false,
"disableCollapsible": false
},
{
"id": "serve",
"path": "/nx-api/expo/executors/serve",
"name": "serve",
"children": [],
"isExternal": false,
"disableCollapsible": false
}
],
"isExternal": false,
Expand Down Expand Up @@ -8999,6 +9015,14 @@
"children": [],
"isExternal": false,
"disableCollapsible": false
},
{
"id": "upgrade",
"path": "/nx-api/react-native/executors/upgrade",
"name": "upgrade",
"children": [],
"isExternal": false,
"disableCollapsible": false
}
],
"isExternal": false,
Expand Down Expand Up @@ -9072,6 +9096,14 @@
"children": [],
"isExternal": false,
"disableCollapsible": false
},
{
"id": "web-configuration",
"path": "/nx-api/react-native/generators/web-configuration",
"name": "web-configuration",
"children": [],
"isExternal": false,
"disableCollapsible": false
}
],
"isExternal": false,
Expand Down
44 changes: 40 additions & 4 deletions docs/generated/manifests/nx-api.json
Expand Up @@ -177,6 +177,15 @@
"path": "/nx-api/angular/generators/component-test",
"type": "generator"
},
"/nx-api/angular/generators/convert-to-application-executor": {
"description": "Converts projects to use the `@nx/angular:application` executor or the `@angular-devkit/build-angular:application` builder. _Note: this is only supported in Angular versions >= 17.0.0_.",
"file": "generated/packages/angular/generators/convert-to-application-executor.json",
"hidden": false,
"name": "convert-to-application-executor",
"originalFilePath": "/packages/angular/src/generators/convert-to-application-executor/schema.json",
"path": "/nx-api/angular/generators/convert-to-application-executor",
"type": "generator"
},
"/nx-api/angular/generators/directive": {
"description": "Generate an Angular directive.",
"file": "generated/packages/angular/generators/directive.json",
Expand Down Expand Up @@ -895,6 +904,15 @@
"originalFilePath": "/packages/expo/src/executors/submit/schema.json",
"path": "/nx-api/expo/executors/submit",
"type": "executor"
},
"/nx-api/expo/executors/serve": {
"description": "Serve up the Expo web app locally",
"file": "generated/packages/expo/executors/serve.json",
"hidden": false,
"name": "serve",
"originalFilePath": "/packages/expo/src/executors/serve/schema.json",
"path": "/nx-api/expo/executors/serve",
"type": "executor"
}
},
"generators": {
Expand Down Expand Up @@ -2356,11 +2374,20 @@
"originalFilePath": "/packages/react-native/src/executors/pod-install/schema.json",
"path": "/nx-api/react-native/executors/pod-install",
"type": "executor"
},
"/nx-api/react-native/executors/upgrade": {
"description": "upgrade executor",
"file": "generated/packages/react-native/executors/upgrade.json",
"hidden": false,
"name": "upgrade",
"originalFilePath": "/packages/react-native/src/executors/upgrade/schema.json",
"path": "/nx-api/react-native/executors/upgrade",
"type": "executor"
}
},
"generators": {
"/nx-api/react-native/generators/init": {
"description": "Initialize the `@nrwl/react-native` plugin.",
"description": "Initialize the `@nx/react-native` plugin.",
"file": "generated/packages/react-native/generators/init.json",
"hidden": true,
"name": "init",
Expand Down Expand Up @@ -2396,7 +2423,7 @@
"type": "generator"
},
"/nx-api/react-native/generators/storybook-configuration": {
"description": "Set up Storybook for a React-native application or library.",
"description": "Set up Storybook for a React Native application or library.",
"file": "generated/packages/react-native/generators/storybook-configuration.json",
"hidden": false,
"name": "storybook-configuration",
Expand All @@ -2405,7 +2432,7 @@
"type": "generator"
},
"/nx-api/react-native/generators/component-story": {
"description": "Generate Storybook story for a React-native component.",
"description": "Generate Storybook story for a React Native component.",
"file": "generated/packages/react-native/generators/component-story.json",
"hidden": false,
"name": "component-story",
Expand All @@ -2414,7 +2441,7 @@
"type": "generator"
},
"/nx-api/react-native/generators/stories": {
"description": "Create stories/specs for all components declared in an application or library.",
"description": "Create stories for all components declared in an application or library.",
"file": "generated/packages/react-native/generators/stories.json",
"hidden": false,
"name": "stories",
Expand All @@ -2430,6 +2457,15 @@
"originalFilePath": "/packages/react-native/src/generators/upgrade-native/schema.json",
"path": "/nx-api/react-native/generators/upgrade-native",
"type": "generator"
},
"/nx-api/react-native/generators/web-configuration": {
"description": "Set up web configuration for a React Native app",
"file": "generated/packages/react-native/generators/web-configuration.json",
"hidden": false,
"name": "web-configuration",
"originalFilePath": "/packages/react-native/src/generators/web-configuration/schema.json",
"path": "/nx-api/react-native/generators/web-configuration",
"type": "generator"
}
},
"path": "/nx-api/react-native"
Expand Down

0 comments on commit 12900c2

Please sign in to comment.