Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Add alias "JavaScript" for JavaScript generator #43

Closed
peterblazejewicz opened this issue Jan 2, 2015 · 3 comments
Closed

Add alias "JavaScript" for JavaScript generator #43

peterblazejewicz opened this issue Jan 2, 2015 · 3 comments

Comments

@peterblazejewicz
Copy link
Member

I think generator should follow its own conventions (CoffeeScript) - so maybe there should be aspnet:JavaScript subgenerator that can be used as:

yo aspnet:JavaScript app

At the moment there is a JScript subgenerator - with a name that could not exactly correctly explain what kind of script is to be created in my opinion: http://en.wikipedia.org/wiki/JScript (the link is just for reference)

Aliases to subgenerators can be created by adding new subgenerator with correct (expected) name which uses existing subgenerator as module.
The problem is common, for example there was similar issue on Polymer generator I'm using where not trully fortunate name el was picked as name for subgenerator that creates element causing confusions:
yeoman/generator-polymer#87
yeoman/generator-polymer@b0d5102

@spboyer
Copy link
Contributor

spboyer commented Jan 2, 2015

I agree, I'll add this in my next PR. Adding a Typescript template as well

@sayedihashimi
Copy link
Member

+1

@spboyer
Copy link
Contributor

spboyer commented Jan 4, 2015

Added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants