mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-26 19:47:30 +00:00
Add yosay to Yeoman generator
This commit is contained in:
@@ -2,6 +2,7 @@ import * as path from 'path';
|
||||
import * as yeoman from 'yeoman-generator';
|
||||
import * as uuid from 'node-uuid';
|
||||
import * as glob from 'glob';
|
||||
const yosay = require('yosay');
|
||||
const toPascalCase = require('to-pascal-case');
|
||||
|
||||
const templates = [
|
||||
@@ -16,8 +17,9 @@ class MyGenerator extends yeoman.Base {
|
||||
|
||||
constructor(args: string | string[], options: any) {
|
||||
super(args, options);
|
||||
this.log(yosay('Welcome to the ASP.NET Core Single-Page App generator!'));
|
||||
}
|
||||
|
||||
|
||||
prompting() {
|
||||
const done = this.async();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user