Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): remove deprecated workspace-lint #16212

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -7598,14 +7598,6 @@
"children": [],
"disableCollapsible": false
},
{
"name": "workspace-lint",
"path": "/nx-api/nx/documents/workspace-lint",
"id": "workspace-lint",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "connect-to-nx-cloud",
"path": "/nx-api/nx/documents/connect-to-nx-cloud",
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/connect-to-nx-cloud": {
"id": "connect-to-nx-cloud",
"name": "connect-to-nx-cloud",
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": "connect-to-nx-cloud",
"name": "connect-to-nx-cloud",
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 @@ -1869,12 +1869,6 @@
"id": "list",
"file": "generated/cli/list"
},
{
"name": "workspace-lint",
"id": "workspace-lint",
"tags": ["enforce-module-boundaries"],
"file": "generated/cli/workspace-lint"
},
{
"name": "connect-to-nx-cloud",
"id": "connect-to-nx-cloud",
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 @@ -24995,10 +24995,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 @@ -25435,10 +25431,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/monorepo-ci-azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ jobs:

- script: npm ci

- script: npx nx workspace-lint
- script: npx nx format:check

- script: npx nx affected --base=$(BASE_SHA) -t lint --parallel=3
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 @@ -499,7 +499,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)
- [connect-to-nx-cloud](/nx-api/nx/documents/connect-to-nx-cloud)
- [reset](/nx-api/nx/documents/reset)
- [repair](/nx-api/nx/documents/repair)
Expand Down
1 change: 0 additions & 1 deletion nx-dev/nx-dev-e2e/src/additional-api-references.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const pages: Array<{ title: string; path: string }> = [
{ title: 'migrate', path: '/cli/migrate' },
{ title: 'report', path: '/cli/report' },
{ title: 'list', path: '/cli/list' },
{ title: 'workspace-lint', path: '/cli/workspace-lint' },
{ title: 'connect', path: '/cli/connect-to-nx-cloud' },
{ title: 'reset', path: '/cli/reset' },
{ title: 'Storybook', path: '/storybook/overview-react' },
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 @@ -337,7 +337,6 @@ const cliUrls = {
'/cli/migrate': '/nx/migrate',
'/cli/report': '/nx/report',
'/cli/list': '/nx/list',
'/cli/workspace-lint': '/nx/workspace-lint',
'/cli/connect-to-nx-cloud': '/nx/connect-to-nx-cloud',
'/cli/reset': '/nx/reset',
};
Expand Down Expand Up @@ -576,7 +575,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: 0 additions & 2 deletions packages/nx/src/command-line/nx-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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 @@ -85,7 +84,6 @@ export const commandsObject = yargs
.command(yargsShowCommand)
.command(yargsViewLogsCommand)
.command(yargsWatchCommand)
.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.