|
15 | 15 | "prefix": "app", |
16 | 16 | "architect": { |
17 | 17 | "build": { |
18 | | - "builder": "@angular-devkit/build-angular:browser", |
| 18 | + "builder": "@angular/build:application", |
19 | 19 | "options": { |
20 | | - "outputPath": "dist/dsomm", |
| 20 | + "outputPath": { |
| 21 | + "base": "dist/dsomm", |
| 22 | + "browser": "" |
| 23 | + }, |
21 | 24 | "index": "src/index.html", |
22 | | - "main": "src/main.ts", |
23 | | - "polyfills": "src/polyfills.ts", |
| 25 | + "browser": "src/main.ts", |
| 26 | + "polyfills": ["@angular/localize/init"], |
24 | 27 | "tsConfig": "tsconfig.app.json", |
25 | 28 | "allowedCommonJsDependencies": ["yamljs"], |
26 | | - "assets": [ |
27 | | - "src/favicon.ico", |
28 | | - "src/assets" |
29 | | - ], |
30 | | - "styles": [ |
31 | | - "src/custom-theme.scss", |
32 | | - "src/styles.css" |
33 | | - ], |
| 29 | + "assets": ["src/favicon.ico", "src/assets"], |
| 30 | + "styles": ["src/custom-theme.scss", "src/styles.css"], |
34 | 31 | "scripts": [] |
35 | 32 | }, |
36 | 33 | "configurations": { |
|
56 | 53 | "outputHashing": "all" |
57 | 54 | }, |
58 | 55 | "development": { |
59 | | - "buildOptimizer": false, |
60 | 56 | "optimization": false, |
61 | | - "vendorChunk": true, |
62 | 57 | "extractLicenses": false, |
63 | 58 | "sourceMap": true, |
64 | 59 | "namedChunks": true |
| 60 | + }, |
| 61 | + "testing": { |
| 62 | + "aot": false, |
| 63 | + "optimization": false, |
| 64 | + "extractLicenses": false, |
| 65 | + "styles": [ |
| 66 | + "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
| 67 | + "src/styles.css" |
| 68 | + ] |
65 | 69 | } |
66 | 70 | }, |
67 | 71 | "defaultConfiguration": "production" |
68 | 72 | }, |
69 | 73 | "serve": { |
70 | | - "builder": "@angular-devkit/build-angular:dev-server", |
| 74 | + "builder": "@angular/build:dev-server", |
71 | 75 | "configurations": { |
72 | 76 | "production": { |
73 | | - "browserTarget": "DSOMM:build:production" |
| 77 | + "buildTarget": "DSOMM:build:production" |
74 | 78 | }, |
75 | 79 | "development": { |
76 | | - "browserTarget": "DSOMM:build:development" |
| 80 | + "buildTarget": "DSOMM:build:development" |
77 | 81 | } |
78 | 82 | }, |
79 | 83 | "defaultConfiguration": "development" |
80 | 84 | }, |
81 | 85 | "extract-i18n": { |
82 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
| 86 | + "builder": "@angular/build:extract-i18n", |
83 | 87 | "options": { |
84 | | - "browserTarget": "DSOMM:build" |
| 88 | + "buildTarget": "DSOMM:build" |
85 | 89 | } |
86 | 90 | }, |
87 | 91 | "test": { |
88 | | - "builder": "@angular-devkit/build-angular:karma", |
| 92 | + "builder": "@angular/build:unit-test", |
89 | 93 | "options": { |
90 | | - "main": "src/test.ts", |
91 | | - "polyfills": "src/polyfills.ts", |
92 | 94 | "tsConfig": "tsconfig.spec.json", |
93 | | - "karmaConfig": "karma.conf.js", |
94 | | - "assets": [ |
95 | | - "src/favicon.ico", |
96 | | - "src/assets" |
97 | | - ], |
98 | | - "styles": [ |
99 | | - "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
100 | | - "src/styles.css" |
101 | | - ], |
102 | | - "scripts": [] |
| 95 | + "reporters": ["default"], |
| 96 | + "coverageReporters": ["html", "text-summary"], |
| 97 | + "buildTarget": ":build:testing", |
| 98 | + "runner": "vitest" |
103 | 99 | } |
104 | 100 | }, |
105 | 101 | "lint": { |
106 | 102 | "builder": "@angular-eslint/builder:lint", |
107 | 103 | "options": { |
108 | | - "lintFilePatterns": [ |
109 | | - "src/**/*.ts", |
110 | | - "src/**/*.html" |
111 | | - ] |
| 104 | + "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] |
112 | 105 | } |
113 | 106 | } |
114 | 107 | } |
115 | 108 | } |
116 | 109 | }, |
117 | | - "defaultProject": "DSOMM", |
118 | 110 | "cli": { |
119 | | - "defaultCollection": "@angular-eslint/schematics", |
120 | | - "analytics": false |
| 111 | + "analytics": false, |
| 112 | + "schematicCollections": ["@angular-eslint/schematics"] |
| 113 | + }, |
| 114 | + "schematics": { |
| 115 | + "@angular-eslint/schematics:application": { |
| 116 | + "setParserOptionsProject": true |
| 117 | + }, |
| 118 | + "@angular-eslint/schematics:library": { |
| 119 | + "setParserOptionsProject": true |
| 120 | + }, |
| 121 | + "@schematics/angular:component": { |
| 122 | + "type": "component" |
| 123 | + }, |
| 124 | + "@schematics/angular:directive": { |
| 125 | + "type": "directive" |
| 126 | + }, |
| 127 | + "@schematics/angular:service": { |
| 128 | + "type": "service" |
| 129 | + }, |
| 130 | + "@schematics/angular:guard": { |
| 131 | + "typeSeparator": "." |
| 132 | + }, |
| 133 | + "@schematics/angular:interceptor": { |
| 134 | + "typeSeparator": "." |
| 135 | + }, |
| 136 | + "@schematics/angular:module": { |
| 137 | + "typeSeparator": "." |
| 138 | + }, |
| 139 | + "@schematics/angular:pipe": { |
| 140 | + "typeSeparator": "." |
| 141 | + }, |
| 142 | + "@schematics/angular:resolver": { |
| 143 | + "typeSeparator": "." |
| 144 | + } |
121 | 145 | } |
122 | 146 | } |
0 commit comments