]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/angular.json
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / angular.json
CommitLineData
11fdf7f2
TL
1{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
6 "ceph-dashboard": {
7 "root": "",
8 "sourceRoot": "src",
9 "projectType": "application",
10 "architect": {
11 "build": {
12 "builder": "@angular-devkit/build-angular:browser",
13 "options": {
eafe8130
TL
14 "aot": true,
15 "i18nFormat": "xlf",
16 "i18nMissingTranslation": "ignore",
11fdf7f2
TL
17 "outputPath": "dist",
18 "index": "src/index.html",
19 "main": "src/main.ts",
20 "tsConfig": "src/tsconfig.app.json",
21 "polyfills": "src/polyfills.ts",
22 "assets": [
23 "src/assets",
9f95a23c
TL
24 "src/favicon.ico",
25 {
26 "glob": "**/swagger-ui.css",
27 "input": "node_modules/swagger-ui-dist",
28 "output": "."
29 },
30 {
31 "glob": "**/swagger-ui-bundle.js",
32 "input": "node_modules/swagger-ui-dist",
33 "output": "."
34 }
11fdf7f2
TL
35 ],
36 "styles": [
494da23a 37 "node_modules/ngx-toastr/toastr.css",
11fdf7f2
TL
38 "node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
39 "src/styles.scss",
9f95a23c 40 "src/styles/vendor.overrides.scss"
11fdf7f2
TL
41 ],
42 "scripts": [
43 "node_modules/chart.js/dist/Chart.bundle.js"
9f95a23c
TL
44 ],
45 "stylePreprocessorOptions": {
46 "includePaths": [
47 "src/styles",
48 "src"
49 ]
50 }
11fdf7f2
TL
51 },
52 "configurations": {
53 "production": {
54 "optimization": true,
55 "outputHashing": "all",
56 "sourceMap": false,
57 "extractCss": true,
58 "namedChunks": false,
11fdf7f2
TL
59 "extractLicenses": true,
60 "vendorChunk": false,
61 "buildOptimizer": true,
62 "fileReplacements": [
63 {
64 "replace": "src/environments/environment.ts",
65 "with": "src/environments/environment.prod.ts"
66 }
67 ]
eafe8130
TL
68 },
69 "cs": {
70 "outputPath": "dist/cs/",
71 "i18nFile": "src/locale/messages.cs.xlf",
72 "i18nLocale": "cs"
73 },
74 "de-DE": {
75 "outputPath": "dist/de-DE/",
76 "i18nFile": "src/locale/messages.de-DE.xlf",
77 "i18nLocale": "de-DE"
78 },
79 "en-US": {
80 "outputPath": "dist/en-US/",
81 "i18nFile": "src/locale/messages.en-US.xlf",
82 "i18nLocale": "en-US"
83 },
84 "es-ES": {
85 "outputPath": "dist/es-ES/",
86 "i18nFile": "src/locale/messages.es-ES.xlf",
87 "i18nLocale": "es-ES"
88 },
89 "fr-FR": {
90 "outputPath": "dist/fr-FR/",
91 "i18nFile": "src/locale/messages.fr-FR.xlf",
92 "i18nLocale": "fr-FR"
93 },
94 "id-ID": {
95 "outputPath": "dist/id-ID/",
96 "i18nFile": "src/locale/messages.id-ID.xlf",
97 "i18nLocale": "id-ID"
98 },
99 "it-IT": {
100 "outputPath": "dist/it-IT/",
101 "i18nFile": "src/locale/messages.it-IT.xlf",
102 "i18nLocale": "it-IT"
103 },
104 "ja-JP": {
105 "outputPath": "dist/ja-JP/",
106 "i18nFile": "src/locale/messages.ja-JP.xlf",
107 "i18nLocale": "ja-JP"
108 },
9f95a23c
TL
109 "ko-KR": {
110 "outputPath": "dist/ko-KR/",
111 "i18nFile": "src/locale/messages.ko-KR.xlf",
112 "i18nLocale": "ko-KR"
113 },
eafe8130
TL
114 "pl-PL": {
115 "outputPath": "dist/pl-PL/",
116 "i18nFile": "src/locale/messages.pl-PL.xlf",
117 "i18nLocale": "pl-PL"
118 },
119 "pt-BR": {
120 "outputPath": "dist/pt-BR/",
121 "i18nFile": "src/locale/messages.pt-BR.xlf",
122 "i18nLocale": "pt-BR"
123 },
124 "zh-CN": {
125 "outputPath": "dist/zh-CN/",
126 "i18nFile": "src/locale/messages.zh-CN.xlf",
127 "i18nLocale": "zh-CN"
128 },
129 "zh-TW": {
130 "outputPath": "dist/zh-TW/",
131 "i18nFile": "src/locale/messages.zh-TW.xlf",
132 "i18nLocale": "zh-TW"
11fdf7f2
TL
133 }
134 }
135 },
136 "serve": {
137 "builder": "@angular-devkit/build-angular:dev-server",
138 "options": {
139 "browserTarget": "ceph-dashboard:build",
140 "proxyConfig": "proxy.conf.json"
141 },
142 "configurations": {
143 "production": {
144 "browserTarget": "ceph-dashboard:build:production"
eafe8130
TL
145 },
146 "cs": {
147 "browserTarget": "ceph-dashboard:build:cs"
148 },
149 "de-DE": {
150 "browserTarget": "ceph-dashboard:build:de-DE"
151 },
152 "en-US": {
153 "browserTarget": "ceph-dashboard:build:en-US"
154 },
155 "es-ES": {
156 "browserTarget": "ceph-dashboard:build:es-ES"
157 },
158 "fr-FR": {
159 "browserTarget": "ceph-dashboard:build:fr-FR"
160 },
161 "id-ID": {
162 "browserTarget": "ceph-dashboard:build:id-ID"
163 },
164 "it-IT": {
165 "browserTarget": "ceph-dashboard:build:it-IT"
166 },
167 "ja-JP": {
168 "browserTarget": "ceph-dashboard:build:ja-JP"
169 },
9f95a23c
TL
170 "ko-KR": {
171 "browserTarget": "ceph-dashboard:build:ko-KR"
172 },
eafe8130
TL
173 "pl-PL": {
174 "browserTarget": "ceph-dashboard:build:pl-PL"
175 },
176 "pt-BR": {
177 "browserTarget": "ceph-dashboard:build:pt-BR"
178 },
179 "zh-CN": {
180 "browserTarget": "ceph-dashboard:build:zh-CN"
181 },
182 "zh-TW": {
183 "browserTarget": "ceph-dashboard:build:zh-TW"
11fdf7f2
TL
184 }
185 }
186 },
187 "extract-i18n": {
188 "builder": "@angular-devkit/build-angular:extract-i18n",
189 "options": {
190 "browserTarget": "ceph-dashboard:build"
191 }
192 },
193 "lint": {
194 "builder": "@angular-devkit/build-angular:tslint",
195 "options": {
196 "tsConfig": [
197 "src/tsconfig.app.json",
9f95a23c 198 "tsconfig.spec.json"
11fdf7f2
TL
199 ],
200 "exclude": [
201 "**/node_modules/**"
202 ]
203 }
204 }
9f95a23c
TL
205 },
206 "cli": {}
11fdf7f2
TL
207 }
208 },
209 "defaultProject": "ceph-dashboard",
210 "schematics": {
211 "@schematics/angular:component": {
212 "prefix": "cd",
213 "styleext": "scss"
214 },
215 "@schematics/angular:directive": {
216 "prefix": "cd"
217 }
9f95a23c
TL
218 },
219 "cli": {}
11fdf7f2 220}