|
10 | 10 | "prefix": "bal-ng", |
11 | 11 | "architect": { |
12 | 12 | "build": { |
13 | | - "builder": "@angular-devkit/build-angular:ng-packagr", |
| 13 | + "builder": "@angular/build:ng-packagr", |
14 | 14 | "options": { |
15 | 15 | "project": "projects/lib/ng-package.json" |
16 | 16 | }, |
|
25 | 25 | "defaultConfiguration": "production" |
26 | 26 | }, |
27 | 27 | "test": { |
28 | | - "builder": "@angular-devkit/build-angular:karma", |
| 28 | + "builder": "@angular/build:karma", |
29 | 29 | "options": { |
30 | | - "main": "projects/lib/src/test.ts", |
| 30 | + "polyfills": ["zone.js", "zone.js/testing"], |
31 | 31 | "tsConfig": "projects/lib/tsconfig.spec.json", |
32 | 32 | "karmaConfig": "projects/lib/karma.conf.js" |
33 | 33 | } |
|
49 | 49 | "prefix": "app", |
50 | 50 | "architect": { |
51 | 51 | "build": { |
52 | | - "builder": "@angular-devkit/build-angular:browser", |
| 52 | + "builder": "@angular/build:application", |
53 | 53 | "options": { |
54 | | - "outputPath": "dist-demo", |
| 54 | + "outputPath": { |
| 55 | + "base": "dist-demo" |
| 56 | + }, |
55 | 57 | "index": "projects/demo/src/index.html", |
56 | | - "main": "projects/demo/src/main.ts", |
57 | | - "polyfills": "projects/demo/src/polyfills.ts", |
| 58 | + "polyfills": [ |
| 59 | + "projects/demo/src/polyfills.ts" |
| 60 | + ], |
58 | 61 | "tsConfig": "projects/demo/tsconfig.app.json", |
59 | 62 | "inlineStyleLanguage": "scss", |
60 | 63 | "assets": [ |
|
67 | 70 | "allowedCommonJsDependencies": [ |
68 | 71 | "query-string" |
69 | 72 | ], |
70 | | - "scripts": [] |
| 73 | + "scripts": [], |
| 74 | + "browser": "projects/demo/src/main.ts" |
71 | 75 | }, |
72 | 76 | "configurations": { |
73 | 77 | "production": { |
|
92 | 96 | "outputHashing": "all" |
93 | 97 | }, |
94 | 98 | "development": { |
95 | | - "buildOptimizer": false, |
96 | 99 | "optimization": false, |
97 | | - "vendorChunk": true, |
98 | 100 | "extractLicenses": false, |
99 | 101 | "sourceMap": true, |
100 | 102 | "namedChunks": true |
|
103 | 105 | "defaultConfiguration": "production" |
104 | 106 | }, |
105 | 107 | "serve": { |
106 | | - "builder": "@angular-devkit/build-angular:dev-server", |
| 108 | + "builder": "@angular/build:dev-server", |
107 | 109 | "configurations": { |
108 | 110 | "production": { |
109 | | - "browserTarget": "demo:build:production" |
| 111 | + "buildTarget": "demo:build:production" |
110 | 112 | }, |
111 | 113 | "development": { |
112 | | - "browserTarget": "demo:build:development" |
| 114 | + "buildTarget": "demo:build:development" |
113 | 115 | } |
114 | 116 | }, |
115 | 117 | "defaultConfiguration": "development" |
116 | 118 | }, |
117 | 119 | "extract-i18n": { |
118 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
| 120 | + "builder": "@angular/build:extract-i18n", |
119 | 121 | "options": { |
120 | | - "browserTarget": "demo:build" |
| 122 | + "buildTarget": "demo:build" |
121 | 123 | } |
122 | 124 | }, |
123 | 125 | "test": { |
124 | | - "builder": "@angular-devkit/build-angular:karma", |
| 126 | + "builder": "@angular/build:karma", |
125 | 127 | "options": { |
126 | 128 | "main": "projects/demo/src/test.ts", |
127 | 129 | "polyfills": "projects/demo/src/polyfills.ts", |
|
141 | 143 | } |
142 | 144 | } |
143 | 145 | }, |
144 | | - "defaultProject": "@baloise/web-app-ng-utils", |
145 | 146 | "cli": { |
146 | 147 | "analytics": false |
| 148 | + }, |
| 149 | + "schematics": { |
| 150 | + "@schematics/angular:component": { |
| 151 | + "type": "component" |
| 152 | + }, |
| 153 | + "@schematics/angular:directive": { |
| 154 | + "type": "directive" |
| 155 | + }, |
| 156 | + "@schematics/angular:service": { |
| 157 | + "type": "service" |
| 158 | + }, |
| 159 | + "@schematics/angular:guard": { |
| 160 | + "typeSeparator": "." |
| 161 | + }, |
| 162 | + "@schematics/angular:interceptor": { |
| 163 | + "typeSeparator": "." |
| 164 | + }, |
| 165 | + "@schematics/angular:module": { |
| 166 | + "typeSeparator": "." |
| 167 | + }, |
| 168 | + "@schematics/angular:pipe": { |
| 169 | + "typeSeparator": "." |
| 170 | + }, |
| 171 | + "@schematics/angular:resolver": { |
| 172 | + "typeSeparator": "." |
| 173 | + } |
147 | 174 | } |
148 | 175 | } |
0 commit comments