feat(core): switch packages to use the @nx scope (#16069)
This commit is contained in:
parent
95f2f80cd3
commit
2d195007b0
3
.gitignore
vendored
3
.gitignore
vendored
@ -26,6 +26,9 @@ CHANGELOG.md
|
|||||||
# Next.js
|
# Next.js
|
||||||
.next
|
.next
|
||||||
|
|
||||||
|
# Angular Cache
|
||||||
|
.angular
|
||||||
|
|
||||||
# Local dev files
|
# Local dev files
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { names } from '@nrwl/devkit';
|
import { names } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
cleanupProject,
|
cleanupProject,
|
||||||
killProcessAndPorts,
|
killProcessAndPorts,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { names } from '@nrwl/devkit';
|
import { names } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
checkFilesExist,
|
checkFilesExist,
|
||||||
cleanupProject,
|
cleanupProject,
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import {
|
|||||||
removeFile,
|
removeFile,
|
||||||
checkFilesExist,
|
checkFilesExist,
|
||||||
} from '../../utils';
|
} from '../../utils';
|
||||||
import { names } from '@nrwl/devkit';
|
import { names } from '@nx/devkit';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
|
|
||||||
describe('Angular Cypress Component Tests', () => {
|
describe('Angular Cypress Component Tests', () => {
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import {
|
|||||||
uniq,
|
uniq,
|
||||||
updateFile,
|
updateFile,
|
||||||
} from '@nrwl/e2e/utils';
|
} from '@nrwl/e2e/utils';
|
||||||
import { classify } from '@nrwl/devkit/src/utils/string-utils';
|
import { classify } from '@nx/devkit/src/utils/string-utils';
|
||||||
|
|
||||||
describe('Move Angular Project', () => {
|
describe('Move Angular Project', () => {
|
||||||
let proj: string;
|
let proj: string;
|
||||||
|
|||||||
@ -75,7 +75,7 @@ describe('Tailwind support', () => {
|
|||||||
tailwindConfigFile = 'tailwind.config.js',
|
tailwindConfigFile = 'tailwind.config.js',
|
||||||
libSpacing: typeof spacing['projectVariant1']
|
libSpacing: typeof spacing['projectVariant1']
|
||||||
) => {
|
) => {
|
||||||
const tailwindConfig = `const { createGlobPatternsForDependencies } = require('@nrwl/angular/tailwind');
|
const tailwindConfig = `const { createGlobPatternsForDependencies } = require('@nx/angular/tailwind');
|
||||||
const { join } = require('path');
|
const { join } = require('path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { detectPackageManager, joinPathFragments } from '@nrwl/devkit';
|
import { detectPackageManager, joinPathFragments } from '@nx/devkit';
|
||||||
import { capitalize } from '@nrwl/devkit/src/utils/string-utils';
|
import { capitalize } from '@nx/devkit/src/utils/string-utils';
|
||||||
import {
|
import {
|
||||||
checkFilesExist,
|
checkFilesExist,
|
||||||
cleanupProject,
|
cleanupProject,
|
||||||
@ -292,7 +292,7 @@ describe('Next.js Applications', () => {
|
|||||||
updateFile(
|
updateFile(
|
||||||
`apps/${appName}/next.config.js`,
|
`apps/${appName}/next.config.js`,
|
||||||
`
|
`
|
||||||
const { withNx } = require('@nrwl/next/plugins/with-nx');
|
const { withNx } = require('@nx/next/plugins/with-nx');
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
nx: {
|
nx: {
|
||||||
svgr: false,
|
svgr: false,
|
||||||
@ -327,7 +327,7 @@ describe('Next.js Applications', () => {
|
|||||||
updateFile(
|
updateFile(
|
||||||
`apps/${appName}/next.config.js`,
|
`apps/${appName}/next.config.js`,
|
||||||
`
|
`
|
||||||
const { withNx } = require('@nrwl/next/plugins/with-nx');
|
const { withNx } = require('@nx/next/plugins/with-nx');
|
||||||
// Not including "nx" entry should still work.
|
// Not including "nx" entry should still work.
|
||||||
const nextConfig = {};
|
const nextConfig = {};
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { stripIndents } from '@angular-devkit/core/src/utils/literals';
|
import { stripIndents } from '@angular-devkit/core/src/utils/literals';
|
||||||
import { joinPathFragments } from '@nrwl/devkit';
|
import { joinPathFragments } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
checkFilesDoNotExist,
|
checkFilesDoNotExist,
|
||||||
checkFilesExist,
|
checkFilesExist,
|
||||||
|
|||||||
@ -56,7 +56,7 @@ describe('Extra Nx Misc Tests', () => {
|
|||||||
`
|
`
|
||||||
module.exports = {
|
module.exports = {
|
||||||
processProjectGraph: (graph) => {
|
processProjectGraph: (graph) => {
|
||||||
const Builder = require('@nrwl/devkit').ProjectGraphBuilder;
|
const Builder = require('@nx/devkit').ProjectGraphBuilder;
|
||||||
const builder = new Builder(graph);
|
const builder = new Builder(graph);
|
||||||
builder.addNode({
|
builder.addNode({
|
||||||
name: 'plugin-node',
|
name: 'plugin-node',
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import type { NxJsonConfiguration } from '@nrwl/devkit';
|
import type { NxJsonConfiguration } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
cleanupProject,
|
cleanupProject,
|
||||||
e2eCwd,
|
e2eCwd,
|
||||||
@ -67,7 +67,7 @@ describe('Nx Commands', () => {
|
|||||||
expect(listOutput).toContain('NX Installed plugins');
|
expect(listOutput).toContain('NX Installed plugins');
|
||||||
|
|
||||||
// just check for some, not all
|
// just check for some, not all
|
||||||
expect(listOutput).toContain('@nrwl/angular');
|
expect(listOutput).toContain('@nrwl/workspace');
|
||||||
|
|
||||||
// temporarily make it look like this isn't installed
|
// temporarily make it look like this isn't installed
|
||||||
renameSync(
|
renameSync(
|
||||||
@ -79,9 +79,9 @@ describe('Nx Commands', () => {
|
|||||||
expect(listOutput).toContain('NX Also available');
|
expect(listOutput).toContain('NX Also available');
|
||||||
|
|
||||||
// look for specific plugin
|
// look for specific plugin
|
||||||
listOutput = runCLI('list @nrwl/workspace');
|
listOutput = runCLI('list @nx/workspace');
|
||||||
|
|
||||||
expect(listOutput).toContain('Capabilities in @nrwl/workspace');
|
expect(listOutput).toContain('Capabilities in @nx/workspace');
|
||||||
|
|
||||||
// check for schematics
|
// check for schematics
|
||||||
expect(listOutput).toContain('workspace');
|
expect(listOutput).toContain('workspace');
|
||||||
@ -92,10 +92,10 @@ describe('Nx Commands', () => {
|
|||||||
expect(listOutput).toContain('run-commands');
|
expect(listOutput).toContain('run-commands');
|
||||||
|
|
||||||
// // look for uninstalled core plugin
|
// // look for uninstalled core plugin
|
||||||
listOutput = runCLI('list @nrwl/angular');
|
listOutput = runCLI('list @nx/angular');
|
||||||
|
|
||||||
expect(listOutput).toContain(
|
expect(listOutput).toContain(
|
||||||
'NX @nrwl/angular is not currently installed'
|
'NX @nx/angular is not currently installed'
|
||||||
);
|
);
|
||||||
|
|
||||||
// look for an unknown plugin
|
// look for an unknown plugin
|
||||||
@ -105,7 +105,7 @@ describe('Nx Commands', () => {
|
|||||||
'NX @wibble/fish is not currently installed'
|
'NX @wibble/fish is not currently installed'
|
||||||
);
|
);
|
||||||
|
|
||||||
// put back the @nrwl/angular module (or all the other e2e tests after this will fail)
|
// put back the @nx/angular module (or all the other e2e tests after this will fail)
|
||||||
renameSync(
|
renameSync(
|
||||||
tmpProjPath('node_modules/@nrwl/angular_tmp'),
|
tmpProjPath('node_modules/@nrwl/angular_tmp'),
|
||||||
tmpProjPath('node_modules/@nrwl/angular')
|
tmpProjPath('node_modules/@nrwl/angular')
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import type { NxJsonConfiguration } from '@nrwl/devkit';
|
import type { NxJsonConfiguration } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
newWrappedNxWorkspace,
|
newWrappedNxWorkspace,
|
||||||
updateFile,
|
updateFile,
|
||||||
@ -42,7 +42,7 @@ describe('nx wrapper / .nx installation', () => {
|
|||||||
updateJson<NxJsonConfiguration>('nx.json', (json) => {
|
updateJson<NxJsonConfiguration>('nx.json', (json) => {
|
||||||
json.tasksRunnerOptions.default.options.cacheableOperations = ['echo'];
|
json.tasksRunnerOptions.default.options.cacheableOperations = ['echo'];
|
||||||
json.installation.plugins = {
|
json.installation.plugins = {
|
||||||
'@nrwl/nest': getPublishedVersion(),
|
'@nrwl/js': getPublishedVersion(),
|
||||||
};
|
};
|
||||||
return json;
|
return json;
|
||||||
});
|
});
|
||||||
@ -66,9 +66,7 @@ describe('nx wrapper / .nx installation', () => {
|
|||||||
it('should work with nx report', () => {
|
it('should work with nx report', () => {
|
||||||
const output = runNxWrapper('report');
|
const output = runNxWrapper('report');
|
||||||
expect(output).toMatch(new RegExp(`nx.*:.*${getPublishedVersion()}`));
|
expect(output).toMatch(new RegExp(`nx.*:.*${getPublishedVersion()}`));
|
||||||
expect(output).toMatch(
|
expect(output).toMatch(new RegExp(`@nrwl/js.*:.*${getPublishedVersion()}`));
|
||||||
new RegExp(`@nrwl/nest.*:.*${getPublishedVersion()}`)
|
|
||||||
);
|
|
||||||
expect(output).not.toContain('@nrwl/express');
|
expect(output).not.toContain('@nrwl/express');
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -87,12 +85,10 @@ describe('nx wrapper / .nx installation', () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
expect(installedPluginLines.some((x) => x.includes(`${bold('nx')}`)));
|
expect(installedPluginLines.some((x) => x.includes(`${bold('nx')}`)));
|
||||||
expect(
|
expect(installedPluginLines.some((x) => x.includes(`${bold('@nrwl/js')}`)));
|
||||||
installedPluginLines.some((x) => x.includes(`${bold('@nrwl/nest')}`))
|
|
||||||
);
|
|
||||||
|
|
||||||
output = runNxWrapper('list @nrwl/nest');
|
output = runNxWrapper('list @nrwl/js');
|
||||||
expect(output).toContain('Capabilities in @nrwl/nest');
|
expect(output).toContain('Capabilities in @nrwl/js');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work with basic generators', () => {
|
it('should work with basic generators', () => {
|
||||||
@ -118,13 +114,6 @@ describe('nx wrapper / .nx installation', () => {
|
|||||||
updateFile(
|
updateFile(
|
||||||
`.nx/installation/node_modules/migrate-parent-package/migrations.json`,
|
`.nx/installation/node_modules/migrate-parent-package/migrations.json`,
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
schematics: {
|
|
||||||
run11: {
|
|
||||||
version: '1.1.0',
|
|
||||||
description: '1.1.0',
|
|
||||||
factory: './run11',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
generators: {
|
generators: {
|
||||||
run20: {
|
run20: {
|
||||||
version: '2.0.0',
|
version: '2.0.0',
|
||||||
@ -135,18 +124,6 @@ describe('nx wrapper / .nx installation', () => {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
updateFile(
|
|
||||||
`.nx/installation/node_modules/migrate-parent-package/run11.js`,
|
|
||||||
`
|
|
||||||
var angular_devkit_core1 = require("@angular-devkit/core");
|
|
||||||
exports.default = function default_1() {
|
|
||||||
return function(host) {
|
|
||||||
host.create('file-11', 'content11')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`
|
|
||||||
);
|
|
||||||
|
|
||||||
updateFile(
|
updateFile(
|
||||||
`.nx/installation/node_modules/migrate-parent-package/run20.js`,
|
`.nx/installation/node_modules/migrate-parent-package/run20.js`,
|
||||||
`
|
`
|
||||||
@ -182,9 +159,6 @@ describe('nx wrapper / .nx installation', () => {
|
|||||||
return Promise.resolve({
|
return Promise.resolve({
|
||||||
version: '2.0.0',
|
version: '2.0.0',
|
||||||
generators: {
|
generators: {
|
||||||
'run11': {
|
|
||||||
version: '1.1.0'
|
|
||||||
},
|
|
||||||
'run20': {
|
'run20': {
|
||||||
version: '2.0.0',
|
version: '2.0.0',
|
||||||
cli: 'nx'
|
cli: 'nx'
|
||||||
@ -236,11 +210,6 @@ describe('nx wrapper / .nx installation', () => {
|
|||||||
const migrationsJson = readJson(`migrations.json`);
|
const migrationsJson = readJson(`migrations.json`);
|
||||||
expect(migrationsJson).toEqual({
|
expect(migrationsJson).toEqual({
|
||||||
migrations: [
|
migrations: [
|
||||||
{
|
|
||||||
package: 'migrate-parent-package',
|
|
||||||
version: '1.1.0',
|
|
||||||
name: 'run11',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
package: 'migrate-parent-package',
|
package: 'migrate-parent-package',
|
||||||
version: '2.0.0',
|
version: '2.0.0',
|
||||||
@ -259,7 +228,6 @@ describe('nx wrapper / .nx installation', () => {
|
|||||||
NX_WRAPPER_SKIP_INSTALL: 'true',
|
NX_WRAPPER_SKIP_INSTALL: 'true',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
expect(readFile('file-11')).toEqual('content11');
|
|
||||||
expect(readFile('file-20')).toEqual('content20');
|
expect(readFile('file-20')).toEqual('content20');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { ProjectConfiguration } from '@nrwl/devkit';
|
import { ProjectConfiguration } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
checkFilesExist,
|
checkFilesExist,
|
||||||
expectTestsPass,
|
expectTestsPass,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import type { NxJsonConfiguration } from '@nrwl/devkit';
|
import type { NxJsonConfiguration } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
getPackageManagerCommand,
|
getPackageManagerCommand,
|
||||||
isNotWindows,
|
isNotWindows,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { stripIndents } from '@nrwl/devkit';
|
import { stripIndents } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
checkFilesExist,
|
checkFilesExist,
|
||||||
cleanupProject,
|
cleanupProject,
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import {
|
|||||||
updateJson,
|
updateJson,
|
||||||
updateProjectConfig,
|
updateProjectConfig,
|
||||||
} from '@nrwl/e2e/utils';
|
} from '@nrwl/e2e/utils';
|
||||||
import { names } from '@nrwl/devkit';
|
import { names } from '@nx/devkit';
|
||||||
|
|
||||||
describe('Build React libraries and apps', () => {
|
describe('Build React libraries and apps', () => {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -224,8 +224,8 @@ ${content}`;
|
|||||||
createFile(
|
createFile(
|
||||||
`apps/${appName}/webpack.config.js`,
|
`apps/${appName}/webpack.config.js`,
|
||||||
`
|
`
|
||||||
const { composePlugins, withNx } = require('@nrwl/webpack');
|
const { composePlugins, withNx } = require('@nx/webpack');
|
||||||
const { withReact } = require('@nrwl/react');
|
const { withReact } = require('@nx/react');
|
||||||
|
|
||||||
module.exports = composePlugins(
|
module.exports = composePlugins(
|
||||||
withNx(),
|
withNx(),
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { output, PackageManager } from '@nrwl/devkit';
|
import { output, PackageManager } from '@nx/devkit';
|
||||||
import { packageInstall, tmpProjPath } from './create-project-utils';
|
import { packageInstall, tmpProjPath } from './create-project-utils';
|
||||||
import {
|
import {
|
||||||
detectPackageManager,
|
detectPackageManager,
|
||||||
@ -8,7 +8,7 @@ import {
|
|||||||
getStrippedEnvironmentVariables,
|
getStrippedEnvironmentVariables,
|
||||||
isVerboseE2ERun,
|
isVerboseE2ERun,
|
||||||
} from './get-env-info';
|
} from './get-env-info';
|
||||||
import { TargetConfiguration } from '@nrwl/devkit';
|
import { TargetConfiguration } from '@nx/devkit';
|
||||||
import { ChildProcess, exec, execSync, ExecSyncOptions } from 'child_process';
|
import { ChildProcess, exec, execSync, ExecSyncOptions } from 'child_process';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
import * as isCI from 'is-ci';
|
import * as isCI from 'is-ci';
|
||||||
|
|||||||
@ -17,7 +17,7 @@ import {
|
|||||||
} from './get-env-info';
|
} from './get-env-info';
|
||||||
import * as isCI from 'is-ci';
|
import * as isCI from 'is-ci';
|
||||||
|
|
||||||
import { angularCliVersion as defaultAngularCliVersion } from '@nrwl/workspace/src/utils/versions';
|
import { angularCliVersion as defaultAngularCliVersion } from '@nx/workspace/src/utils/versions';
|
||||||
import { dump } from '@zkochan/js-yaml';
|
import { dump } from '@zkochan/js-yaml';
|
||||||
import { execSync, ExecSyncOptions } from 'child_process';
|
import { execSync, ExecSyncOptions } from 'child_process';
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ import {
|
|||||||
RunCmdOpts,
|
RunCmdOpts,
|
||||||
runCommand,
|
runCommand,
|
||||||
} from './command-utils';
|
} from './command-utils';
|
||||||
import { output } from '@nrwl/devkit';
|
import { output } from '@nx/devkit';
|
||||||
import { readFileSync } from 'fs';
|
import { readFileSync } from 'fs';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { parseJson } from '@nrwl/devkit';
|
import { parseJson } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
createFileSync,
|
createFileSync,
|
||||||
ensureDirSync,
|
ensureDirSync,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { readJsonFile, workspaceRoot } from '@nrwl/devkit';
|
import { readJsonFile, workspaceRoot } from '@nx/devkit';
|
||||||
import { execSync } from 'child_process';
|
import { execSync } from 'child_process';
|
||||||
import { existsSync } from 'fs-extra';
|
import { existsSync } from 'fs-extra';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { ProjectConfiguration, Workspaces } from '@nrwl/devkit';
|
import { ProjectConfiguration, Workspaces } from '@nx/devkit';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
import { tmpProjPath } from './create-project-utils';
|
import { tmpProjPath } from './create-project-utils';
|
||||||
import { readJson, updateFile } from './file-utils';
|
import { readJson, updateFile } from './file-utils';
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { joinPathFragments } from '@nrwl/devkit';
|
import { joinPathFragments } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
getPackageManagerCommand,
|
getPackageManagerCommand,
|
||||||
runCLI,
|
runCLI,
|
||||||
|
|||||||
@ -170,7 +170,7 @@ describe('Web Components Applications', () => {
|
|||||||
updateFile(
|
updateFile(
|
||||||
`apps/${appName}/webpack.config.js`,
|
`apps/${appName}/webpack.config.js`,
|
||||||
`
|
`
|
||||||
const { composePlugins, withNx, withWeb } = require('@nrwl/webpack');
|
const { composePlugins, withNx, withWeb } = require('@nx/webpack');
|
||||||
module.exports = composePlugins(withNx(), withWeb(), (config, context) => {
|
module.exports = composePlugins(withNx(), withWeb(), (config, context) => {
|
||||||
return config;
|
return config;
|
||||||
});
|
});
|
||||||
@ -185,7 +185,7 @@ describe('Web Components Applications', () => {
|
|||||||
updateFile(
|
updateFile(
|
||||||
`apps/${appName}/webpack.config.js`,
|
`apps/${appName}/webpack.config.js`,
|
||||||
`
|
`
|
||||||
const { composePlugins, withNx, withWeb } = require('@nrwl/webpack');
|
const { composePlugins, withNx, withWeb } = require('@nx/webpack');
|
||||||
module.exports = composePlugins(withNx(), withWeb(), async (config, context) => {
|
module.exports = composePlugins(withNx(), withWeb(), async (config, context) => {
|
||||||
return config;
|
return config;
|
||||||
});
|
});
|
||||||
@ -200,7 +200,7 @@ describe('Web Components Applications', () => {
|
|||||||
updateFile(
|
updateFile(
|
||||||
`apps/${appName}/webpack.config.js`,
|
`apps/${appName}/webpack.config.js`,
|
||||||
`
|
`
|
||||||
const { composePlugins, withNx, withWeb } = require('@nrwl/webpack');
|
const { composePlugins, withNx, withWeb } = require('@nx/webpack');
|
||||||
module.exports = composePlugins(withNx(), withWeb(), Promise.resolve((config, context) => {
|
module.exports = composePlugins(withNx(), withWeb(), Promise.resolve((config, context) => {
|
||||||
return config;
|
return config;
|
||||||
}));
|
}));
|
||||||
|
|||||||
@ -27,7 +27,7 @@ describe('Webpack Plugin', () => {
|
|||||||
updateFile(
|
updateFile(
|
||||||
`libs/${myPkg}/webpack.config.js`,
|
`libs/${myPkg}/webpack.config.js`,
|
||||||
`
|
`
|
||||||
const { composePlugins, withNx } = require('@nrwl/webpack');
|
const { composePlugins, withNx } = require('@nx/webpack');
|
||||||
|
|
||||||
module.exports = composePlugins(withNx(), (config) => {
|
module.exports = composePlugins(withNx(), (config) => {
|
||||||
console.log('scriptType is ' + config.output.scriptType);
|
console.log('scriptType is ' + config.output.scriptType);
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { defineConfig } from 'cypress';
|
import { defineConfig } from 'cypress';
|
||||||
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';
|
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
|
||||||
import setupNodeEvents from './src/plugins/index';
|
import setupNodeEvents from './src/plugins/index';
|
||||||
|
|
||||||
const cypressJsonConfig = {
|
const cypressJsonConfig = {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { defineConfig } from 'cypress';
|
import { defineConfig } from 'cypress';
|
||||||
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';
|
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
|
||||||
import setupNodeEvents from './src/plugins/index';
|
import setupNodeEvents from './src/plugins/index';
|
||||||
|
|
||||||
const cypressJsonConfig = {
|
const cypressJsonConfig = {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { defineConfig } from 'cypress';
|
import { defineConfig } from 'cypress';
|
||||||
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';
|
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
|
||||||
import setupNodeEvents from './src/plugins/index';
|
import setupNodeEvents from './src/plugins/index';
|
||||||
|
|
||||||
const cypressJsonConfig = {
|
const cypressJsonConfig = {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { defineConfig } from 'cypress';
|
import { defineConfig } from 'cypress';
|
||||||
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';
|
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
|
||||||
import setupNodeEvents from './src/plugins/index';
|
import setupNodeEvents from './src/plugins/index';
|
||||||
|
|
||||||
const cypressJsonConfig = {
|
const cypressJsonConfig = {
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
import type {
|
import type {
|
||||||
ProjectGraphDependency,
|
ProjectGraphDependency,
|
||||||
ProjectGraphProjectNode,
|
ProjectGraphProjectNode,
|
||||||
} from '@nrwl/devkit';
|
} from '@nx/devkit';
|
||||||
import { interpret } from 'xstate';
|
import { interpret } from 'xstate';
|
||||||
import { projectGraphMachine } from './project-graph.machine';
|
import { projectGraphMachine } from './project-graph.machine';
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type { ProjectGraphProjectNode } from '@nrwl/devkit';
|
import type { ProjectGraphProjectNode } from '@nx/devkit';
|
||||||
import { ProjectGraphSelector } from '../hooks/use-project-graph-selector';
|
import { ProjectGraphSelector } from '../hooks/use-project-graph-selector';
|
||||||
import { GraphPerfReport, WorkspaceLayout } from '../../interfaces';
|
import { GraphPerfReport, WorkspaceLayout } from '../../interfaces';
|
||||||
import { TracingAlgorithmType } from './interfaces';
|
import { TracingAlgorithmType } from './interfaces';
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import {
|
|||||||
MapPinIcon,
|
MapPinIcon,
|
||||||
} from '@heroicons/react/24/outline';
|
} from '@heroicons/react/24/outline';
|
||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type { ProjectGraphNode } from '@nrwl/devkit';
|
import type { ProjectGraphNode } from '@nx/devkit';
|
||||||
import { useProjectGraphSelector } from './hooks/use-project-graph-selector';
|
import { useProjectGraphSelector } from './hooks/use-project-graph-selector';
|
||||||
import {
|
import {
|
||||||
allProjectsSelector,
|
allProjectsSelector,
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type { ProjectGraphProjectNode } from '@nrwl/devkit';
|
import type { ProjectGraphProjectNode } from '@nx/devkit';
|
||||||
import {
|
import {
|
||||||
createTaskName,
|
createTaskName,
|
||||||
getProjectsByType,
|
getProjectsByType,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
import type {
|
import type {
|
||||||
ProjectGraphDependency,
|
ProjectGraphDependency,
|
||||||
ProjectGraphProjectNode,
|
ProjectGraphProjectNode,
|
||||||
} from '@nrwl/devkit';
|
} from '@nx/devkit';
|
||||||
import { TracingAlgorithmType } from '../feature-projects/machines/interfaces';
|
import { TracingAlgorithmType } from '../feature-projects/machines/interfaces';
|
||||||
|
|
||||||
// The events that the graph actor handles
|
// The events that the graph actor handles
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import type {
|
|||||||
DependencyType,
|
DependencyType,
|
||||||
ProjectGraphDependency,
|
ProjectGraphDependency,
|
||||||
ProjectGraphProjectNode,
|
ProjectGraphProjectNode,
|
||||||
} from '@nrwl/devkit';
|
} from '@nx/devkit';
|
||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type {
|
import type {
|
||||||
ProjectGraphClientResponse,
|
ProjectGraphClientResponse,
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import { ProjectGraphDependency, ProjectGraphProjectNode } from '@nrwl/devkit';
|
import { ProjectGraphDependency, ProjectGraphProjectNode } from '@nx/devkit';
|
||||||
import { getEnvironmentConfig } from './hooks/use-environment-config';
|
import { getEnvironmentConfig } from './hooks/use-environment-config';
|
||||||
import { To, useParams, useSearchParams } from 'react-router-dom';
|
import { To, useParams, useSearchParams } from 'react-router-dom';
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
const { createGlobPatternsForDependencies } = require('@nrwl/react/tailwind');
|
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import type {
|
|||||||
ProjectGraphDependency,
|
ProjectGraphDependency,
|
||||||
ProjectGraphProjectNode,
|
ProjectGraphProjectNode,
|
||||||
TaskGraph,
|
TaskGraph,
|
||||||
} from '@nrwl/devkit';
|
} from '@nx/devkit';
|
||||||
import { VirtualElement } from '@floating-ui/react';
|
import { VirtualElement } from '@floating-ui/react';
|
||||||
import {
|
import {
|
||||||
ProjectEdgeNodeTooltipProps,
|
ProjectEdgeNodeTooltipProps,
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type { ProjectGraphDependency } from '@nrwl/devkit';
|
import type { ProjectGraphDependency } from '@nx/devkit';
|
||||||
import * as cy from 'cytoscape';
|
import * as cy from 'cytoscape';
|
||||||
|
|
||||||
export interface ProjectEdgeDataDefinition extends cy.NodeDataDefinition {
|
export interface ProjectEdgeDataDefinition extends cy.NodeDataDefinition {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type { ProjectGraphProjectNode } from '@nrwl/devkit';
|
import type { ProjectGraphProjectNode } from '@nx/devkit';
|
||||||
import * as cy from 'cytoscape';
|
import * as cy from 'cytoscape';
|
||||||
import { parseParentDirectoriesFromFilePath } from '../util';
|
import { parseParentDirectoriesFromFilePath } from '../util';
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type { ProjectGraphDependency } from '@nrwl/devkit';
|
import type { ProjectGraphDependency } from '@nx/devkit';
|
||||||
import * as cy from 'cytoscape';
|
import * as cy from 'cytoscape';
|
||||||
|
|
||||||
export interface TaskEdgeDataDefinition extends cy.NodeDataDefinition {
|
export interface TaskEdgeDataDefinition extends cy.NodeDataDefinition {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type { ProjectGraphProjectNode, Task } from '@nrwl/devkit';
|
import type { ProjectGraphProjectNode, Task } from '@nx/devkit';
|
||||||
import * as cy from 'cytoscape';
|
import * as cy from 'cytoscape';
|
||||||
|
|
||||||
export interface TaskNodeDataDefinition extends cy.NodeDataDefinition {
|
export interface TaskNodeDataDefinition extends cy.NodeDataDefinition {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import type { ProjectGraphProjectNode } from '@nrwl/devkit';
|
import type { ProjectGraphProjectNode } from '@nx/devkit';
|
||||||
import { TaskGraphRecord } from '../interfaces';
|
import { TaskGraphRecord } from '../interfaces';
|
||||||
import { TaskNode } from './task-node';
|
import { TaskNode } from './task-node';
|
||||||
import { TaskEdge } from './task-edge';
|
import { TaskEdge } from './task-edge';
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
import { ProjectGraphDependency } from '@nrwl/devkit';
|
import { ProjectGraphDependency } from '@nx/devkit';
|
||||||
|
|
||||||
export function trimBackSlash(value: string): string {
|
export function trimBackSlash(value: string): string {
|
||||||
return value.replace(/\/$/, '');
|
return value.replace(/\/$/, '');
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
const { createGlobPatternsForDependencies } = require('@nrwl/react/tailwind');
|
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
// nx-ignore-next-line
|
// nx-ignore-next-line
|
||||||
const { createGlobPatternsForDependencies } = require('@nrwl/react/tailwind');
|
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';
|
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
|
||||||
import { defineConfig } from 'cypress';
|
import { defineConfig } from 'cypress';
|
||||||
|
|
||||||
const cypressJsonConfig = {
|
const cypressJsonConfig = {
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
"outputPath": "dist/nx-dev/nx-dev",
|
"outputPath": "dist/nx-dev/nx-dev",
|
||||||
"commands": [
|
"commands": [
|
||||||
"nx run nx-dev:sitemap",
|
"nx run nx-dev:sitemap",
|
||||||
"ts-node -P ./scripts/tsconfig.release.json ./scripts/documentation/internal-link-checker.ts"
|
"ts-node -P ./scripts/tsconfig.scripts.json ./scripts/documentation/internal-link-checker.ts"
|
||||||
],
|
],
|
||||||
"parallel": false
|
"parallel": false
|
||||||
}
|
}
|
||||||
|
|||||||
1
nx.json
1
nx.json
@ -12,6 +12,7 @@
|
|||||||
"build",
|
"build",
|
||||||
"lint-base",
|
"lint-base",
|
||||||
"lint",
|
"lint",
|
||||||
|
"build-ng",
|
||||||
"build-base",
|
"build-base",
|
||||||
"build-native",
|
"build-native",
|
||||||
"e2e",
|
"e2e",
|
||||||
|
|||||||
@ -58,6 +58,7 @@
|
|||||||
"@ngrx/router-store": "~15.3.0",
|
"@ngrx/router-store": "~15.3.0",
|
||||||
"@ngrx/store": "~15.3.0",
|
"@ngrx/store": "~15.3.0",
|
||||||
"@nguniversal/builders": "~15.2.0",
|
"@nguniversal/builders": "~15.2.0",
|
||||||
|
"@nrwl/angular": "16.0.0-beta.0",
|
||||||
"@nrwl/cypress": "16.0.0-beta.0",
|
"@nrwl/cypress": "16.0.0-beta.0",
|
||||||
"@nrwl/devkit": "16.0.0-beta.0",
|
"@nrwl/devkit": "16.0.0-beta.0",
|
||||||
"@nrwl/eslint-plugin-nx": "16.0.0-beta.0",
|
"@nrwl/eslint-plugin-nx": "16.0.0-beta.0",
|
||||||
|
|||||||
11
packages-legacy/angular/README.md
Normal file
11
packages-legacy/angular/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## @nrwl/angular has been deprecated!
|
||||||
|
|
||||||
|
@nrwl/angular has been deprecated in favor of [@nx/angular](https://www.npmjs.com/package/@nx/angular). Please use that instead.
|
||||||
|
|
||||||
|
@nrwl/angular 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>
|
||||||
|
|
||||||
|
# Nx: Smart, Fast and Extensible Build System
|
||||||
|
|
||||||
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
||||||
61
packages-legacy/angular/executors.json
Normal file
61
packages-legacy/angular/executors.json
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
{
|
||||||
|
"executors": {
|
||||||
|
"delegate-build": {
|
||||||
|
"implementation": "@nx/angular/src/executors/delegate-build/delegate-build.impl",
|
||||||
|
"schema": "@nx/angular/src/executors/delegate-build/schema.json",
|
||||||
|
"description": "Delegates the build to a different target while supporting incremental builds."
|
||||||
|
},
|
||||||
|
"ng-packagr-lite": {
|
||||||
|
"implementation": "@nx/angular/src/executors/ng-packagr-lite/ng-packagr-lite.impl",
|
||||||
|
"schema": "@nx/angular/src/executors/ng-packagr-lite/schema.json",
|
||||||
|
"description": "Builds a library with support for incremental builds.\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nrwl/angular:package` executor but with some key differences:\n- It doesn't run `ngcc` automatically (`ngcc` needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2020 bundles.\n- It doesn't generate package exports in the `package.json`."
|
||||||
|
},
|
||||||
|
"package": {
|
||||||
|
"implementation": "@nx/angular/src/executors/package/package.impl",
|
||||||
|
"schema": "@nx/angular/src/executors/package/schema.json",
|
||||||
|
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\nThis executor is similar to the `@angular-devkit/build-angular:ng-packagr` with additional support for incremental builds."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"builders": {
|
||||||
|
"delegate-build": {
|
||||||
|
"implementation": "@nx/angular/src/executors/delegate-build/compat",
|
||||||
|
"schema": "@nx/angular/src/executors/delegate-build/schema.json",
|
||||||
|
"description": "Delegates the build to a different target while supporting incremental builds."
|
||||||
|
},
|
||||||
|
"ng-packagr-lite": {
|
||||||
|
"implementation": "@nx/angular/src/executors/ng-packagr-lite/compat",
|
||||||
|
"schema": "@nx/angular/src/executors/ng-packagr-lite/schema.json",
|
||||||
|
"description": "Builds a library with support for incremental builds.\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nrwl/angular:package` executor but with some key differences:\n- It doesn't run `ngcc` automatically (`ngcc` needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`)\n- It only produces ESM2020 bundles\n- It doesn't generate package exports in the `package.json`"
|
||||||
|
},
|
||||||
|
"package": {
|
||||||
|
"implementation": "@nx/angular/src/executors/package/compat",
|
||||||
|
"schema": "@nx/angular/src/executors/package/schema.json",
|
||||||
|
"description": "Builds and packages an Angular library to be distributed as an NPM package. It supports incremental builds."
|
||||||
|
},
|
||||||
|
"webpack-browser": {
|
||||||
|
"implementation": "@nx/angular/src/builders/webpack-browser/webpack-browser.impl",
|
||||||
|
"schema": "@nx/angular/src/builders/webpack-browser/schema.json",
|
||||||
|
"description": "The `webpack-browser` executor is very similar to the standard `browser` builder provided by the Angular Devkit. It allows you to build your Angular application to a build artifact that can be hosted online. There are some key differences: \n- Supports Custom Webpack Configurations \n- Supports Incremental Building"
|
||||||
|
},
|
||||||
|
"webpack-dev-server": {
|
||||||
|
"implementation": "@nx/angular/src/builders/webpack-dev-server/webpack-dev-server.impl",
|
||||||
|
"schema": "@nx/angular/src/builders/webpack-dev-server/schema.json",
|
||||||
|
"description": "The `webpack-dev-server` executor is very similar to the standard `dev-server` builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration."
|
||||||
|
},
|
||||||
|
"webpack-server": {
|
||||||
|
"implementation": "@nx/angular/src/builders/webpack-server/webpack-server.impl",
|
||||||
|
"schema": "@nx/angular/src/builders/webpack-server/schema.json",
|
||||||
|
"description": "The `webpack-server` executor is very similar to the standard `server` builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration and NgUniversal for SSR."
|
||||||
|
},
|
||||||
|
"module-federation-dev-server": {
|
||||||
|
"implementation": "@nx/angular/src/builders/module-federation-dev-server/module-federation-dev-server.impl",
|
||||||
|
"schema": "@nx/angular/src/builders/module-federation-dev-server/schema.json",
|
||||||
|
"description": "The module-federation-dev-server executor is reserved exclusively for use with host Module Federation applications. It allows the user to specify which remote applications should be served with the host."
|
||||||
|
},
|
||||||
|
"module-federation-dev-ssr": {
|
||||||
|
"implementation": "@nx/angular/src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl",
|
||||||
|
"schema": "@nx/angular/src/builders/module-federation-dev-ssr/schema.json",
|
||||||
|
"description": "The module-federation-dev-ssr executor is reserved exclusively for use with host Module Federation applications that use SSR. It allows the user to specify which remote applications should be served with the host."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
1
packages-legacy/angular/executors.ts
Normal file
1
packages-legacy/angular/executors.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/angular/executors';
|
||||||
4
packages-legacy/angular/generators.json
Normal file
4
packages-legacy/angular/generators.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": ["@nx/angular"],
|
||||||
|
"schematics": {}
|
||||||
|
}
|
||||||
1
packages-legacy/angular/generators.ts
Normal file
1
packages-legacy/angular/generators.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/angular/generators';
|
||||||
1
packages-legacy/angular/index.ts
Normal file
1
packages-legacy/angular/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/angular';
|
||||||
1
packages-legacy/angular/mf/index.ts
Normal file
1
packages-legacy/angular/mf/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/angular/mf';
|
||||||
6
packages-legacy/angular/mf/ng-package.json
Normal file
6
packages-legacy/angular/mf/ng-package.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
|
||||||
|
"lib": {
|
||||||
|
"entryFile": "index.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
1
packages-legacy/angular/module-federation/index.ts
Normal file
1
packages-legacy/angular/module-federation/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/angular/module-federation';
|
||||||
32
packages-legacy/angular/ng-package.json
Normal file
32
packages-legacy/angular/ng-package.json
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
||||||
|
"lib": {
|
||||||
|
"entryFile": "index.ts"
|
||||||
|
},
|
||||||
|
"dest": "../../build/packages/angular-legacy",
|
||||||
|
"deleteDestPath": false,
|
||||||
|
"allowedNonPeerDependencies": [
|
||||||
|
"@nx/",
|
||||||
|
"@nrwl/",
|
||||||
|
"@angular-devkit",
|
||||||
|
"@angular-eslint/",
|
||||||
|
"@nguniversal/builders",
|
||||||
|
"@schematics",
|
||||||
|
"@phenomnomnominal/tsquery",
|
||||||
|
"@typescript-eslint/",
|
||||||
|
"chalk",
|
||||||
|
"chokidar",
|
||||||
|
"ignore",
|
||||||
|
"minimatch",
|
||||||
|
"rxjs-for-await",
|
||||||
|
"webpack-merge",
|
||||||
|
"ts-node",
|
||||||
|
"tsconfig-paths",
|
||||||
|
"semver",
|
||||||
|
"webpack",
|
||||||
|
"http-server",
|
||||||
|
"magic-string",
|
||||||
|
"enquirer"
|
||||||
|
],
|
||||||
|
"keepLifecycleScripts": true
|
||||||
|
}
|
||||||
44
packages-legacy/angular/package.json
Normal file
44
packages-legacy/angular/package.json
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"name": "@nrwl/angular",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"private": false,
|
||||||
|
"description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Upgrading AngularJS applications \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nrwl/nx.git",
|
||||||
|
"directory": "packages-legacy/angular"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"Monorepo",
|
||||||
|
"Angular",
|
||||||
|
"Jest",
|
||||||
|
"Cypress",
|
||||||
|
"CLI"
|
||||||
|
],
|
||||||
|
"exports": {
|
||||||
|
"./generators": "./generators.js",
|
||||||
|
"./executors": "./executors.js",
|
||||||
|
"./tailwind": "./tailwind.js",
|
||||||
|
"./src/generators/utils": "./src/generators/utils/index.js",
|
||||||
|
"./src/utils": "./src/utils/public-api.js",
|
||||||
|
"./module-federation": "./module-federation/index.js",
|
||||||
|
"./plugins/component-testing": "./plugins/component-testing.js"
|
||||||
|
},
|
||||||
|
"author": "Victor Savkin",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/nrwl/nx/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://nx.dev",
|
||||||
|
"builders": "./executors.json",
|
||||||
|
"schematics": "./generators.json",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/angular": "file:../../packages/angular"
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"nx-migrations": {
|
||||||
|
"migrations": "@nx/angular/migrations.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
1
packages-legacy/angular/plugins/component-testing.ts
Normal file
1
packages-legacy/angular/plugins/component-testing.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/angular/plugins/component-testing';
|
||||||
53
packages-legacy/angular/project.json
Normal file
53
packages-legacy/angular/project.json
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"name": "angular-legacy",
|
||||||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||||
|
"sourceRoot": "packages-legacy/angular",
|
||||||
|
"projectType": "library",
|
||||||
|
"targets": {
|
||||||
|
"build-ng": {
|
||||||
|
"dependsOn": ["^build", "build-base"],
|
||||||
|
"executor": "@nrwl/angular:package",
|
||||||
|
"options": {
|
||||||
|
"project": "packages-legacy/angular/ng-package.json",
|
||||||
|
"tsConfig": "packages-legacy/angular/tsconfig.json"
|
||||||
|
},
|
||||||
|
"outputs": ["build/packages/angular-legacy"]
|
||||||
|
},
|
||||||
|
"build-base": {
|
||||||
|
"executor": "@nrwl/js:tsc",
|
||||||
|
"dependsOn": ["^build"],
|
||||||
|
"options": {
|
||||||
|
"main": "packages-legacy/angular/index.ts",
|
||||||
|
"tsConfig": "packages-legacy/angular/tsconfig.json",
|
||||||
|
"outputPath": "build/packages/angular-legacy",
|
||||||
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/angular",
|
||||||
|
"glob": "**/*.json",
|
||||||
|
"ignore": ["**/tsconfig*.json", "project.json"],
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/angular",
|
||||||
|
"glob": "**/*.d.ts",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "",
|
||||||
|
"glob": "LICENSE",
|
||||||
|
"output": "/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"dependsOn": ["build-ng", "build-base", "^build"],
|
||||||
|
"executor": "nx:run-commands",
|
||||||
|
"options": {
|
||||||
|
"command": "echo 'Built angular-legacy'"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"implicitDependencies": ["workspace", "cypress", "jest"]
|
||||||
|
}
|
||||||
1
packages-legacy/angular/tailwind.ts
Normal file
1
packages-legacy/angular/tailwind.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/angular/tailwind';
|
||||||
1
packages-legacy/angular/testing/index.ts
Normal file
1
packages-legacy/angular/testing/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export { readAll, readFirst } from '@nx/angular/testing';
|
||||||
6
packages-legacy/angular/testing/ng-package.json
Normal file
6
packages-legacy/angular/testing/ng-package.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
|
||||||
|
"lib": {
|
||||||
|
"entryFile": "index.ts"
|
||||||
|
}
|
||||||
|
}
|
||||||
8
packages-legacy/angular/tsconfig.json
Normal file
8
packages-legacy/angular/tsconfig.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"compilationMode": "partial"
|
||||||
|
},
|
||||||
|
"include": ["**/*.ts"],
|
||||||
|
"files": ["index.ts"]
|
||||||
|
}
|
||||||
11
packages-legacy/cypress/README.md
Normal file
11
packages-legacy/cypress/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## @nrwl/cypress has been deprecated!
|
||||||
|
|
||||||
|
@nrwl/cypress has been deprecated in favor of [@nx/cypress](https://www.npmjs.com/package/@nx/cypress). Please use that instead.
|
||||||
|
|
||||||
|
@nrwl/cypress 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>
|
||||||
|
|
||||||
|
# Nx: Smart, Fast and Extensible Build System
|
||||||
|
|
||||||
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
||||||
16
packages-legacy/cypress/executors.json
Normal file
16
packages-legacy/cypress/executors.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"builders": {
|
||||||
|
"cypress": {
|
||||||
|
"implementation": "@nx/cypress/src/executors/cypress/compat",
|
||||||
|
"schema": "@nx/cypress/src/executors/cypress/schema.json",
|
||||||
|
"description": "Run Cypress E2E tests."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"executors": {
|
||||||
|
"cypress": {
|
||||||
|
"implementation": "@nx/cypress/src/executors/cypress/cypress.impl",
|
||||||
|
"schema": "@nx/cypress/src/executors/cypress/schema.json",
|
||||||
|
"description": "Run Cypress E2E tests."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
4
packages-legacy/cypress/generators.json
Normal file
4
packages-legacy/cypress/generators.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": ["@nx/cypress"],
|
||||||
|
"schematics": {}
|
||||||
|
}
|
||||||
1
packages-legacy/cypress/index.ts
Normal file
1
packages-legacy/cypress/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/cypress';
|
||||||
41
packages-legacy/cypress/package.json
Normal file
41
packages-legacy/cypress/package.json
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"name": "@nrwl/cypress",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"private": false,
|
||||||
|
"description": "The Nx Plugin for Cypress contains executors and generators allowing your workspace to use the powerful Cypress integration testing capabilities.",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nrwl/nx.git",
|
||||||
|
"directory": "packages-legacy/cypress"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"Monorepo",
|
||||||
|
"Angular",
|
||||||
|
"React",
|
||||||
|
"Web",
|
||||||
|
"Node",
|
||||||
|
"Nest",
|
||||||
|
"Jest",
|
||||||
|
"Cypress",
|
||||||
|
"CLI"
|
||||||
|
],
|
||||||
|
"main": "./index",
|
||||||
|
"typings": "./index.d.ts",
|
||||||
|
"author": "Victor Savkin",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/nrwl/nx/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://nx.dev",
|
||||||
|
"schematics": "./generators.json",
|
||||||
|
"builders": "./executors.json",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/cypress": "file:../../packages/cypress"
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"nx-migrations": {
|
||||||
|
"migrations": "@nx/cypress/migrations.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
1
packages-legacy/cypress/plugins/cypress-preset.ts
Normal file
1
packages-legacy/cypress/plugins/cypress-preset.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/cypress/plugins/cypress-preset';
|
||||||
36
packages-legacy/cypress/project.json
Normal file
36
packages-legacy/cypress/project.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "cypress-legacy",
|
||||||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||||
|
"sourceRoot": "packages-legacy/cypress",
|
||||||
|
"projectType": "library",
|
||||||
|
"targets": {
|
||||||
|
"build": {
|
||||||
|
"executor": "@nrwl/js:tsc",
|
||||||
|
"dependsOn": ["^build"],
|
||||||
|
"options": {
|
||||||
|
"main": "packages-legacy/cypress/index.ts",
|
||||||
|
"tsConfig": "packages-legacy/cypress/tsconfig.json",
|
||||||
|
"outputPath": "build/packages/cypress-legacy",
|
||||||
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/cypress",
|
||||||
|
"glob": "**/*.json",
|
||||||
|
"ignore": ["**/tsconfig*.json", "project.json"],
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/cypress",
|
||||||
|
"glob": "**/*.d.ts",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "",
|
||||||
|
"glob": "LICENSE",
|
||||||
|
"output": "/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
6
packages-legacy/cypress/tsconfig.json
Normal file
6
packages-legacy/cypress/tsconfig.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {},
|
||||||
|
"include": ["**/*.ts"],
|
||||||
|
"files": ["index.ts"]
|
||||||
|
}
|
||||||
11
packages-legacy/detox/README.md
Normal file
11
packages-legacy/detox/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## @nrwl/detox has been deprecated!
|
||||||
|
|
||||||
|
@nrwl/detox has been deprecated in favor of [@nx/detox](https://www.npmjs.com/package/@nx/detox). Please use that instead.
|
||||||
|
|
||||||
|
@nrwl/detox 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>
|
||||||
|
|
||||||
|
# Nx: Smart, Fast and Extensible Build System
|
||||||
|
|
||||||
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
||||||
14
packages-legacy/detox/executors.json
Normal file
14
packages-legacy/detox/executors.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"executors": {
|
||||||
|
"build": {
|
||||||
|
"implementation": "@nx/detox/src/executors/build/build.impl",
|
||||||
|
"schema": "@nx/detox/src/executors/build/schema.json",
|
||||||
|
"description": "Run the command defined in build property of the specified configuration."
|
||||||
|
},
|
||||||
|
"test": {
|
||||||
|
"implementation": "@nx/detox/src/executors/test/test.impl",
|
||||||
|
"schema": "@nx/detox/src/executors/test/schema.json",
|
||||||
|
"description": "Initiating your detox test suite."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
4
packages-legacy/detox/generators.json
Normal file
4
packages-legacy/detox/generators.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": ["@nx/detox"],
|
||||||
|
"schematics": {}
|
||||||
|
}
|
||||||
1
packages-legacy/detox/index.ts
Normal file
1
packages-legacy/detox/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/detox';
|
||||||
38
packages-legacy/detox/package.json
Normal file
38
packages-legacy/detox/package.json
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"name": "@nrwl/detox",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"private": false,
|
||||||
|
"description": "The Nx Plugin for Detox contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.",
|
||||||
|
"keywords": [
|
||||||
|
"Monorepo",
|
||||||
|
"React",
|
||||||
|
"Web",
|
||||||
|
"Native",
|
||||||
|
"CLI",
|
||||||
|
"Detox"
|
||||||
|
],
|
||||||
|
"homepage": "https://nx.dev",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/nrwl/nx/issues"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nrwl/nx.git",
|
||||||
|
"directory": "packages-legacy/detox"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"author": "Victor Savkin",
|
||||||
|
"main": "./index",
|
||||||
|
"types": "index.d.ts",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/detox": "file:../../packages/detox"
|
||||||
|
},
|
||||||
|
"builders": "./executors.json",
|
||||||
|
"schematics": "./generators.json",
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"nx-migrations": {
|
||||||
|
"migrations": "@nx/detox/migrations.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
36
packages-legacy/detox/project.json
Normal file
36
packages-legacy/detox/project.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "detox-legacy",
|
||||||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||||
|
"sourceRoot": "packages-legacy/detox",
|
||||||
|
"projectType": "library",
|
||||||
|
"targets": {
|
||||||
|
"build": {
|
||||||
|
"executor": "@nrwl/js:tsc",
|
||||||
|
"dependsOn": ["^build"],
|
||||||
|
"options": {
|
||||||
|
"main": "packages-legacy/detox/index.ts",
|
||||||
|
"tsConfig": "packages-legacy/detox/tsconfig.json",
|
||||||
|
"outputPath": "build/packages/detox-legacy",
|
||||||
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/detox",
|
||||||
|
"glob": "**/*.json",
|
||||||
|
"ignore": ["**/tsconfig*.json", "project.json"],
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/detox",
|
||||||
|
"glob": "**/*.d.ts",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "",
|
||||||
|
"glob": "LICENSE",
|
||||||
|
"output": "/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
6
packages-legacy/detox/tsconfig.json
Normal file
6
packages-legacy/detox/tsconfig.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {},
|
||||||
|
"include": ["**/*.ts"],
|
||||||
|
"files": ["index.ts"]
|
||||||
|
}
|
||||||
11
packages-legacy/devkit/README.md
Normal file
11
packages-legacy/devkit/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## @nrwl/devkit has been deprecated!
|
||||||
|
|
||||||
|
@nrwl/devkit has been deprecated in favor of [@nx/devkit](https://www.npmjs.com/package/@nx/devkit). Please use that instead.
|
||||||
|
|
||||||
|
@nrwl/devkit 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>
|
||||||
|
|
||||||
|
# Nx: Smart, Fast and Extensible Build System
|
||||||
|
|
||||||
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
||||||
1
packages-legacy/devkit/index.ts
Normal file
1
packages-legacy/devkit/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/devkit';
|
||||||
39
packages-legacy/devkit/package.json
Normal file
39
packages-legacy/devkit/package.json
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"name": "@nrwl/devkit",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"private": false,
|
||||||
|
"description": "The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more.",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nrwl/nx.git",
|
||||||
|
"directory": "packages-legacy/devkit"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"Monorepo",
|
||||||
|
"Angular",
|
||||||
|
"React",
|
||||||
|
"Web",
|
||||||
|
"Node",
|
||||||
|
"Nest",
|
||||||
|
"Jest",
|
||||||
|
"Cypress",
|
||||||
|
"CLI"
|
||||||
|
],
|
||||||
|
"main": "./index",
|
||||||
|
"typings": "./index.d.ts",
|
||||||
|
"author": "Victor Savkin",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/nrwl/nx/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://nx.dev",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/devkit": "file:../../packages/devkit"
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"nx-migrations": {
|
||||||
|
"migrations": "@nx/devkit/migrations.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
36
packages-legacy/devkit/project.json
Normal file
36
packages-legacy/devkit/project.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "devkit-legacy",
|
||||||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||||
|
"sourceRoot": "packages-legacy/devkit",
|
||||||
|
"projectType": "library",
|
||||||
|
"targets": {
|
||||||
|
"build": {
|
||||||
|
"executor": "@nrwl/js:tsc",
|
||||||
|
"dependsOn": ["^build"],
|
||||||
|
"options": {
|
||||||
|
"main": "packages-legacy/devkit/index.ts",
|
||||||
|
"tsConfig": "packages-legacy/devkit/tsconfig.json",
|
||||||
|
"outputPath": "build/packages/devkit-legacy",
|
||||||
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/devkit",
|
||||||
|
"glob": "**/*.json",
|
||||||
|
"ignore": ["**/tsconfig*.json", "project.json"],
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/devkit",
|
||||||
|
"glob": "**/*.d.ts",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "",
|
||||||
|
"glob": "LICENSE",
|
||||||
|
"output": "/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
1
packages-legacy/devkit/testing.ts
Normal file
1
packages-legacy/devkit/testing.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/devkit/testing';
|
||||||
6
packages-legacy/devkit/tsconfig.json
Normal file
6
packages-legacy/devkit/tsconfig.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {},
|
||||||
|
"include": ["**/*.ts"],
|
||||||
|
"files": ["index.ts"]
|
||||||
|
}
|
||||||
11
packages-legacy/esbuild/README.md
Normal file
11
packages-legacy/esbuild/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## @nrwl/esbuild has been deprecated!
|
||||||
|
|
||||||
|
@nrwl/esbuild has been deprecated in favor of [@nx/esbuild](https://www.npmjs.com/package/@nx/esbuild). Please use that instead.
|
||||||
|
|
||||||
|
@nrwl/esbuild 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>
|
||||||
|
|
||||||
|
# Nx: Smart, Fast and Extensible Build System
|
||||||
|
|
||||||
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
||||||
16
packages-legacy/esbuild/executors.json
Normal file
16
packages-legacy/esbuild/executors.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"builders": {
|
||||||
|
"esbuild": {
|
||||||
|
"implementation": "@nx/esbuild/src/executors/esbuild/compat",
|
||||||
|
"schema": "@nx/esbuild/src/executors/esbuild/schema.json",
|
||||||
|
"description": "Bundle a package using EsBuild."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"executors": {
|
||||||
|
"esbuild": {
|
||||||
|
"implementation": "@nx/esbuild/src/executors/esbuild/esbuild.impl",
|
||||||
|
"schema": "@nx/esbuild/src/executors/esbuild/schema.json",
|
||||||
|
"description": "Bundle a package using EsBuild."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
4
packages-legacy/esbuild/generators.json
Normal file
4
packages-legacy/esbuild/generators.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": ["@nx/esbuild"],
|
||||||
|
"schematics": {}
|
||||||
|
}
|
||||||
1
packages-legacy/esbuild/index.ts
Normal file
1
packages-legacy/esbuild/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/esbuild';
|
||||||
36
packages-legacy/esbuild/package.json
Normal file
36
packages-legacy/esbuild/package.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "@nrwl/esbuild",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"private": false,
|
||||||
|
"description": "The Nx Plugin for esbuild contains executors and generators that support building applications using esbuild",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nrwl/nx.git",
|
||||||
|
"directory": "packages-legacy/esbuild"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"Monorepo",
|
||||||
|
"EsBuild",
|
||||||
|
"Web",
|
||||||
|
"CLI"
|
||||||
|
],
|
||||||
|
"main": "./index",
|
||||||
|
"typings": "./index.d.ts",
|
||||||
|
"author": "Victor Savkin",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/nrwl/nx/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://nx.dev",
|
||||||
|
"schematics": "./generators.json",
|
||||||
|
"builders": "./executors.json",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/esbuild": "file:../../packages/esbuild"
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"nx-migrations": {
|
||||||
|
"migrations": "@nx/esbuild/migrations.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
36
packages-legacy/esbuild/project.json
Normal file
36
packages-legacy/esbuild/project.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "esbuild-legacy",
|
||||||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||||
|
"sourceRoot": "packages-legacy/esbuild",
|
||||||
|
"projectType": "library",
|
||||||
|
"targets": {
|
||||||
|
"build": {
|
||||||
|
"executor": "@nrwl/js:tsc",
|
||||||
|
"dependsOn": ["^build"],
|
||||||
|
"options": {
|
||||||
|
"main": "packages-legacy/esbuild/index.ts",
|
||||||
|
"tsConfig": "packages-legacy/esbuild/tsconfig.json",
|
||||||
|
"outputPath": "build/packages/esbuild-legacy",
|
||||||
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/esbuild",
|
||||||
|
"glob": "**/*.json",
|
||||||
|
"ignore": ["**/tsconfig*.json", "project.json"],
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/esbuild",
|
||||||
|
"glob": "**/*.d.ts",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "",
|
||||||
|
"glob": "LICENSE",
|
||||||
|
"output": "/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
6
packages-legacy/esbuild/tsconfig.json
Normal file
6
packages-legacy/esbuild/tsconfig.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {},
|
||||||
|
"include": ["**/*.ts"],
|
||||||
|
"files": ["index.ts"]
|
||||||
|
}
|
||||||
11
packages-legacy/eslint-plugin-nx/README.md
Normal file
11
packages-legacy/eslint-plugin-nx/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## @nrwl/eslint-plugin-nx has been deprecated!
|
||||||
|
|
||||||
|
@nrwl/eslint-plugin-nx has been deprecated in favor of [@nx/eslint-plugin-nx](https://www.npmjs.com/package/@nx/eslint-plugin-nx). Please use that instead.
|
||||||
|
|
||||||
|
@nrwl/eslint-plugin-nx 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>
|
||||||
|
|
||||||
|
# Nx: Smart, Fast and Extensible Build System
|
||||||
|
|
||||||
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
||||||
1
packages-legacy/eslint-plugin-nx/index.ts
Normal file
1
packages-legacy/eslint-plugin-nx/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from '@nx/eslint-plugin-nx';
|
||||||
35
packages-legacy/eslint-plugin-nx/package.json
Normal file
35
packages-legacy/eslint-plugin-nx/package.json
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"name": "@nrwl/eslint-plugin-nx",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"private": false,
|
||||||
|
"description": "The eslint-plugin-nx package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nrwl/nx.git",
|
||||||
|
"directory": "packages-legacy/eslint-plugin-nx"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"Monorepo",
|
||||||
|
"Web",
|
||||||
|
"Lint",
|
||||||
|
"ESLint",
|
||||||
|
"CLI"
|
||||||
|
],
|
||||||
|
"main": "./src/index.js",
|
||||||
|
"typings": "./src/index.d.ts",
|
||||||
|
"author": "Victor Savkin",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/nrwl/nx/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://nx.dev",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/eslint-plugin-nx": "file:../../packages/eslint-plugin-nx"
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"nx-migrations": {
|
||||||
|
"migrations": "@nx/eslint-plugin-nx/migrations.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
36
packages-legacy/eslint-plugin-nx/project.json
Normal file
36
packages-legacy/eslint-plugin-nx/project.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "eslint-plugin-nx-legacy",
|
||||||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||||
|
"sourceRoot": "packages-legacy/eslint-plugin-nx",
|
||||||
|
"projectType": "library",
|
||||||
|
"targets": {
|
||||||
|
"build": {
|
||||||
|
"executor": "@nrwl/js:tsc",
|
||||||
|
"dependsOn": ["^build"],
|
||||||
|
"options": {
|
||||||
|
"main": "packages-legacy/eslint-plugin-nx/index.ts",
|
||||||
|
"tsConfig": "packages-legacy/eslint-plugin-nx/tsconfig.json",
|
||||||
|
"outputPath": "build/packages/eslint-plugin-nx-legacy",
|
||||||
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/eslint-plugin-nx",
|
||||||
|
"glob": "**/*.json",
|
||||||
|
"ignore": ["**/tsconfig*.json", "project.json"],
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages-legacy/eslint-plugin-nx",
|
||||||
|
"glob": "**/*.d.ts",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "",
|
||||||
|
"glob": "LICENSE",
|
||||||
|
"output": "/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
6
packages-legacy/eslint-plugin-nx/tsconfig.json
Normal file
6
packages-legacy/eslint-plugin-nx/tsconfig.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {},
|
||||||
|
"include": ["**/*.ts"],
|
||||||
|
"files": ["index.ts"]
|
||||||
|
}
|
||||||
11
packages-legacy/expo/README.md
Normal file
11
packages-legacy/expo/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## @nrwl/expo has been deprecated!
|
||||||
|
|
||||||
|
@nrwl/expo has been deprecated in favor of [@nx/expo](https://www.npmjs.com/package/@nx/expo). Please use that instead.
|
||||||
|
|
||||||
|
@nrwl/expo 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>
|
||||||
|
|
||||||
|
# Nx: Smart, Fast and Extensible Build System
|
||||||
|
|
||||||
|
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user