|
6 | 6 | "trains-webapp": {
|
7 | 7 | "root": "",
|
8 | 8 | "sourceRoot": "src",
|
9 |
| - "prefix": "sm", |
10 | 9 | "projectType": "application",
|
11 | 10 | "architect": {
|
12 | 11 | "build": {
|
13 |
| - "builder": "@angular-devkit/build-angular:browser-esbuild", |
| 12 | + "builder": "@angular-devkit/build-angular:application", |
14 | 13 | "options": {
|
15 | 14 | "preserveSymlinks": true,
|
16 |
| - "outputPath": "build", |
| 15 | + "outputPath": { |
| 16 | + "base": "build" |
| 17 | + }, |
17 | 18 | "index": "src/index.html",
|
18 |
| - "main": "src/main.ts", |
19 |
| - "tsConfig": "src/tsconfig.app.json", |
20 | 19 | "polyfills": [
|
21 | 20 | "zone.js"
|
22 | 21 | ],
|
| 22 | + "tsConfig": "tsconfig.app.json", |
| 23 | + "inlineStyleLanguage": "scss", |
23 | 24 | "stylePreprocessorOptions": {
|
24 | 25 | "includePaths": [
|
25 |
| - "src/app/webapp-common/shared/ui-components/styles/" |
| 26 | + "", |
| 27 | + "src/app/webapp-common/shared/ui-components/styles/", |
| 28 | + "src/app/webapp-common/styles/", |
| 29 | + "." |
26 | 30 | ]
|
27 | 31 | },
|
28 | 32 | "assets": [
|
29 | 33 | "src/assets",
|
30 | 34 | "src/favicon.ico",
|
31 | 35 | "src/env.js",
|
32 |
| - "src/version.json", |
| 36 | + "src/404.html", |
| 37 | + "src/manifest.webmanifest", |
33 | 38 | "src/app/webapp-common/assets",
|
34 | 39 | {
|
35 | 40 | "glob": "**/*",
|
|
38 | 43 | }
|
39 | 44 | ],
|
40 | 45 | "styles": [
|
41 |
| - "node_modules/primeng/resources/components/table/table.css", |
42 |
| - "node_modules/primeicons/primeicons.css", |
43 | 46 | "node_modules/ngx-markdown-editor/assets/highlight.js/agate.min.css",
|
44 |
| - "src/styles.scss", |
45 |
| - "src/fonts.scss" |
| 47 | + { |
| 48 | + "bundleName": "global-styles", |
| 49 | + "inject": true, |
| 50 | + "input": "src/app/webapp-common/styles/style.scss" |
| 51 | + } |
46 | 52 | ],
|
47 | 53 | "scripts": [
|
48 | 54 | "node_modules/ngx-markdown-editor/assets/highlight.js/highlight.min.js"
|
|
56 | 62 | "fast-xml-parser",
|
57 | 63 | "url",
|
58 | 64 | "@aws-crypto/sha256-browser",
|
59 |
| - "@aws-crypto/crc32", |
60 | 65 | "@aws-crypto/sha1-browser",
|
| 66 | + "@aws-crypto/crc32", |
61 | 67 | "@aws-crypto/crc32c",
|
62 | 68 | "bowser",
|
| 69 | + "@smithy/util-defaults-mode-browser", |
63 | 70 | "filesize/lib/filesize.es6",
|
64 | 71 | "hex-rgb",
|
| 72 | + "ace-builds", |
65 | 73 | "localforage",
|
66 | 74 | "dom-to-image",
|
67 |
| - "ace-builds", |
68 | 75 | "hocon-parser",
|
69 | 76 | "taira",
|
| 77 | + "base64", |
70 | 78 | "base-64",
|
71 | 79 | "export-to-csv",
|
72 | 80 | "dompurify",
|
73 | 81 | "hammerjs"
|
74 | 82 | ],
|
75 | 83 | "extractLicenses": false,
|
76 |
| - "buildOptimizer": false, |
77 | 84 | "sourceMap": true,
|
78 | 85 | "optimization": false,
|
79 |
| - "namedChunks": true |
| 86 | + "namedChunks": true, |
| 87 | + "browser": "src/main.ts" |
80 | 88 | },
|
81 | 89 | "configurations": {
|
82 | 90 | "appdev": {
|
|
91 | 99 | "sourceMap": false,
|
92 | 100 | "namedChunks": false,
|
93 | 101 | "extractLicenses": true,
|
94 |
| - "buildOptimizer": true, |
95 | 102 | "fileReplacements": [
|
96 | 103 | {
|
97 | 104 | "replace": "src/environments/environment.ts",
|
|
111 | 118 | "sourceMap": false,
|
112 | 119 | "namedChunks": false,
|
113 | 120 | "extractLicenses": true,
|
114 |
| - "buildOptimizer": true, |
115 | 121 | "fileReplacements": [
|
116 | 122 | {
|
117 | 123 | "replace": "src/environments/environment.ts",
|
|
121 | 127 | "replace": "src/app/build-specifics/index.ts",
|
122 | 128 | "with": "src/app/build-specifics/index.prod.ts"
|
123 | 129 | }
|
124 |
| - ] |
| 130 | + ], |
| 131 | + "serviceWorker": false |
125 | 132 | }
|
126 | 133 | },
|
127 | 134 | "defaultConfiguration": ""
|
|
158 | 165 | "main": "src/test.ts",
|
159 | 166 | "karmaConfig": "./karma.conf.js",
|
160 | 167 | "polyfills": [
|
161 |
| - "zone.js", |
162 |
| - "zone.js/testing" |
| 168 | + "zone.js" |
| 169 | + ], |
| 170 | + "tsConfig": "./tsconfig.spec.json", |
| 171 | + "styles": [ |
| 172 | + "src/styles.scss" |
163 | 173 | ],
|
164 | 174 | "stylePreprocessorOptions": {
|
165 | 175 | "includePaths": [
|
| 176 | + "", |
166 | 177 | "src/app/webapp-common/shared/ui-components/styles/"
|
167 | 178 | ]
|
168 | 179 | },
|
169 |
| - "tsConfig": "src/tsconfig.spec.json", |
170 |
| - "styles": [ |
171 |
| - "src/styles.scss" |
172 |
| - ], |
173 | 180 | "assets": [
|
174 | 181 | "src/assets",
|
175 | 182 | "src/favicon.ico",
|
176 | 183 | "src/version.json",
|
| 184 | + "src/manifest.webmanifest", |
177 | 185 | "src/app/webapp-common/assets"
|
178 | 186 | ]
|
179 | 187 | }
|
|
201 | 209 | "prefix": "app",
|
202 | 210 | "architect": {
|
203 | 211 | "build": {
|
204 |
| - "builder": "@angular-devkit/build-angular:browser-esbuild", |
| 212 | + "builder": "@angular-devkit/build-angular:application", |
205 | 213 | "options": {
|
206 | 214 | "preserveSymlinks": true,
|
207 |
| - "outputPath": "dist/report-widgets", |
208 |
| - "baseHref": "widgets", |
209 |
| - "index": "src/app/webapp-common/clearml-applications/report-widgets/src/index.html", |
210 |
| - "main": "src/app/webapp-common/clearml-applications/report-widgets/src/main.ts", |
| 215 | + "outputPath": { |
| 216 | + "base": "dist/report-widgets" |
| 217 | + }, |
211 | 218 | "polyfills": [
|
212 | 219 | "zone.js"
|
213 | 220 | ],
|
| 221 | + "baseHref": "", |
| 222 | + "index": "src/app/webapp-common/clearml-applications/report-widgets/src/index.html", |
214 | 223 | "tsConfig": "src/app/webapp-common/clearml-applications/report-widgets/tsconfig.app.json",
|
215 | 224 | "inlineStyleLanguage": "scss",
|
216 | 225 | "assets": [
|
217 | 226 | "src/app/webapp-common/clearml-applications/report-widgets/src/favicon.ico",
|
218 | 227 | "src/app/webapp-common/clearml-applications/report-widgets/src/assets",
|
219 |
| - "src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets" |
| 228 | + "src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets", |
| 229 | + "src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets/fonts/trains.ttf" |
220 | 230 | ],
|
221 | 231 | "stylePreprocessorOptions": {
|
222 | 232 | "includePaths": [
|
| 233 | + "", |
| 234 | + "src/app/webapp-common/styles/", |
223 | 235 | "src/app/webapp-common/shared/ui-components/styles/"
|
224 | 236 | ]
|
225 | 237 | },
|
226 | 238 | "styles": [
|
227 |
| - "src/app/webapp-common/clearml-applications/report-widgets/src/styles.scss", |
| 239 | + "src/app/webapp-common/clearml-applications/report-widgets/src/app/styles/styles.scss", |
228 | 240 | {
|
229 | 241 | "input": "src/app/webapp-common/assets/fonts/trains-icons.scss",
|
230 | 242 | "bundleName": "trains-icons",
|
|
233 | 245 | ],
|
234 | 246 | "scripts": [],
|
235 | 247 | "allowedCommonJsDependencies": [
|
236 |
| - "string-to-color", |
| 248 | + "fast-xml-parser", |
| 249 | + "@aws-crypto/sha1-browser", |
| 250 | + "@aws-crypto/sha256-browser", |
| 251 | + "@aws-crypto/crc32", |
| 252 | + "@aws-crypto/crc32c", |
| 253 | + "bowser", |
| 254 | + "hammerjs", |
237 | 255 | "dom-to-image",
|
238 | 256 | "dompurify",
|
239 |
| - "url", |
| 257 | + "string-to-color", |
240 | 258 | "taira",
|
241 |
| - "@aws-crypto/crc32", |
242 |
| - "@aws-crypto/crc32c", |
243 |
| - "@aws-crypto/sha1-browser", |
244 |
| - "@aws-crypto/sha256-browser", |
245 |
| - "fast-xml-parser", |
246 |
| - "bowser" |
247 |
| - ] |
| 259 | + "url" |
| 260 | + ], |
| 261 | + "browser": "src/app/webapp-common/clearml-applications/report-widgets/src/main.ts" |
248 | 262 | },
|
249 | 263 | "configurations": {
|
250 | 264 | "production": {
|
|
257 | 271 | {
|
258 | 272 | "type": "anyComponentStyle",
|
259 | 273 | "maximumWarning": "2kb",
|
260 |
| - "maximumError": "4kb" |
| 274 | + "maximumError": "5kb" |
261 | 275 | }
|
262 | 276 | ],
|
263 | 277 | "fileReplacements": [
|
|
269 | 283 | "outputHashing": "all"
|
270 | 284 | },
|
271 | 285 | "development": {
|
272 |
| - "buildOptimizer": false, |
273 | 286 | "optimization": false,
|
274 | 287 | "extractLicenses": false,
|
275 | 288 | "sourceMap": true,
|
|
313 | 326 | "assets": [
|
314 | 327 | "src/app/webapp-common/clearml-applications/report-widgets/src/favicon.ico",
|
315 | 328 | "src/app/webapp-common/clearml-applications/report-widgets/src/assets",
|
316 |
| - "src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets", |
317 |
| - "src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets/fonts/trains.ttf" |
| 329 | + "src/app/webapp-common/clearml-applications/report-widgets/src/app/webapp-common/assets" |
318 | 330 | ],
|
319 | 331 | "styles": [
|
320 |
| - "src/app/webapp-common/clearml-applications/report-widgets/src/styles.scss", |
321 |
| - { |
322 |
| - "input": "src/app/webapp-common/assets/fonts/trains-icons.scss", |
323 |
| - "bundleName": "trains-icons", |
324 |
| - "inject": false |
325 |
| - } |
| 332 | + "src/app/webapp-common/clearml-applications/report-widgets/src/styles.scss" |
326 | 333 | ],
|
327 | 334 | "scripts": []
|
328 | 335 | }
|
|
335 | 342 | "prefix": "sm",
|
336 | 343 | "style": "scss"
|
337 | 344 | },
|
338 |
| - "@angular-eslint/schematics:application": { |
339 |
| - "setParserOptionsProject": true |
| 345 | + "al-schematics:component": { |
| 346 | + "prefix": "sm", |
| 347 | + "styleext": "scss" |
340 | 348 | },
|
341 |
| - "@angular-eslint/schematics:library": { |
342 |
| - "setParserOptionsProject": true |
| 349 | + "al-schematics:directive": { |
| 350 | + "prefix": "sm" |
343 | 351 | }
|
344 | 352 | },
|
345 | 353 | "cli": {
|
346 |
| - "analytics": false |
| 354 | + "analytics": false, |
| 355 | + "schematicCollections": [ |
| 356 | + "@angular-eslint/schematics", |
| 357 | + "@ngrx/schematics", |
| 358 | + "ngxtension" |
| 359 | + ] |
347 | 360 | }
|
348 | 361 | }
|
0 commit comments