diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/pybind/mgr/dashboard/frontend/angular.json | |
parent | Initial commit. (diff) | |
download | ceph-upstream/16.2.11+ds.tar.xz ceph-upstream/16.2.11+ds.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/angular.json')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/angular.json | 227 |
1 files changed, 227 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/angular.json b/src/pybind/mgr/dashboard/frontend/angular.json new file mode 100644 index 000000000..b49c00b8c --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/angular.json @@ -0,0 +1,227 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "ceph-dashboard": { + "i18n": { + "sourceLocale": { "code": "en-US", "baseHref": "" }, + "locales": { + "cs": { "translation": "src/locale/messages.cs.xlf", "baseHref": "" }, + "de": { "translation": "src/locale/messages.de-DE.xlf", "baseHref": "" }, + "es": { "translation": "src/locale/messages.es-ES.xlf", "baseHref": "" }, + "fr": { "translation": "src/locale/messages.fr-FR.xlf", "baseHref": "" }, + "id": { "translation": "src/locale/messages.id-ID.xlf", "baseHref": "" }, + "it": { "translation": "src/locale/messages.it-IT.xlf", "baseHref": "" }, + "ja": { "translation": "src/locale/messages.ja-JP.xlf", "baseHref": "" }, + "ko": { "translation": "src/locale/messages.ko-KR.xlf", "baseHref": "" }, + "pl": { "translation": "src/locale/messages.pl-PL.xlf", "baseHref": "" }, + "pt": { "translation": "src/locale/messages.pt-BR.xlf", "baseHref": "" }, + "zh-Hans": { "translation": "src/locale/messages.zh-CN.xlf", "baseHref": "" }, + "zh-Hant": { "translation": "src/locale/messages.zh-TW.xlf", "baseHref": "" } + } + }, + "root": "", + "sourceRoot": "src", + "projectType": "application", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "allowedCommonJsDependencies": [ + "brace-expansion", + "chart.js", + "core-js", + "file-saver", + "lodash" + ], + "i18nMissingTranslation": "ignore", + "outputPath": "dist", + "index": "src/index.html", + "main": "src/main.ts", + "tsConfig": "tsconfig.app.json", + "polyfills": "src/polyfills.ts", + "assets": [ + "src/assets", + "src/favicon.ico", + { + "glob": "**/swagger-ui.css", + "input": "node_modules/swagger-ui-dist", + "output": "." + }, + { + "glob": "**/swagger-ui-bundle.js", + "input": "node_modules/swagger-ui-dist", + "output": "." + } + ], + "styles": [ + "node_modules/swagger-ui/dist/swagger-ui.css", + "node_modules/ngx-toastr/toastr.css", + "src/styles.scss" + ], + "scripts": ["node_modules/chart.js/dist/Chart.bundle.js"], + "stylePreprocessorOptions": { + "includePaths": [ + "src" + ] + }, + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true + }, + "configurations": { + "production": { + "budgets": [ + { + "type": "anyComponentStyle", + "maximumWarning": "6kb" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ] + }, + "cs": { + "localize": ["cs"] + }, + "de": { + "localize": ["de"] + }, + "en-US": { + "localize": ["en-US"] + }, + "es": { + "localize": ["es"] + }, + "fr": { + "localize": ["fr"] + }, + "id": { + "localize": ["id"] + }, + "it": { + "localize": ["it"] + }, + "ja": { + "localize": ["ja"] + }, + "ko": { + "localize": ["ko"] + }, + "pl": { + "localize": ["pl"] + }, + "pt": { + "localize": ["pt"] + }, + "zh-Hans": { + "localize": ["zh-Hans"] + }, + "zh-Hant": { + "localize": ["zh-Hant"] + } + }, + "defaultConfiguration": "" + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "ceph-dashboard:build", + "proxyConfig": "proxy.conf.json" + }, + "configurations": { + "production": { + "browserTarget": "ceph-dashboard:build:production" + }, + "cs": { + "browserTarget": "ceph-dashboard:build:cs" + }, + "de": { + "browserTarget": "ceph-dashboard:build:de" + }, + "en-US": { + "browserTarget": "ceph-dashboard:build:en-US" + }, + "es": { + "browserTarget": "ceph-dashboard:build:es" + }, + "fr": { + "browserTarget": "ceph-dashboard:build:fr" + }, + "id": { + "browserTarget": "ceph-dashboard:build:id" + }, + "it": { + "browserTarget": "ceph-dashboard:build:it" + }, + "ja": { + "browserTarget": "ceph-dashboard:build:ja" + }, + "ko": { + "browserTarget": "ceph-dashboard:build:ko" + }, + "pl": { + "browserTarget": "ceph-dashboard:build:pl" + }, + "pt": { + "browserTarget": "ceph-dashboard:build:pt" + }, + "zh-Hans": { + "browserTarget": "ceph-dashboard:build:zh-Hans" + }, + "zh-Hant": { + "browserTarget": "ceph-dashboard:build:zh-Hant" + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "ceph-dashboard:build" + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": [ + "tsconfig.app.json", + "tsconfig.spec.json", + "cypress/tsconfig.json" + ], + "exclude": [ + "**/node_modules/**" + ] + } + } + }, + "cli": {} + } + }, + "defaultProject": "ceph-dashboard", + "schematics": { + "@schematics/angular:component": { + "prefix": "cd", + "style": "scss" + }, + "@schematics/angular:directive": { + "prefix": "cd" + } + }, + "cli": { + "analytics": false + } +} |