Compare commits

...

68 Commits

Author SHA1 Message Date
Isaac Mann 6750771d65 docs(core): contact dpe for eu cluster (#26753)
Adds note explaining that enterprise customers need to work with their
DPE to use the EU hosted version of Nx Cloud
2024-06-28 14:12:42 -04:00
Isaac Mann 8d39321844 feat(nx-dev): website-17 noindex (#26334)
Add No_NEXT_PUBLIC_NO_INDEX environment variable to turn off indexing

Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
2024-06-03 12:28:49 -04:00
Isaac Mann 91ae38d766 docs(core): punctuation change 2024-05-21 15:13:20 -04:00
FrozenPandaz 96e0e2b333 chore(vite): fix unit tests 2024-02-02 23:49:07 -05:00
Craigory Coppola c1310b586d fix(core): target defaults from specifier should not be clobbered by name based target defaults (#21539)
(cherry picked from commit 4a5a92fb49)
2024-02-02 23:49:07 -05:00
Rares Matei 30c626536f chore(repo): use latest workflows config (#21521)
(cherry picked from commit a5687d092c)
2024-02-02 23:49:06 -05:00
Miroslav Jonaš 2eb05ca1a0 feat(core): add log lines grouping for GH Actions (#21357)
(cherry picked from commit 7739ce013b)
2024-02-02 23:49:06 -05:00
Jason Jean 47363ee06b fix(core): do not watch temporary vite files (#21514)
(cherry picked from commit 6e4bf8cbf2)
2024-02-02 23:49:05 -05:00
Ian Chadwick c46a06d5dc fix(vite): deep file resolution in nx-tsconfig-paths.plugin.ts (#21513)
(cherry picked from commit 9a9bd2abd3)
2024-02-02 23:49:05 -05:00
Jonathan Cammisuli eda863727f fix(core): remove the full workspace path with node_modules from the path env variable when running run-scripts (#21532)
(cherry picked from commit 87443ad29c)
2024-02-02 23:49:04 -05:00
Emily Xiong 5df1dc1f75 fix(js): package type is module should emit esm (#21473)
(cherry picked from commit d1bf692704)
2024-02-02 23:49:04 -05:00
Craigory Coppola 9b04eb99fd fix(core): handle negative patterns better when specified in pnpm-workspaces (#19983)
(cherry picked from commit 2753565551)
2024-02-02 23:49:03 -05:00
Miroslav Jonaš f3d326befa fix(linter): prevent dep-checks leaking when used outside nx (#21404)
(cherry picked from commit a0ae902e4e)
2024-02-02 23:49:03 -05:00
Miroslav Jonaš 129b687889 fix(linter): remove reportUnusedDisableDirectives for flat config (#21405)
(cherry picked from commit 35b5ca756e)
2024-02-02 23:49:02 -05:00
Leosvel Pérez Espinosa e63eae67b1 fix(angular): handle indexHtmlTransformer option in dev-server correctly (#21520)
(cherry picked from commit 3b5f4a21ce)
2024-02-02 23:49:02 -05:00
Nicholas Cunningham aa2ad3747f fix(core): Update Nx Welcome to include nx show project (#21509)
(cherry picked from commit ea5befbbbc)
2024-02-02 23:49:01 -05:00
Craigory Coppola 21cdf545a8 fix(core): nx build --graph file.json should work in subdirectories (#19858)
(cherry picked from commit 322ecf7a08)
2024-02-02 23:49:01 -05:00
Craigory Coppola fa8cee6d4e fix(core): target defaults should be able to apply to multiple targets with the same executor (#21438)
(cherry picked from commit c4b9a82319)
2024-02-02 23:49:00 -05:00
Jonathan Cammisuli 341bd1bd06 fix(core): do not run pty in run-script when we're not TTY (#21496)
(cherry picked from commit 09abd39ecc)
2024-02-02 11:27:37 -05:00
Austin Fahsl 10da2b532a fix(release): skip lock file update if yarn classic (#21489)
(cherry picked from commit f21b86cff2)
2024-02-02 11:27:33 -05:00
MaxKless d8be33fa64 fix(graph): don't show open config button on nx.dev & refactor tooltips (#21463)
(cherry picked from commit 65ba819019)
2024-02-02 11:27:25 -05:00
Simeon Cheeseman 210117c7cc feat(linter): add error and warning statistics (#18313)
(cherry picked from commit ec4f7c5532)
2024-02-02 11:27:09 -05:00
Miroslav Jonaš 886208aaa2 fix(linter): ensure flat config generator works for pcv3 plugin (#21485)
(cherry picked from commit c753838c81)
2024-02-02 11:26:51 -05:00
Jonathan Cammisuli 8ec7406a16 fix(core): always remove cursor reset in terminal output for Windows (#21467)
(cherry picked from commit 8d4869dd8a)
2024-02-02 11:26:47 -05:00
Jason Jean 55a09268e1 chore(repo): use large macos 13 agents for freebsd (#21468)
(cherry picked from commit d43d5365c8)
2024-02-02 11:26:40 -05:00
Nicholas Cunningham a07c5fd7d5 fix(core): Add missing migration from playwright (#21448)
(cherry picked from commit 1d87707f54)
2024-02-02 11:26:35 -05:00
Lukas 33659ba8ea fix(misc): use caret for semver version (#18140)
(cherry picked from commit 857a07d87d)
2024-02-02 11:26:30 -05:00
Colum Ferry b60ff9378d fix(module-federation): ensure incorrect tsconfig path mappings are not used #21391 (#21416)
(cherry picked from commit fbca31ac37)
2024-02-02 11:26:26 -05:00
Colum Ferry e67c1810e7 fix(module-federation): ensure the static remotes env var is used for task hashing #21390 (#21414)
(cherry picked from commit f0f5039962)
2024-02-02 11:26:24 -05:00
Emily Xiong 1cc43301ac fix(graph): fix expand when using external api (#21433)
(cherry picked from commit a9378415bf)
2024-02-02 11:26:18 -05:00
Mihail Golban c39ffeaa97 fix(nest): exclude react-specific packages when generating nx nest monorepo (#21153)
Co-authored-by: Mihail Golban <mihail.golban@proovia.co.uk>
(cherry picked from commit babd361cb8)
2024-02-02 11:26:16 -05:00
andreasmoller25 5073386a8c fix(webpack): correctly handle data URIs with escaped quotes in style… (#20988)
(cherry picked from commit ecddfe1065)
2024-02-02 11:26:14 -05:00
Remco Krams 97038efd82 fix(testing): fix config references to js files (#21018)
(cherry picked from commit e4b1ab6c61)
2024-02-02 11:26:07 -05:00
Leosvel Pérez Espinosa 216250c3e6 fix(misc): set $schema in nx.json generated during nx init (#21455)
(cherry picked from commit 90b60f2b0c)
2024-02-02 11:26:02 -05:00
James Henry eadea032c8 chore(repo): bump cross-platform-actions to latest (#21459)
(cherry picked from commit b8a82cfa7c)
2024-02-02 11:25:55 -05:00
Phillip Barta e3e9cbe03f fix(core): update axios to address CVE-2023-45857 (#20493)
(cherry picked from commit f0d93d0e43)
2024-02-02 11:25:46 -05:00
Miroslav Jonaš b623ce9400 fix(linter): make eslint mandatory dependency (#21406)
(cherry picked from commit 7ed534f92b)
2024-02-02 11:25:43 -05:00
Jonathan Cammisuli 969f022e64 fix(core): do not append node_module paths in run-script executor (#21445)
(cherry picked from commit 1327904190)
2024-01-30 20:06:42 -05:00
Craigory Coppola 7f2eedccf7 fix(linter): make target default migrations a bit more robust (#21446)
(cherry picked from commit d44e7de5dc)
2024-01-30 20:06:35 -05:00
Jonathan Cammisuli d57edc5a65 fix(core): include typescript package when calculating project hashes (#21285)
(cherry picked from commit 3b815348b9)
2024-01-30 20:06:26 -05:00
Denis Frenademetz 2dc67746f1 fix(core): new generator not skipping package installation (#17927)
(cherry picked from commit abafedf8e5)
2024-01-30 20:06:23 -05:00
Craigory Coppola b6d2f88e82 chore(repo): bump deprecation messages to v19 (#21430)
(cherry picked from commit deb0f1a492)
2024-01-30 20:06:18 -05:00
Craigory Coppola 3cfed3dea7 fix(core): remove misleading message at front of error (#21443)
(cherry picked from commit ce465dcff4)
2024-01-30 20:06:08 -05:00
Craigory Coppola 6c0b43cddf fix(angular): should not log invalid extension includedScripts (#21441)
(cherry picked from commit eeb930c5a8)
2024-01-30 20:06:00 -05:00
Altan Stalker 516bc13354 chore(repo): run set-shas orb before invoking start-ci-run (#21437)
(cherry picked from commit b505262148)
2024-01-30 20:05:56 -05:00
Dmitry Zakharov dc72a82d31 chore(repo): bump @babel/core plugin-transform-runtime to 7.23.2 (#20952)
(cherry picked from commit 8ee8f3ffc3)
2024-01-30 20:05:49 -05:00
wout junius c9201b7e22 feat(devkit): improving error handeling read target options (#20336)
(cherry picked from commit 946c6a745d)
2024-01-30 20:05:44 -05:00
Phillip Barta 258ad72b1a cleanup(bundling): remove unused dependency fast-glob from @nx/rollup (#20494)
(cherry picked from commit 153905d4ec)
2024-01-30 20:05:35 -05:00
Tobbb 0e8588f788 feat(react-native): add useTransformReactJSX babel config to generators (#19170)
(cherry picked from commit 2f5bca065b)
2024-01-30 20:05:29 -05:00
Miloš Lajtman bdb82f953a fix(react): import SupportedStyles type from correct path (#20239)
(cherry picked from commit 1d10023810)
2024-01-30 20:05:19 -05:00
Adam Hunter 1887f7e37c fix(nx-dev): remove unmatched bracket. updates warning description (#19481)
(cherry picked from commit 77a5c9eaa8)
2024-01-30 20:05:13 -05:00
Jan Pretzel 8b99a7c973 fix(bundling): consider index/folder imports in manual file resolution (#19030)
(cherry picked from commit 82a0d613d2)
2024-01-30 20:05:10 -05:00
Leosvel Pérez Espinosa b3072daec4 fix(nextjs): lazy load plugin import (#21426)
(cherry picked from commit eb1cab2b6c)
2024-01-30 20:05:07 -05:00
Benjamin Kroeger 59e87d7157 fix(vue): do not add @vue/tsconfig dependency (#19873)
Signed-off-by: Benjamin Kroeger <benjamin.kroeger@gmail.com>
(cherry picked from commit cd2d9495b7)
2024-01-30 20:05:04 -05:00
James Henry 88b4eb0870 fix(linter): restore rules to match previous @typescript-eslint/recommended (#21424)
(cherry picked from commit c286a6e799)
2024-01-30 20:05:01 -05:00
beeman 52d6b0da66 docs(misc): change http:// to https:// (#19534)
(cherry picked from commit a9974d3f25)
2024-01-30 20:04:53 -05:00
Leosvel Pérez Espinosa 2c16ca3036 feat(angular): add generator to convert targets to use the esbuild-based application executor (#21333)
(cherry picked from commit 7a77b0d6a7)
2024-01-30 20:04:44 -05:00
MaxKless 657af67210 fix(graph): repair externalApiService usage broken after refactor (#21422)
(cherry picked from commit 8a294b1823)
2024-01-30 20:04:29 -05:00
Leosvel Pérez Espinosa c4d4fb59d4 chore(nx-dev): add missing projects to playwright config (#21423)
(cherry picked from commit 230e6c06cc)
2024-01-30 20:04:18 -05:00
Christian Käslin 59d169ffc9 fix: nestjs lib generator pass skipPackageJson flag to js lib generator (#20442)
(cherry picked from commit 8b371b09d6)
2024-01-30 20:04:12 -05:00
Vinit Neogi 99c9127dff feat(vite): allow passing path to custom tsconfig file when skipTypeCheck is false (#19784)
(cherry picked from commit d147604c7f)
2024-01-30 20:04:08 -05:00
Vinit Neogi 2ea4dbd0e1 fix(vite): prevent vite:build copying package.json when generatePackageJson false (#19780)
(cherry picked from commit 85b3a5f3b9)
2024-01-30 20:03:55 -05:00
Leosvel Pérez Espinosa 57c5c67c05 fix(misc): prevent ts-node from reading tsconfig when registering transpiler (#21381)
(cherry picked from commit 875143b330)
2024-01-30 20:03:50 -05:00
Leosvel Pérez Espinosa d80b41f949 fix(angular): fix dev-server validation for esbuildMiddleware (#21413)
(cherry picked from commit 1640a671f0)
2024-01-30 20:03:40 -05:00
Zac Bristow 1b32b9517f fix(js): allow inlined libs without imports (#20649)
(cherry picked from commit 169a3f56c5)
2024-01-30 20:03:35 -05:00
Miloš Lajtman 1e325e9247 fix(linter): remove extend of @angular-eslint/recommended--extra config (#18465)
(cherry picked from commit bb3cf3a862)
2024-01-30 20:03:29 -05:00
Michal Jez fa04e2786a feat(core): don't clear NX_BASE or NX_HEAD (#20125)
(cherry picked from commit f9009e909f)
2024-01-30 20:03:22 -05:00
Nicholas Cunningham 6bb1da7d55 fix(nextjs): Add missing support swc for custom server (#21401)
(cherry picked from commit d31b951bd1)
2024-01-30 20:03:09 -05:00
682 changed files with 4945 additions and 2988 deletions
+2 -2
View File
@@ -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: |
@@ -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
+8 -6
View File
@@ -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:
@@ -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
@@ -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
@@ -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
@@ -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
+1 -1
View File
@@ -1,7 +1,7 @@
launch-templates:
linux-medium:
resource-class: 'docker_linux_amd64/medium+'
image: 'ubuntu22.04-node20.9-withDind-v1'
image: 'ubuntu22.04-node20.9-v2'
env:
GIT_AUTHOR_EMAIL: test@test.com
GIT_AUTHOR_NAME: Test
+1 -1
View File
@@ -1,4 +1,4 @@
distributes-on:
distribute-on:
small-changeset: 8 linux-medium
medium-changeset: 10 linux-medium
large-changeset: 12 linux-medium
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+4 -4
View File
@@ -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 |
+1 -1
View File
@@ -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
@@ -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
@@ -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
+4 -4
View File
@@ -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)\>
@@ -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)\>
@@ -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)[]\>
@@ -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)[]\>
+1 -1
View File
@@ -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
@@ -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`[]
+8
View File
@@ -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",
+9
View File
@@ -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",
+9
View File
@@ -172,6 +172,15 @@
"path": "angular/generators/component-test",
"type": "generator"
},
{
"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": "angular/generators/convert-to-application-executor",
"type": "generator"
},
{
"description": "Generate an Angular directive.",
"file": "generated/packages/angular/generators/directive.json",
@@ -17,7 +17,7 @@
"type": "string",
"description": "A browser builder target to serve in the format of `project:target[:configuration]`. Ignored if `buildTarget` is set.",
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$",
"x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v18."
"x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v19."
},
"buildTarget": {
"type": "string",
@@ -15,7 +15,7 @@
"type": "string",
"description": "A browser builder target to serve in the format of `project:target[:configuration]`.",
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$",
"x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v18."
"x-deprecated": "Use 'buildTarget' instead. It will be removed in Nx v19."
},
"buildTarget": {
"type": "string",
@@ -4,7 +4,7 @@
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "ng-packagr Target",
"description": "Builds a library with support for incremental builds.\n\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nx/angular:package` executor but with some key differences:\n- For supported Angular versions lower than v16, it doesn't run `ngcc` automatically (`ngcc` is no longer available from Angular v16 onwards, for lower versions, it needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2022 bundles (ESM2020 for supported Angular versions lower than v16).",
"cli": "nx",
@@ -4,7 +4,7 @@
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "ng-packagr Target",
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\n\nThis executor is similar to the `@angular-devkit/build-angular:ng-packagr` with additional support for incremental builds.",
"cli": "nx",
@@ -554,9 +554,10 @@
"x-priority": "important",
"additionalProperties": false
},
"indexFileTransformer": {
"indexHtmlTransformer": {
"description": "Path to transformer function to transform the index.html",
"type": "string"
"type": "string",
"alias": "indexFileTransformer"
},
"buildLibsFromSource": {
"type": "boolean",
@@ -2,7 +2,7 @@
"name": "add-linting",
"factory": "./src/generators/add-linting/add-linting",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularAddLintingGenerator",
"title": "Add linting to an Angular project.",
"description": "Adds linting configuration to an Angular project.",
@@ -2,7 +2,7 @@
"name": "application",
"factory": "./src/generators/application/application#applicationGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "GeneratorNxApp",
"title": "Creates an Angular application.",
"description": "Creates an Angular application.",
@@ -38,15 +38,15 @@
{ "value": "css", "label": "CSS" },
{
"value": "scss",
"label": "SASS(.scss) [ http://sass-lang.com ]"
"label": "SASS(.scss) [ https://sass-lang.com ]"
},
{
"value": "sass",
"label": "SASS(.sass) [ http://sass-lang.com ]"
"label": "SASS(.sass) [ https://sass-lang.com ]"
},
{
"value": "less",
"label": "LESS [ http://lesscss.org ]"
"label": "LESS [ https://lesscss.org ]"
}
]
}
@@ -2,7 +2,7 @@
"name": "component-cypress-spec",
"factory": "./src/generators/component-cypress-spec/component-cypress-spec",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularComponentCypressSpecGenerator",
"type": "object",
"cli": "nx",
@@ -2,7 +2,7 @@
"name": "component-test",
"factory": "./src/generators/component-test/component-test",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularComponentTestGenerator",
"type": "object",
"cli": "nx",
@@ -32,7 +32,7 @@
"description": "The name of the project.",
"$default": { "$source": "projectName" },
"x-dropdown": "projects",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},
"prefix": {
"type": "string",
@@ -96,7 +96,7 @@
"type": "boolean",
"description": "Create the new files at the top level of the current project.",
"default": false,
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
},
"skipImport": {
"type": "boolean",
@@ -0,0 +1,34 @@
{
"name": "convert-to-application-executor",
"factory": "./src/generators/convert-to-application-executor/convert-to-application-executor",
"schema": {
"$schema": "http://json-schema.org/schema",
"$id": "NxAngularConvertToApplicationExecutorGenerator",
"cli": "nx",
"title": "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_.",
"description": "Converts a project or all projects using one of the `@angular-devkit/build-angular:browser`, `@angular-devkit/build-angular:browser-esbuild`, `@nx/angular:browser` and `@nx/angular:browser-esbuild` executors to use the `@nx/angular:application` executor or the `@angular-devkit/build-angular:application` builder. If the converted target is using one of the `@nx/angular` executors, the `@nx/angular:application` executor will be used. Otherwise, the `@angular-devkit/build-angular:application` builder will be used.",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "Name of the Angular application project to convert. It has to contain a target using one of the `@angular-devkit/build-angular:browser`, `@angular-devkit/build-angular:browser-esbuild`, `@nx/angular:browser` and `@nx/angular:browser-esbuild` executors. If not specified, all projects with such targets will be converted.",
"$default": { "$source": "argv", "index": 0 },
"x-priority": "important"
},
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false,
"x-priority": "internal"
}
},
"additionalProperties": false,
"presets": []
},
"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_.",
"implementation": "/packages/angular/src/generators/convert-to-application-executor/convert-to-application-executor.ts",
"aliases": [],
"hidden": false,
"path": "/packages/angular/src/generators/convert-to-application-executor/schema.json",
"type": "generator"
}
@@ -32,7 +32,7 @@
"description": "The name of the project.",
"$default": { "$source": "projectName" },
"x-dropdown": "projects",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},
"prefix": {
"type": "string",
@@ -67,7 +67,7 @@
"type": "boolean",
"description": "When true (the default), creates the new files at the top level of the current project.",
"default": true,
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
},
"module": {
"type": "string",
@@ -2,7 +2,7 @@
"name": "federate-module",
"factory": "./src/generators/federate-module/federate-module",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"cli": "nx",
"$id": "NxReactFederateModule",
"title": "Federate Module",
@@ -2,7 +2,7 @@
"name": "host",
"factory": "./src/generators/host/host#hostInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxMFHost",
"cli": "nx",
"title": "Nx Module Federation Host Application",
@@ -52,15 +52,15 @@
{ "value": "css", "label": "CSS" },
{
"value": "scss",
"label": "SASS(.scss) [ http://sass-lang.com ]"
"label": "SASS(.scss) [ https://sass-lang.com ]"
},
{
"value": "sass",
"label": "SASS(.sass) [ http://sass-lang.com ]"
"label": "SASS(.sass) [ https://sass-lang.com ]"
},
{
"value": "less",
"label": "LESS [ http://lesscss.org ]"
"label": "LESS [ https://lesscss.org ]"
}
]
}
@@ -2,7 +2,7 @@
"name": "init",
"factory": "./src/generators/init/init",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "SchematicsAngularModuleInit",
"cli": "nx",
"title": "Init Angular Plugin",
@@ -2,7 +2,7 @@
"name": "library-secondary-entry-point",
"factory": "./src/generators/library-secondary-entry-point/library-secondary-entry-point",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularLibrarySecondaryEntryPoint",
"title": "Creates a secondary entry point for a library",
"description": "Creates a secondary entry point for an Angular publishable library.",
@@ -2,7 +2,7 @@
"name": "library",
"factory": "./src/generators/library/library#libraryGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "GeneratorAngularLibrary",
"title": "Create a library",
"description": "Creates an Angular library.",
@@ -2,7 +2,7 @@
"name": "move",
"factory": "./src/generators/move/move#angularMoveGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularMove",
"cli": "nx",
"title": "Nx Angular Move",
@@ -62,7 +62,7 @@
},
"aliases": ["mv"],
"description": "Moves an Angular application or library to another folder within the workspace and updates the project configuration.",
"x-deprecated": "Use the `@nx/workspace:move` generator instead. This generator will be removed in Nx v18.",
"x-deprecated": "Use the `@nx/workspace:move` generator instead. This generator will be removed in Nx v19.",
"implementation": "/packages/angular/src/generators/move/move#angularMoveGeneratorInternal.ts",
"hidden": false,
"path": "/packages/angular/src/generators/move/schema.json",
@@ -2,7 +2,7 @@
"name": "ng-add",
"factory": "./src/generators/ng-add/ng-add",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularNgAddGenerator",
"title": "Angular plugin initialization",
"cli": "nx",
@@ -2,7 +2,7 @@
"name": "ngrx-feature-store",
"factory": "./src/generators/ngrx-feature-store/ngrx-feature-store",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNgrxFeatureStoreGenerator",
"title": "NgRx Feature Store Generator",
"description": "Add an NgRx Feature Store to an application or library.",
@@ -2,7 +2,7 @@
"name": "ngrx-root-store",
"factory": "./src/generators/ngrx-root-store/ngrx-root-store",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNgrxRootStoreGenerator",
"title": "Add NgRx support to an application.",
"description": "Adds NgRx support to an application.",
@@ -2,7 +2,7 @@
"name": "ngrx",
"factory": "./src/generators/ngrx/ngrx",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNgrxGenerator",
"title": "Add NgRx support to an application or library.",
"description": "Adds NgRx support to an application or library.",
@@ -32,13 +32,13 @@
"description": "The name of the project.",
"$default": { "$source": "projectName" },
"x-dropdown": "projects",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},
"flat": {
"type": "boolean",
"default": true,
"description": "When true (the default) creates files at the top level of the project.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
},
"skipTests": {
"type": "boolean",
@@ -2,7 +2,7 @@
"name": "remote",
"factory": "./src/generators/remote/remote#remoteInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxMFRemote",
"cli": "nx",
"title": "Nx Module Federation Remote App",
@@ -52,15 +52,15 @@
{ "value": "css", "label": "CSS" },
{
"value": "scss",
"label": "SASS(.scss) [ http://sass-lang.com ]"
"label": "SASS(.scss) [ https://sass-lang.com ]"
},
{
"value": "sass",
"label": "SASS(.sass) [ http://sass-lang.com ]"
"label": "SASS(.sass) [ https://sass-lang.com ]"
},
{
"value": "less",
"label": "LESS [ http://lesscss.org ]"
"label": "LESS [ https://lesscss.org ]"
}
]
}
@@ -39,7 +39,7 @@
"description": "The name of the project.",
"$default": { "$source": "projectName" },
"x-dropdown": "projects",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},
"skipTests": {
"type": "boolean",
@@ -56,7 +56,7 @@
"type": "boolean",
"description": "Create the new files at the top level of the current project.",
"default": true,
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
},
"selector": {
"type": "string",
@@ -39,7 +39,7 @@
"description": "The name of the project.",
"$default": { "$source": "projectName" },
"x-dropdown": "projects",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},
"skipTests": {
"type": "boolean",
@@ -56,7 +56,7 @@
"type": "boolean",
"description": "Create the new files at the top level of the current project.",
"default": true,
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
},
"export": {
"type": "boolean",
@@ -2,7 +2,7 @@
"name": "scam-to-standalone",
"factory": "./src/generators/scam-to-standalone/scam-to-standalone",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "GeneratorAngularScamToStandalone",
"cli": "nx",
"title": "Convert an Inline SCAM to Standalone Component",
@@ -38,7 +38,7 @@
"description": "The name of the project.",
"$default": { "$source": "projectName" },
"x-dropdown": "projects",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},
"displayBlock": {
"description": "Specifies if the style will contain `:host { display: block; }`.",
@@ -92,7 +92,7 @@
"type": "boolean",
"description": "Create the new files at the top level of the current project.",
"default": false,
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
},
"selector": {
"type": "string",
@@ -2,7 +2,7 @@
"name": "setup-mf",
"factory": "./src/generators/setup-mf/setup-mf",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "GeneratorAngularMFSetup",
"cli": "nx",
"title": "Generate Module Federation Setup for Angular App",
@@ -2,7 +2,7 @@
"name": "setup-ssr",
"factory": "./src/generators/setup-ssr/setup-ssr",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "GeneratorAngularUniversalSetup",
"cli": "nx",
"title": "Generate Angular Universal (SSR) setup for an Angular App",
@@ -2,7 +2,7 @@
"name": "setup-tailwind",
"factory": "./src/generators/setup-tailwind/setup-tailwind",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularTailwindSetupGenerator",
"cli": "nx",
"title": "Configures Tailwind CSS for an application or a buildable/publishable library.",
@@ -2,7 +2,7 @@
"name": "stories",
"factory": "./src/generators/stories/stories",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularStorybookStoriesGenerator",
"title": "Create Storybook stories/specs",
"description": "Creates Storybook stories/specs for all Angular components declared in a project.",
@@ -2,7 +2,7 @@
"name": "storybook-configuration",
"factory": "./src/generators/storybook-configuration/storybook-configuration",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxAngularStorybookConfigurationGenerator",
"title": "Adds Storybook configuration to a project.",
"description": "Adds Storybook configuration to a project to be able to use and create stories.",
@@ -29,7 +29,7 @@
"configureCypress": {
"type": "boolean",
"description": "Specifies whether to configure Cypress or not.",
"x-deprecated": "Use interactionTests instead. This option will be removed in v18."
"x-deprecated": "Use interactionTests instead. This option will be removed in v19."
},
"generateStories": {
"type": "boolean",
@@ -41,7 +41,7 @@
"generateCypressSpecs": {
"type": "boolean",
"description": "Specifies whether to automatically generate test files in the generated Cypress e2e app.",
"x-deprecated": "Use interactionTests instead. This option will be removed in v18."
"x-deprecated": "Use interactionTests instead. This option will be removed in v19."
},
"configureStaticServe": {
"type": "boolean",
@@ -53,7 +53,7 @@
"cypressDirectory": {
"type": "string",
"description": "A directory where the Cypress project will be placed. Placed at the root by default.",
"x-deprecated": "Use interactionTests instead. This option will be removed in v18."
"x-deprecated": "Use interactionTests instead. This option will be removed in v19."
},
"linter": {
"description": "The tool to use for running lint checks.",
@@ -3,7 +3,7 @@
"aliases": ["cypress-component-configuration"],
"factory": "./src/generators/component-configuration/component-configuration",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxCypressComponentConfiguration",
"cli": "nx",
"title": "Set up Cypress component testing for a project",
@@ -3,7 +3,7 @@
"aliases": ["cypress-e2e-configuration", "e2e", "e2e-config"],
"factory": "./src/generators/configuration/configuration",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxCypressE2EConfigGenerator",
"cli": "nx",
"title": "Add a Cypress Configuration.",
@@ -2,7 +2,7 @@
"name": "cypress-project",
"factory": "./src/generators/cypress-project/cypress-project#cypressProjectGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxCypressProjectGeneratorSchema",
"cli": "nx",
"title": "Create Cypress Configuration for the workspace",
@@ -2,7 +2,7 @@
"name": "init",
"factory": "./src/generators/init/init#cypressInitGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxCypressInit",
"cli": "nx",
"title": "Add Cypress Configuration to the workspace",
@@ -2,7 +2,7 @@
"name": "migrate-to-cypress-11",
"factory": "./src/generators/migrate-to-cypress-11/migrate-to-cypress-11#migrateCypressProject",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxCypressMigrateTo11",
"cli": "nx",
"title": "Migrate e2e project to Cypress 11",
@@ -2,7 +2,7 @@
"name": "application",
"factory": "./src/generators/application/application#detoxApplicationGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Create Detox Configuration for the workspace",
"description": "Create Detox Configuration for the workspace.",
"type": "object",
@@ -2,7 +2,7 @@
"name": "init",
"factory": "./src/generators/init/init#detoxInitGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Add Detox Schematics",
"description": "Add Detox Schematics.",
"type": "object",
@@ -3,7 +3,7 @@
"aliases": ["esbuild-project"],
"factory": "./src/generators/configuration/configuration",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxEsBuildProject",
"cli": "nx",
"title": "Add esbuild configuration to a project",
@@ -2,11 +2,11 @@
"name": "init",
"factory": "./src/generators/init/init#esbuildInitGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$id": "NxWebpackInit",
"$schema": "https://json-schema.org/schema",
"$id": "NxEsbuildInit",
"cli": "nx",
"title": "Init Webpack Plugin",
"description": "Init Webpack Plugin.",
"title": "Init Esbuild Plugin",
"description": "Init Esbuild Plugin.",
"type": "object",
"properties": {
"skipFormat": {
@@ -4,7 +4,7 @@
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "ESLint Lint Target",
"description": "ESLint Lint Target.",
"cli": "nx",
@@ -2,7 +2,7 @@
"name": "convert-to-flat-config",
"factory": "./src/generators/convert-to-flat-config/generator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "ConvertToFlatConfig",
"cli": "nx",
"description": "Convert an Nx workspace's ESLint configs to use Flat Config.",
@@ -2,7 +2,7 @@
"name": "init",
"factory": "./src/generators/init/init#lintInitGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"cli": "nx",
"$id": "NxESLintInit",
"title": "Initialize ESLint Plugin",
@@ -2,7 +2,7 @@
"name": "workspace-rule",
"factory": "./src/generators/workspace-rule/workspace-rule#lintWorkspaceRuleGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxWorkspaceRule",
"cli": "nx",
"title": "Create a new Workspace Lint Rule",
@@ -2,7 +2,7 @@
"name": "workspace-rules-project",
"factory": "./src/generators/workspace-rules-project/workspace-rules-project#lintWorkspaceRulesProjectGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxWorkspaceRulesProject",
"cli": "nx",
"title": "Create the Workspace Lint Rules Project",
@@ -4,7 +4,7 @@
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxExpoEasBuildList",
"cli": "nx",
"title": "Expo EAS Build List executor",
@@ -4,7 +4,7 @@
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxExpoEasBuild",
"cli": "nx",
"title": "Expo EAS Build executor",
@@ -6,7 +6,7 @@
"outputCapture": "direct-nodejs",
"cli": "nx",
"$id": "NxExpoEnsureSymlink",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Ensure Symlink for Expo",
"description": "Ensure workspace node_modules is symlink under app's node_modules folder.",
"type": "object",
@@ -6,7 +6,7 @@
"version": 2,
"outputCapture": "direct-nodejs",
"$id": "NxExpoExport",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Expo Export",
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler.",
"type": "object",
@@ -6,7 +6,7 @@
"version": 2,
"outputCapture": "direct-nodejs",
"$id": "NxExpoInstall",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Expo Install",
"description": "Install a module or other package to a project.",
"type": "object",
@@ -6,7 +6,7 @@
"version": 2,
"outputCapture": "direct-nodejs",
"$id": "NxExpoPrebuild",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Expo Prebuild",
"description": "Create native iOS and Android project files for building natively.",
"type": "object",
@@ -6,7 +6,7 @@
"outputCapture": "direct-nodejs",
"cli": "nx",
"$id": "NxExpoRun",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Run iOS or Android application",
"description": "Run Expo target options.",
"type": "object",
@@ -6,7 +6,7 @@
"outputCapture": "direct-nodejs",
"cli": "nx",
"$id": "NxExpoStart",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Packager Server for Expo",
"description": "Packager Server target options.",
"type": "object",
@@ -2,7 +2,7 @@
"name": "submit",
"implementation": "/packages/expo/src/executors/submit/submit.impl.ts",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"version": 2,
"title": "EXPO EAS Submit Executor",
"description": "Submit app binary to App Store and/or Play Store.",
@@ -6,7 +6,7 @@
"outputCapture": "direct-nodejs",
"cli": "nx",
"$id": "NxExpoSyncDeps",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"title": "Sync Deps for Expo",
"description": "Updates package.json with project dependencies.",
"type": "object",
@@ -4,7 +4,7 @@
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxExpoEasUpdate",
"cli": "nx",
"title": "Expo EAS Update executor",
@@ -4,7 +4,7 @@
"schema": {
"cli": "nx",
"$id": "NxExpoApplication",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"description": "Create an Expo Application for Nx.",
"examples": [
{
@@ -4,7 +4,7 @@
"schema": {
"cli": "nx",
"$id": "NxExpoComponent",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"description": "Create a Expo Component for Nx.",
"type": "object",
"examples": [
@@ -23,7 +23,7 @@
"description": "The name of the project.",
"alias": "p",
"$default": { "$source": "projectName" },
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},
"name": {
"type": "string",
@@ -61,7 +61,7 @@
"type": "boolean",
"description": "Create component at the source root rather than its own directory.",
"default": false,
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx v19."
},
"export": {
"type": "boolean",
@@ -75,7 +75,7 @@
"description": "Use pascal case component file name (e.g. App.tsx).",
"alias": "P",
"default": false,
"x-deprecated": "Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx v18."
"x-deprecated": "Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx v19."
},
"classComponent": {
"type": "boolean",
@@ -4,7 +4,7 @@
"schema": {
"cli": "nx",
"$id": "NxExpoInit",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"description": "Add Nx Expo Schematics.",
"type": "object",
"properties": {
@@ -4,7 +4,7 @@
"schema": {
"cli": "nx",
"$id": "NxExpoLibrary",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"description": "Create a Expo Library for Nx.",
"type": "object",
"examples": [
@@ -2,7 +2,7 @@
"name": "application",
"factory": "./src/generators/application/application#applicationGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"cli": "nx",
"$id": "SchematicsNxExpressApp",
"title": "Nx Application Options Schema",
@@ -2,7 +2,7 @@
"name": "init",
"factory": "./src/generators/init/init#initGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"cli": "nx",
"$id": "NxExpressInit",
"title": "Init Express Plugin",
@@ -2,7 +2,7 @@
"name": "configuration",
"factory": "./src/generators/configuration/configuration",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxJestProject",
"cli": "nx",
"title": "Add Jest Configuration to a project",
@@ -2,7 +2,7 @@
"name": "init",
"factory": "./src/generators/init/init#jestInitGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxJestInit",
"cli": "nx",
"title": "Jest init",
@@ -4,7 +4,7 @@
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"cli": "nx",
"title": "Node executor",
"description": "Execute Nodejs applications.",
@@ -2,7 +2,7 @@
"name": "release-publish",
"implementation": "/packages/js/src/executors/release-publish/release-publish.impl.ts",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"version": 2,
"title": "Implementation details of `nx release publish`",
"description": "DO NOT INVOKE DIRECTLY WITH `nx run`. Use `nx release publish` instead.",
@@ -4,7 +4,7 @@
"schema": {
"version": 2,
"outputCapture": "direct-nodejs",
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"cli": "nx",
"title": "Typescript Build Target",
"description": "Builds using SWC.",
@@ -2,7 +2,7 @@
"name": "verdaccio",
"implementation": "/packages/js/src/executors/verdaccio/verdaccio.impl.ts",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"version": 2,
"title": "Verdaccio Local Registry",
"description": "Start a local registry with Verdaccio.",
@@ -2,7 +2,7 @@
"name": "convert-to-swc",
"factory": "./src/generators/convert-to-swc/convert-to-swc#convertToSwcGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxTypescriptLibrary",
"cli": "nx",
"title": "Convert a TSC library to SWC",
@@ -2,7 +2,7 @@
"name": "init",
"factory": "./src/generators/init/init#initGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxTypescriptInit",
"cli": "nx",
"title": "Init nx/js",
@@ -2,7 +2,7 @@
"name": "library",
"factory": "./src/generators/library/library#libraryGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxTypescriptLibrary",
"cli": "nx",
"title": "Create a TypeScript Library",
@@ -2,7 +2,7 @@
"name": "release-version",
"factory": "./src/generators/release-version/release-version#releaseVersionGenerator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxJSReleaseVersionGenerator",
"cli": "nx",
"title": "Implementation details of `nx release version`",
@@ -2,7 +2,7 @@
"name": "setup-build",
"factory": "./src/generators/setup-build/generator",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "SetupBuild",
"title": "Setup Build",
"description": "Sets up build target for a project.",
@@ -2,7 +2,7 @@
"name": "setup-verdaccio",
"factory": "./src/generators/setup-verdaccio/generator#setupVerdaccio",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "SetupVerdaccio",
"title": "Setup Verdaccio",
"description": "Setup Verdaccio local-registry.",
@@ -2,7 +2,7 @@
"name": "application",
"factory": "./src/generators/application/application#applicationGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestApplicationGenerator",
"title": "Nx Application Options Schema",
"description": "Nx Application Options Schema.",
@@ -2,7 +2,7 @@
"name": "class",
"factory": "./src/generators/class/class#classGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestClassGenerator",
"title": "Nest Class Options Schema",
"description": "Nest Class Options Schema.",
@@ -25,7 +25,7 @@
"type": "string",
"$default": { "$source": "projectName" },
"alias": "p",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
@@ -46,7 +46,7 @@
},
"flat": {
"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",
"default": true
},
@@ -2,7 +2,7 @@
"name": "controller",
"factory": "./src/generators/controller/controller#controllerGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestControllerGenerator",
"title": "Nest Controller Options Schema",
"description": "Nest Controller Options Schema.",
@@ -20,7 +20,7 @@
"type": "string",
"$default": { "$source": "projectName" },
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
@@ -46,7 +46,7 @@
},
"flat": {
"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",
"default": false
},
@@ -2,7 +2,7 @@
"name": "decorator",
"factory": "./src/generators/decorator/decorator#decoratorGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestDecoratorGenerator",
"title": "Nest Decorator Options Schema",
"description": "Nest Decorator Options Schema.",
@@ -25,7 +25,7 @@
"type": "string",
"$default": { "$source": "projectName" },
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
@@ -40,7 +40,7 @@
},
"flat": {
"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",
"default": true
},
@@ -2,7 +2,7 @@
"name": "filter",
"factory": "./src/generators/filter/filter#filterGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestFilterGenerator",
"title": "Nest Filter Options Schema",
"description": "Nest Filter Options Schema.",
@@ -25,7 +25,7 @@
"type": "string",
"$default": { "$source": "projectName" },
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
@@ -46,7 +46,7 @@
},
"flat": {
"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",
"default": true
},
@@ -2,7 +2,7 @@
"name": "gateway",
"factory": "./src/generators/gateway/gateway#gatewayGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestGatewayGenerator",
"title": "Nest Gateway Options Schema",
"description": "Nest Gateway Options Schema.",
@@ -25,7 +25,7 @@
"type": "string",
"$default": { "$source": "projectName" },
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
@@ -46,7 +46,7 @@
},
"flat": {
"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",
"default": true
},
@@ -2,7 +2,7 @@
"name": "guard",
"factory": "./src/generators/guard/guard#guardGeneratorInternal",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestGuardGenerator",
"title": "Nest Guard Options Schema",
"description": "Nest Guard Options Schema.",
@@ -25,7 +25,7 @@
"type": "string",
"$default": { "$source": "projectName" },
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
@@ -46,7 +46,7 @@
},
"flat": {
"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",
"default": true
},
@@ -2,7 +2,7 @@
"name": "init",
"factory": "./src/generators/init/init",
"schema": {
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestInitGenerator",
"title": "Init Nest Plugin",
"description": "Init Nest Plugin.",

Some files were not shown because too many files have changed in this diff Show More