feat(core): deprecate @nrwl/tao (#16550)

This commit is contained in:
Jason Jean 2023-04-25 14:54:29 -04:00 committed by GitHub
parent 5b0527bc45
commit b42d3f7c2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 42 additions and 6 deletions

View File

@ -1,11 +1,11 @@
## @nrwl/tao has been deprecated!
@nrwl/tao has been deprecated in favor of [nx](https://www.npmjs.com/package/nx). Please use that instead.
@nrwl/tao will no longer be published in Nx v17.
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p> <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p>
{{links}}
<hr>
# Nx: Smart, Fast and Extensible Build System # Nx: Smart, Fast and Extensible Build System
Nx is a next generation build system with first class monorepo support and powerful integrations. Nx is a next generation build system with first class monorepo support and powerful integrations.
{{content}}

View File

@ -4,4 +4,8 @@ if (process.argv[2] === 'migrate') {
process.argv[2] = '_migrate'; process.argv[2] = '_migrate';
} }
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Please update your global install of nx: https://nx.dev/more-concepts/global-nx`
);
require('nx/bin/nx'); require('nx/bin/nx');

View File

@ -1 +1,5 @@
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit/ngcli-adapter'`
);
export * from 'nx/src/adapter/ngcli-adapter'; export * from 'nx/src/adapter/ngcli-adapter';

View File

@ -1 +1,5 @@
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'`
);
export * from 'nx/src/utils/logger'; export * from 'nx/src/utils/logger';

View File

@ -1 +1,5 @@
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'`
);
export * from 'nx/src/config/nx-json'; export * from 'nx/src/config/nx-json';

View File

@ -1 +1,5 @@
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'`
);
export * from 'nx/src/utils/package-manager'; export * from 'nx/src/utils/package-manager';

View File

@ -1 +1,5 @@
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'`
);
export * from 'nx/src/config/project-graph'; export * from 'nx/src/config/project-graph';

View File

@ -1 +1,5 @@
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'`
);
export * from 'nx/src/generators/tree'; export * from 'nx/src/generators/tree';

View File

@ -1 +1,5 @@
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'`
);
export * from 'nx/src/config/workspaces'; export * from 'nx/src/config/workspaces';

View File

@ -1 +1,5 @@
console.warn(
`@nrwl/tao has been deprecated and will not be published in Nx 17. Change to importing from '@nx/devkit'`
);
export * from 'nx/src/utils/workspace-root'; export * from 'nx/src/utils/workspace-root';