Skip to content

Commit

Permalink
chore(core): remove deprecated workspace-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Oct 10, 2023
1 parent fce2c08 commit f1cc392
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 120 deletions.
18 changes: 0 additions & 18 deletions docs/generated/cli/workspace-lint.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/generated/manifests/menus.json
Original file line number Diff line number Diff line change
Expand Up @@ -7574,14 +7574,6 @@
"children": [],
"disableCollapsible": false
},
{
"name": "workspace-lint",
"path": "/nx-api/nx/documents/workspace-lint",
"id": "workspace-lint",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "workspace-generator",
"path": "/nx-api/nx/documents/workspace-generator",
Expand Down
11 changes: 0 additions & 11 deletions docs/generated/manifests/nx-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1675,17 +1675,6 @@
"tags": [],
"originalFilePath": "generated/cli/list"
},
"/nx-api/nx/documents/workspace-lint": {
"id": "workspace-lint",
"name": "workspace-lint",
"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/workspace-lint",
"itemList": [],
"isExternal": false,
"path": "/nx-api/nx/documents/workspace-lint",
"tags": ["enforce-module-boundaries"],
"originalFilePath": "generated/cli/workspace-lint"
},
"/nx-api/nx/documents/workspace-generator": {
"id": "workspace-generator",
"name": "workspace-generator",
Expand Down
7 changes: 0 additions & 7 deletions docs/generated/manifests/tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,13 +361,6 @@
"id": "format-write",
"name": "format:write",
"path": "/nx-api/nx/documents/format-write"
},
{
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
"file": "generated/packages/generated/packages/nx/documents/workspace-lint",
"id": "workspace-lint",
"name": "workspace-lint",
"path": "/nx-api/nx/documents/workspace-lint"
}
],
"integrate-with-editors": [
Expand Down
11 changes: 0 additions & 11 deletions docs/generated/packages-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -1656,17 +1656,6 @@
"tags": [],
"originalFilePath": "generated/cli/list"
},
{
"id": "workspace-lint",
"name": "workspace-lint",
"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/workspace-lint",
"itemList": [],
"isExternal": false,
"path": "nx/documents/workspace-lint",
"tags": ["enforce-module-boundaries"],
"originalFilePath": "generated/cli/workspace-lint"
},
{
"id": "workspace-generator",
"name": "workspace-generator",
Expand Down
18 changes: 0 additions & 18 deletions docs/generated/packages/nx/documents/workspace-lint.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -1862,12 +1862,6 @@
"id": "list",
"file": "generated/cli/list"
},
{
"name": "workspace-lint",
"id": "workspace-lint",
"tags": ["enforce-module-boundaries"],
"file": "generated/cli/workspace-lint"
},
{
"name": "workspace-generator",
"id": "workspace-generator",
Expand Down
8 changes: 0 additions & 8 deletions docs/shared/mental-model/large-tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -25023,10 +25023,6 @@
"file": "docs/generated/cli/workspace-generator.md",
"hash": "c602609d311a8f3b028cdde9d83a1bd860a53870"
},
{
"file": "docs/generated/cli/workspace-lint.md",
"hash": "c5bc40d3a8198ca5eebdcd851dff5e85d9ce3912"
},
{
"file": "docs/generated/devkit/index.md",
"hash": "0d2ed5a146246b4ead2e2ed41f1fccb36f744f2b"
Expand Down Expand Up @@ -25463,10 +25459,6 @@
"file": "docs/nx-cloud/set-up/record-report.png",
"hash": "53bc7135364d69e45ba9c9c03ae5dc369ff8770f"
},
{
"file": "docs/nx-cloud/set-up/record-workspace-lint.png",
"hash": "c5f64a0d41f8e206e0ba69f3aa256fd418dbb9c5"
},
{
"file": "docs/packages.json",
"hash": "4b70f786be62411165df5819ee41d8787287d841"
Expand Down
1 change: 0 additions & 1 deletion docs/shared/reference/nxignore.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ a [`.gitignore` file](https://git-scm.com/book/en/v2/Git-Basics-Recording-Change
**When a file is specified in the `.nxignore` file:**

1. Changes to that file are not taken into account in the `affected` calculations.
2. Even if the file is outside an app or library, `nx workspace-lint` won't warn about it.
1 change: 0 additions & 1 deletion docs/shared/reference/sitemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@
- [migrate](/nx-api/nx/documents/migrate)
- [report](/nx-api/nx/documents/report)
- [list](/nx-api/nx/documents/list)
- [workspace-lint](/nx-api/nx/documents/workspace-lint)
- [workspace-generator](/nx-api/nx/documents/workspace-generator)
- [connect-to-nx-cloud](/nx-api/nx/documents/connect-to-nx-cloud)
- [reset](/nx-api/nx/documents/reset)
Expand Down
2 changes: 0 additions & 2 deletions nx-dev/nx-dev/redirect-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ const cliUrls = {
'/cli/migrate': '/nx/migrate',
'/cli/report': '/nx/report',
'/cli/list': '/nx/list',
'/cli/workspace-lint': '/nx/workspace-lint',
'/cli/workspace-generator': '/nx/workspace-generator',
'/cli/connect-to-nx-cloud': '/nx/connect-to-nx-cloud',
'/cli/reset': '/nx/reset',
Expand Down Expand Up @@ -579,7 +578,6 @@ const packagesDocuments = {
'/nx/migrate': '/packages/nx/documents/migrate',
'/nx/report': '/packages/nx/documents/report',
'/nx/list': '/packages/nx/documents/list',
'/nx/workspace-lint': '/packages/nx/documents/workspace-lint',
'/nx/workspace-generator': '/packages/nx/documents/workspace-generator',
'/nx/connect-to-nx-cloud': '/packages/nx/documents/connect-to-nx-cloud',
'/nx/reset': '/packages/nx/documents/reset',
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
]
}
},
"echo": {
"echo:test": {
"command": "echo hi"
},
"build": {
Expand Down
2 changes: 0 additions & 2 deletions packages/nx/src/command-line/nx-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import { yargsRunCommand } from './run/command-object';
import { yargsRunManyCommand } from './run-many/command-object';
import { yargsShowCommand } from './show/command-object';
import { yargsWatchCommand } from './watch/command-object';
import { yargsWorkspaceLintCommand } from './workspace-lint/command-object';
import { yargsResetCommand } from './reset/command-object';
import { yargsReleaseCommand } from './release/command-object';

Expand Down Expand Up @@ -89,7 +88,6 @@ export const commandsObject = yargs
.command(yargsViewLogsCommand)
.command(yargsWatchCommand)
.command(yargsWorkspaceGeneratorCommand)
.command(yargsWorkspaceLintCommand)
.scriptName('nx')
.help()
// NOTE: we handle --version in nx.ts, this just tells yargs that the option exists
Expand Down
15 changes: 0 additions & 15 deletions packages/nx/src/command-line/workspace-lint/command-object.ts

This file was deleted.

11 changes: 0 additions & 11 deletions packages/nx/src/command-line/workspace-lint/workspace-lint.ts

This file was deleted.

0 comments on commit f1cc392

Please sign in to comment.