GeezerVison is showing github.com — fix(angular-validation-match): Integration with Babel & Typescript (#… · angular-fullstack/generator-angular-fullstack@9db9918
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: src/generators/app/index.js +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -547,7 +547,8 @@ export class Generator extends Base { | 547 | 547 | ['ngRoute', 'angular-route'], | 548 | 548 | ['uiBootstrap', 'angular-ui-bootstrap'], | 549 | 549 | ['ngMessages', 'angular-messages'], | 550 | | - ['io', 'socket.io-client'] | | 550 | + ['io', 'socket.io-client'], | | 551 | + ['ngValidationMatch', 'angular-validation-match'] | 551 | 552 | ]; | 552 | 553 | function replacer(contents) { | 553 | 554 | modulesToFix.forEach(([moduleName, importName]) => { | |
Collapse file Copy file name to clipboardExpand all lines: templates/app/client/app/app.js +5-3Lines changed: 5 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,7 +4,7 @@ import angular from 'angular'; | 4 | 4 | import ngCookies from 'angular-cookies'; | 5 | 5 | import ngResource from 'angular-resource'; | 6 | 6 | import ngSanitize from 'angular-sanitize'; | 7 | | -import ngValidationMatch from 'angular-validation-match'; | | 7 | + | 8 | 8 | <%_ if(filters.socketio) { _%> | 9 | 9 | import 'angular-socket-io';<% } %> | 10 | 10 | <%_ if(filters.ngroute) { _%> | @@ -15,6 +15,7 @@ import uiRouter from 'angular-ui-router';<% } %> | 15 | 15 | import uiBootstrap from 'angular-ui-bootstrap';<% } %> | 16 | 16 | // import ngMessages from 'angular-messages'; | 17 | 17 | <%_ if(filters.auth) { _%> | | 18 | +import ngValidationMatch from 'angular-validation-match'; | 18 | 19 | <% } %> | 19 | 20 |
| 20 | 21 |
| @@ -39,7 +40,6 @@ angular.module('<%= scriptAppName %>', [ | 39 | 40 | ngCookies, | 40 | 41 | ngResource, | 41 | 42 | ngSanitize, | 42 | | - 'validation.match', | 43 | 43 | <%_ if(filters.socketio) { %> | 44 | 44 | 'btford.socket-io',<% } %> | 45 | 45 | <%_ if(filters.ngroute) { %> | @@ -51,7 +51,9 @@ angular.module('<%= scriptAppName %>', [ | 51 | 51 | <%_ if(filters.auth) { %> | 52 | 52 | _Auth, | 53 | 53 | account, | 54 | | - admin,<% } _%> | | 54 | + admin, | | 55 | + 'validation.match', | | 56 | + <% } _%> | 55 | 57 | navbar, | 56 | 58 | footer, | 57 | 59 | main, | |
|