Skip to content

Commit 97d4d6f

Browse files
committed
feat(gen): always use Babel
leave in supporting code for use with eventually supporting typescript
1 parent cb0e4ab commit 97d4d6f

26 files changed

Lines changed: 4 additions & 70 deletions

app/generator.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,13 @@ export default class Generator extends Base {
9090

9191
this.log('# Client\n');
9292

93-
this.prompt([{
93+
this.prompt([/*{
9494
type: 'list',
9595
name: 'script',
9696
message: 'What would you like to write scripts with?',
97-
choices: [ 'JavaScript', 'JavaScript + Babel'],
98-
filter: function( val ) {
99-
return {
100-
'JavaScript': 'js',
101-
'JavaScript + Babel': 'babel'
102-
}[val];
103-
}
104-
}, {
97+
choices: ['Babel', 'TypeScript'],
98+
filter: function(val) { return val.toLowerCase(); }
99+
}, */{
105100
type: 'list',
106101
name: 'markup',
107102
message: 'What would you like to write markup with?',
File renamed without changes.

app/templates/client/app/account(auth)/login/login.controller(js).js renamed to app/templates/client/app/account(auth)/login/login.controller.js

File renamed without changes.

app/templates/client/app/account(auth)/settings/settings.controller(js).js renamed to app/templates/client/app/account(auth)/settings/settings.controller.js

File renamed without changes.

app/templates/client/app/account(auth)/signup/signup.controller(js).js renamed to app/templates/client/app/account(auth)/signup/signup.controller.js

File renamed without changes.

app/templates/client/app/admin(auth)/admin.controller(js).js renamed to app/templates/client/app/admin(auth)/admin.controller.js

File renamed without changes.
File renamed without changes.
File renamed without changes.

app/templates/client/app/main/main.controller.spec(js).js renamed to app/templates/client/app/main/main.controller.spec.js

File renamed without changes.

0 commit comments

Comments
 (0)