0.11.0
-
feat(utils/app): retrieve app name from main module file
BREAKING CHANGE If a user renamed the Angular module in app/app-module.js, ng-poly was not smart enough to look there and instead would only look at `package.json` for the name. Now, ng-poly is smart enough to look at the main module for the name. This is a potentially breaking change if people have defined more than one Angular module in their main module. If the user has more than one module defined in the file, just make sure the first module defined is the main module. Then ng-poly works as intended. -
feat(utils/module): add deprecation warning for older file names
ng-poly v0.12.0 will officially drop support for old file names. Modules should be in files with a `-module` prefix. Routes should be in their own file with a `-routes` prefix.
ng-poly's internals have changed a lot in v0.11.0 (86 commits since v0.10.15), and while none of them should be breaking changes, please bear with me if anything is broken and I'll try to get fixes out as quickly as possible.
Also, this release begins the process of removing cruft towards a 1.0.0 release. If your project is still using an old file naming system (module files called name.js or name-module.js or routes not separated into name-routes.js files, a deprecation warning will be printed each time one is accessed. v0.12.0 will drop official support for these naming conventions. We dropped testing these file names several minor versions ago, but now the cruft needs to be removed.