docs(core): hide documentation for activate powerpack (#27980)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

It will cause confusion if this is documented without other
documentation.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

`activate-powerpack` is undocumented for now.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
This commit is contained in:
Jason Jean 2024-09-18 20:35:59 -04:00 committed by GitHub
parent 8c35229cd3
commit 7f4a8777d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 2 additions and 95 deletions

View File

@ -1,25 +0,0 @@
---
title: 'activate-powerpack - CLI command'
description: 'Activate a Nx Powerpack license.'
---
# activate-powerpack
Activate a Nx Powerpack license.
## Usage
```shell
nx activate-powerpack <license>
```
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
## Options
| Option | Type | Description |
| ----------- | ------- | ---------------------------------------------------------------------- |
| `--help` | boolean | Show help. |
| `--license` | string | This is a License Key for Nx Powerpack. |
| `--verbose` | boolean | Prints additional information about the commands (e.g., stack traces). |
| `--version` | boolean | Show version number. |

View File

@ -8753,14 +8753,6 @@
"children": [],
"disableCollapsible": false
},
{
"name": "activate-powerpack",
"path": "/nx-api/nx/documents/activate-powerpack",
"id": "activate-powerpack",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "reset",
"path": "/nx-api/nx/documents/reset",

View File

@ -1880,17 +1880,6 @@
"tags": ["cache-task-results", "distribute-task-execution"],
"originalFilePath": "generated/cli/connect"
},
"/nx-api/nx/documents/activate-powerpack": {
"id": "activate-powerpack",
"name": "activate-powerpack",
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
"file": "generated/packages/nx/documents/activate-powerpack",
"itemList": [],
"isExternal": false,
"path": "/nx-api/nx/documents/activate-powerpack",
"tags": ["cache-task-results"],
"originalFilePath": "generated/cli/activate-powerpack"
},
"/nx-api/nx/documents/reset": {
"id": "reset",
"name": "reset",

View File

@ -235,13 +235,6 @@
"name": "connect-to-nx-cloud",
"path": "/nx-api/nx/documents/connect-to-nx-cloud"
},
{
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
"file": "generated/packages/nx/documents/activate-powerpack",
"id": "activate-powerpack",
"name": "activate-powerpack",
"path": "/nx-api/nx/documents/activate-powerpack"
},
{
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
"file": "generated/packages/nx/documents/reset",

View File

@ -1859,17 +1859,6 @@
"tags": ["cache-task-results", "distribute-task-execution"],
"originalFilePath": "generated/cli/connect"
},
{
"id": "activate-powerpack",
"name": "activate-powerpack",
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
"file": "generated/packages/nx/documents/activate-powerpack",
"itemList": [],
"isExternal": false,
"path": "nx/documents/activate-powerpack",
"tags": ["cache-task-results"],
"originalFilePath": "generated/cli/activate-powerpack"
},
{
"id": "reset",
"name": "reset",

View File

@ -1,25 +0,0 @@
---
title: 'activate-powerpack - CLI command'
description: 'Activate a Nx Powerpack license.'
---
# activate-powerpack
Activate a Nx Powerpack license.
## Usage
```shell
nx activate-powerpack <license>
```
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
## Options
| Option | Type | Description |
| ----------- | ------- | ---------------------------------------------------------------------- |
| `--help` | boolean | Show help. |
| `--license` | string | This is a License Key for Nx Powerpack. |
| `--verbose` | boolean | Prints additional information about the commands (e.g., stack traces). |
| `--version` | boolean | Show version number. |

View File

@ -2095,12 +2095,6 @@
"tags": ["cache-task-results", "distribute-task-execution"],
"file": "generated/cli/connect"
},
{
"name": "activate-powerpack",
"tags": ["cache-task-results"],
"id": "activate-powerpack",
"file": "generated/cli/activate-powerpack"
},
{
"name": "reset",
"id": "reset",

View File

@ -556,7 +556,6 @@
- [report](/nx-api/nx/documents/report)
- [list](/nx-api/nx/documents/list)
- [connect-to-nx-cloud](/nx-api/nx/documents/connect-to-nx-cloud)
- [activate-powerpack](/nx-api/nx/documents/activate-powerpack)
- [reset](/nx-api/nx/documents/reset)
- [repair](/nx-api/nx/documents/repair)
- [sync](/nx-api/nx/documents/sync)

View File

@ -12,7 +12,8 @@ export const yargsActivatePowerpackCommand: CommandModule<
ActivatePowerpackOptions
> = {
command: 'activate-powerpack <license>',
describe: 'Activate a Nx Powerpack license.',
describe: false,
// describe: 'Activate a Nx Powerpack license.',
builder: (yargs) =>
withVerbose(yargs)
.parserConfiguration({