diff --git a/lib/schematics/nest.collection.ts b/lib/schematics/nest.collection.ts index 2d9dc588a..c3eaf05c5 100644 --- a/lib/schematics/nest.collection.ts +++ b/lib/schematics/nest.collection.ts @@ -65,6 +65,11 @@ export class NestCollection extends AbstractCollection { alias: 'itf', description: 'Generate an interface', }, + { + name: 'library', + alias: 'lib', + description: 'Generate a new library within a monorepo', + }, { name: 'middleware', alias: 'mi', @@ -90,26 +95,21 @@ export class NestCollection extends AbstractCollection { alias: 'r', description: 'Generate a GraphQL resolver declaration', }, + { + name: 'resource', + alias: 'res', + description: 'Generate a new CRUD resource', + }, { name: 'service', alias: 's', description: 'Generate a service declaration', }, - { - name: 'library', - alias: 'lib', - description: 'Generate a new library within a monorepo', - }, { name: 'sub-app', alias: 'app', description: 'Generate a new application within a monorepo', }, - { - name: 'resource', - alias: 'res', - description: 'Generate a new CRUD resource', - }, ]; constructor(runner: AbstractRunner) {