diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/angular.json')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/angular.json | 292 |
1 files changed, 292 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..e1cb4c29f --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/angular.json @@ -0,0 +1,292 @@ +{ + "$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-eslint/builder:lint", + "options": { + "lintFilePatterns": [ + "src/**/*.ts", + "src/**/*.html" + ] + } + } + }, + "cli": {} + } + }, + "schematics": { + "@schematics/angular:component": { + "prefix": "cd", + "style": "scss" + }, + "@schematics/angular:directive": { + "prefix": "cd" + } + }, + "cli": { + "analytics": false, + "schematicCollections": [ + "@angular-eslint/schematics" + ] + } +} |