There's still a lot that needs to be done to get this updated but this is the start.
Running grunt test I get a LOT of errors, I can't seem to find require('yeoman-generator').generators.Base anywhere in the code even though mocha gives an error about it. The other main warning that needs to be fixed is the one about lodash.
➜ generator-angular-material-fullstack git:(master) ✗ npm test
> generator-angular-material-fullstack@0.1.3 test /Users/xo/code/generator-angular-material-fullstack
> grunt test
Running "updateFixtures" task
Running "installFixtures" task
>> installing npm dependencies for generated app
>> installing bower dependencies for generated app
Running "mochaTest:test" (mochaTest) task
angular-material-fullstack generator
running app
with default options
(!) require('yeoman-generator').generators.Base is deprecated. Use require('yeoman-generator').Base directly
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
1) should run client tests successfully
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
2) should pass jshint
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
3) should run server tests successfully
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
4) should run server tests successfully with generated endpoint
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
5) should use existing config if available
with Babel ES6 preprocessor
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
6) should run client tests successfully
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
7) should pass jshint
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
8) should run server tests successfully
with other preprocessors and oauth
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
9) should run client tests successfully
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
10) should pass jshint
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
11) should run server tests successfully
with other preprocessors and no server options
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
12) should run client tests successfully
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
13) should pass jshint
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
14) should run server tests successfully
with no preprocessors and no server options
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
15) should run client tests successfully
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
16) should pass jshint
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
17) should run server tests successfully
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
18) should generate expected files
0 passing (2s)
18 failing
1) angular-material-fullstack generator running app with default options should run client tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
2) angular-material-fullstack generator running app with default options should pass jshint:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
3) angular-material-fullstack generator running app with default options should run server tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
4) angular-material-fullstack generator running app with default options should run server tests successfully with generated endpoint:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
5) angular-material-fullstack generator running app with default options should use existing config if available:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
6) angular-material-fullstack generator running app with Babel ES6 preprocessor should run client tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
7) angular-material-fullstack generator running app with Babel ES6 preprocessor should pass jshint:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
8) angular-material-fullstack generator running app with Babel ES6 preprocessor should run server tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
9) angular-material-fullstack generator running app with other preprocessors and oauth should run client tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
10) angular-material-fullstack generator running app with other preprocessors and oauth should pass jshint:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
11) angular-material-fullstack generator running app with other preprocessors and oauth should run server tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
12) angular-material-fullstack generator running app with other preprocessors and no server options should run client tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
13) angular-material-fullstack generator running app with other preprocessors and no server options should pass jshint:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
14) angular-material-fullstack generator running app with other preprocessors and no server options should run server tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
15) angular-material-fullstack generator running app with no preprocessors and no server options should run client tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
16) angular-material-fullstack generator running app with no preprocessors and no server options should pass jshint:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
17) angular-material-fullstack generator running app with no preprocessors and no server options should run server tests successfully:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
18) angular-material-fullstack generator running app with no preprocessors and no server options should generate expected files:
Uncaught TypeError: Cannot read property 'camelize' of undefined
at yeoman.generators.Base.extend.init (app/index.js:27:26)
at Object.<anonymous> (node_modules/yeoman-generator/lib/base.js:436:25)
at node_modules/run-async/index.js:24:25
at node_modules/yeoman-generator/lib/base.js:448:8
Warning: Task "mochaTest:test" failed. Use --force to continue.
Aborted due to warnings.
npm ERR! Test failed. See above for more details.
There's still a lot that needs to be done to get this updated but this is the start.
Running
grunt test
I get a LOT of errors, I can't seem to findrequire('yeoman-generator').generators.Base
anywhere in the code even though mocha gives an error about it. The other main warning that needs to be fixed is the one about lodash.