docs(core): remove old Nx Console recipes (#22747)
This commit is contained in:
parent
27094c5f4b
commit
e5317a2eb8
@ -2203,30 +2203,6 @@
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Add Dependency Command",
|
||||
"path": "/recipes/nx-console/console-add-dependency-command",
|
||||
"id": "console-add-dependency-command",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Project Pane",
|
||||
"path": "/recipes/nx-console/console-project-pane",
|
||||
"id": "console-project-pane",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Keyboard Shortcuts",
|
||||
"path": "/recipes/nx-console/console-shortcuts",
|
||||
"id": "console-shortcuts",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Troubleshooting",
|
||||
"path": "/recipes/nx-console/console-troubleshooting",
|
||||
@ -3963,30 +3939,6 @@
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Add Dependency Command",
|
||||
"path": "/recipes/nx-console/console-add-dependency-command",
|
||||
"id": "console-add-dependency-command",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Project Pane",
|
||||
"path": "/recipes/nx-console/console-project-pane",
|
||||
"id": "console-project-pane",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Keyboard Shortcuts",
|
||||
"path": "/recipes/nx-console/console-shortcuts",
|
||||
"id": "console-shortcuts",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Troubleshooting",
|
||||
"path": "/recipes/nx-console/console-troubleshooting",
|
||||
@ -4030,30 +3982,6 @@
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Add Dependency Command",
|
||||
"path": "/recipes/nx-console/console-add-dependency-command",
|
||||
"id": "console-add-dependency-command",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Project Pane",
|
||||
"path": "/recipes/nx-console/console-project-pane",
|
||||
"id": "console-project-pane",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Keyboard Shortcuts",
|
||||
"path": "/recipes/nx-console/console-shortcuts",
|
||||
"id": "console-shortcuts",
|
||||
"isExternal": false,
|
||||
"children": [],
|
||||
"disableCollapsible": false
|
||||
},
|
||||
{
|
||||
"name": "Troubleshooting",
|
||||
"path": "/recipes/nx-console/console-troubleshooting",
|
||||
|
||||
@ -3012,39 +3012,6 @@
|
||||
"path": "/recipes/nx-console/console-run-command",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
{
|
||||
"id": "console-add-dependency-command",
|
||||
"name": "Add Dependency Command",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-add-dependency-command",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-add-dependency-command",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
{
|
||||
"id": "console-project-pane",
|
||||
"name": "Project Pane",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-project-pane",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-project-pane",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
{
|
||||
"id": "console-shortcuts",
|
||||
"name": "Keyboard Shortcuts",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-shortcuts",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-shortcuts",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
{
|
||||
"id": "console-troubleshooting",
|
||||
"name": "Troubleshooting",
|
||||
@ -5425,39 +5392,6 @@
|
||||
"path": "/recipes/nx-console/console-run-command",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
{
|
||||
"id": "console-add-dependency-command",
|
||||
"name": "Add Dependency Command",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-add-dependency-command",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-add-dependency-command",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
{
|
||||
"id": "console-project-pane",
|
||||
"name": "Project Pane",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-project-pane",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-project-pane",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
{
|
||||
"id": "console-shortcuts",
|
||||
"name": "Keyboard Shortcuts",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-shortcuts",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-shortcuts",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
{
|
||||
"id": "console-troubleshooting",
|
||||
"name": "Troubleshooting",
|
||||
@ -5518,39 +5452,6 @@
|
||||
"path": "/recipes/nx-console/console-run-command",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
"/recipes/nx-console/console-add-dependency-command": {
|
||||
"id": "console-add-dependency-command",
|
||||
"name": "Add Dependency Command",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-add-dependency-command",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-add-dependency-command",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
"/recipes/nx-console/console-project-pane": {
|
||||
"id": "console-project-pane",
|
||||
"name": "Project Pane",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-project-pane",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-project-pane",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
"/recipes/nx-console/console-shortcuts": {
|
||||
"id": "console-shortcuts",
|
||||
"name": "Keyboard Shortcuts",
|
||||
"description": "",
|
||||
"mediaImage": "",
|
||||
"file": "shared/recipes/console-shortcuts",
|
||||
"itemList": [],
|
||||
"isExternal": false,
|
||||
"path": "/recipes/nx-console/console-shortcuts",
|
||||
"tags": ["editor-setup"]
|
||||
},
|
||||
"/recipes/nx-console/console-troubleshooting": {
|
||||
"id": "console-troubleshooting",
|
||||
"name": "Troubleshooting",
|
||||
|
||||
@ -35,27 +35,6 @@
|
||||
"name": "Run Command",
|
||||
"path": "/recipes/nx-console/console-run-command"
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"file": "shared/recipes/console-add-dependency-command",
|
||||
"id": "console-add-dependency-command",
|
||||
"name": "Add Dependency Command",
|
||||
"path": "/recipes/nx-console/console-add-dependency-command"
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"file": "shared/recipes/console-project-pane",
|
||||
"id": "console-project-pane",
|
||||
"name": "Project Pane",
|
||||
"path": "/recipes/nx-console/console-project-pane"
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"file": "shared/recipes/console-shortcuts",
|
||||
"id": "console-shortcuts",
|
||||
"name": "Keyboard Shortcuts",
|
||||
"path": "/recipes/nx-console/console-shortcuts"
|
||||
},
|
||||
{
|
||||
"description": "",
|
||||
"file": "shared/recipes/console-troubleshooting",
|
||||
|
||||
@ -1078,24 +1078,6 @@
|
||||
"tags": ["editor-setup"],
|
||||
"file": "shared/recipes/console-run-command"
|
||||
},
|
||||
{
|
||||
"name": "Add Dependency Command",
|
||||
"id": "console-add-dependency-command",
|
||||
"tags": ["editor-setup"],
|
||||
"file": "shared/recipes/console-add-dependency-command"
|
||||
},
|
||||
{
|
||||
"name": "Project Pane",
|
||||
"id": "console-project-pane",
|
||||
"tags": ["editor-setup"],
|
||||
"file": "shared/recipes/console-project-pane"
|
||||
},
|
||||
{
|
||||
"name": "Keyboard Shortcuts",
|
||||
"id": "console-shortcuts",
|
||||
"tags": ["editor-setup"],
|
||||
"file": "shared/recipes/console-shortcuts"
|
||||
},
|
||||
{
|
||||
"name": "Troubleshooting",
|
||||
"id": "console-troubleshooting",
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
# Nx Console Add Dependency command
|
||||
|
||||
The `Add Dependency` & `Add Dev Dependency` commands allow you to specify a package and version to be installed using your local package manager. If it contains an `init` generator or `ng-add` schematic, you might be prompted to select some options before it's executed.
|
||||
|
||||
There are multiple ways to execute the command:
|
||||
|
||||
- via the command prompt (`ctrl/cmd + shift + p`)
|
||||
- via the `Common Nx Commands` view
|
||||
- via a CodeLens on the root `package.json` (see below)
|
||||
|
||||

|
||||
@ -1,14 +0,0 @@
|
||||
# Nx Console Projects Pane
|
||||
|
||||
Clicking on the name of any project navigates to that project's `project.json` file. Clicking on the name of any executor command navigates to that executor command's definition in the `project.json` file.
|
||||
|
||||
Clicking the  icon next to the `PROJECTS` header repopulates the Projects pane from the `project.json` files.
|
||||
|
||||
Clicking the  icon next to a project reveals that project's folder in the VSCode Explorer pane.
|
||||
|
||||
Clicking the  icon next to an executor command executes that command without prompting for options.
|
||||
|
||||
{% youtube
|
||||
src="https://www.youtube.com/embed/ve_N3unDqAg"
|
||||
title="Nx Console Projects Pane"
|
||||
/%}
|
||||
@ -1,33 +0,0 @@
|
||||
# Nx Console Keyboard Shortcuts
|
||||
|
||||
If you find yourself running the same command many times, here are few tips to save yourself some key strokes.
|
||||
|
||||
**Rerun Last Task**
|
||||
|
||||
If you want to rerun the last task with all the same options specified, bring up the Command Palette (`⇧⌘P`) and choose `Rerun Last Task`.
|
||||
|
||||
**Keyboard Shortcuts**
|
||||
|
||||
You can also set up custom tasks and assign keyboard shortcuts to them. In `.vscode/tasks.json` add a task like this:
|
||||
|
||||
```json {% fileName=".vscode/tasks.json" %}
|
||||
{
|
||||
"label": "Test Affected",
|
||||
"type": "shell",
|
||||
"command": "nx affected -t test"
|
||||
}
|
||||
```
|
||||
|
||||
Then from the Command Palette (`⇧⌘P`) choose `Preferences: Open Keyboard Shortcuts (JSON)`. Then add the following shortcut:
|
||||
|
||||
```json
|
||||
{
|
||||
"key": "ctrl+cmd+t",
|
||||
"command": "workbench.action.tasks.runTask",
|
||||
"args": "Test Affected"
|
||||
}
|
||||
```
|
||||
|
||||
Now, pressing `^⌘T` will run `nx affected -t test`.
|
||||
|
||||
Here is more information on [VSCode tasks](https://code.visualstudio.com/docs/editor/tasks) and [keyboard shortcuts](https://code.visualstudio.com/docs/getstarted/keybindings).
|
||||
@ -170,9 +170,6 @@
|
||||
- [Project Details View](/recipes/nx-console/console-project-details)
|
||||
- [Generate Command](/recipes/nx-console/console-generate-command)
|
||||
- [Run Command](/recipes/nx-console/console-run-command)
|
||||
- [Add Dependency Command](/recipes/nx-console/console-add-dependency-command)
|
||||
- [Project Pane](/recipes/nx-console/console-project-pane)
|
||||
- [Keyboard Shortcuts](/recipes/nx-console/console-shortcuts)
|
||||
- [Troubleshooting](/recipes/nx-console/console-troubleshooting)
|
||||
- [Nx Release](/recipes/nx-release)
|
||||
- [Get Started with Nx Release](/recipes/nx-release/get-started-with-nx-release)
|
||||
|
||||
@ -387,6 +387,10 @@ const recipesUrls = {
|
||||
'/recipes/webpack/webpack-config-setup',
|
||||
'/showcase/example-repos/add-nuxt': '/nx-api/nuxt',
|
||||
'/showcase/example-repos/add-vue': '/nx-api/vue',
|
||||
'/recipes/nx-console/console-shortcuts': '/getting-started/editor-setup',
|
||||
'/recipes/nx-console/console-project-pane': '/getting-started/editor-setup',
|
||||
'/recipes/nx-console/console-add-dependency-command':
|
||||
'/getting-started/editor-setup',
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user