cleanup(core): remove unused project-level generator config

This commit is contained in:
victor savkin 2020-12-02 15:45:03 -05:00 committed by Victor Savkin
parent ae397d2d10
commit d42bd2d8c4

View File

@ -65,25 +65,6 @@ export interface ProjectConfiguration {
* Project type
*/
projectType?: 'library' | 'application';
/**
* List of default values used by generators.
*
* These defaults are scoped to a project. They override global defaults.
*
* Example:
*
* ```
* {
* "@nrwl/react": {
* "library": {
* "style": "scss"
* }
* }
* }
* ```
*/
generators?: { [collectionName: string]: { [generatorName: string]: any } };
}
/**
@ -144,11 +125,6 @@ export class Workspaces {
delete target.builder;
}
});
if (project.schematics) {
project.generators = project.schematics;
delete project.schematics;
}
});
if (w.schematics) {
@ -171,11 +147,6 @@ export class Workspaces {
delete target.execuctor;
}
});
if (project.generators) {
project.schematics = project.generators;
delete project.generators;
}
});
if (w.generators) {