Skip to content

Commit

Permalink
Revert "fix(angular): export schematic compat using internal generato…
Browse files Browse the repository at this point in the history
…r function"

This reverts commit 464633e.
  • Loading branch information
leosvelperez committed Aug 17, 2023
1 parent 464633e commit cb841ab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { convertNxGenerator } from '@nx/devkit';
import { warnForSchematicUsage } from '../utils/warn-for-schematic-usage';
import { applicationGeneratorInternal } from './application';
import application from './application';

export const applicationSchematic = warnForSchematicUsage(
convertNxGenerator(applicationGeneratorInternal)
convertNxGenerator(application)
);
4 changes: 2 additions & 2 deletions packages/angular/src/generators/host/host.compat.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { convertNxGenerator } from '@nx/devkit';
import { warnForSchematicUsage } from '../utils/warn-for-schematic-usage';
import { hostInternal } from './host';
import host from './host';

export default warnForSchematicUsage(convertNxGenerator(hostInternal));
export default warnForSchematicUsage(convertNxGenerator(host));
4 changes: 2 additions & 2 deletions packages/angular/src/generators/library/library.compat.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { convertNxGenerator } from '@nx/devkit';
import { warnForSchematicUsage } from '../utils/warn-for-schematic-usage';
import { libraryGeneratorInternal } from './library';
import library from './library';

export const librarySchematic = warnForSchematicUsage(
convertNxGenerator(libraryGeneratorInternal)
convertNxGenerator(library)
);
4 changes: 2 additions & 2 deletions packages/angular/src/generators/remote/remote.compat.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { convertNxGenerator } from '@nx/devkit';
import { warnForSchematicUsage } from '../utils/warn-for-schematic-usage';
import { remoteInternal } from './remote';
import remote from './remote';

export default warnForSchematicUsage(convertNxGenerator(remoteInternal));
export default warnForSchematicUsage(convertNxGenerator(remote));

0 comments on commit cb841ab

Please sign in to comment.