X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fangular.json;h=455c9fbde3da317c22d9bfbabd6caa2f9493192d;hb=9e88ead55e076755dfb99a2b0dd2d4d34246e661;hp=60a630c895cc4f8edc2d9de9ee53360259f10dee;hpb=1d4591fd9c724c9409da31612f6d8c008f1cb5e4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index 60a630c89..455c9fbde 100644 --- a/client/angular.json +++ b/client/angular.json @@ -138,7 +138,6 @@ "tsConfig": "tsconfig.json", "polyfills": "src/polyfills.ts", "baseHref": "/", - "deployUrl": "", "stylePreprocessorOptions": { "includePaths": [ "src/sass/include" @@ -156,6 +155,8 @@ "chart.js", "htmlparser2", "markdown-it-emoji/light", + "linkifyjs/lib/linkify-html", + "linkifyjs/lib/plugins/mention", "sanitize-html", "debug", "@peertube/p2p-media-loader-hlsjs", @@ -203,7 +204,9 @@ ] }, "ar-locale": { - "localize": ["ar"], + "localize": [ + "ar" + ], "budgets": [ { "type": "anyComponentStyle", @@ -231,21 +234,6 @@ "with": "src/environments/environment.hmr.ts" } ] - }, - "e2e": { - "localize": false, - "budgets": [ - { - "type": "anyComponentStyle", - "maximumWarning": "6kb" - } - ], - "fileReplacements": [ - { - "replace": "src/environments/environment.ts", - "with": "src/environments/environment.e2e.ts" - } - ] } } }, @@ -264,10 +252,6 @@ }, "ar-locale": { "browserTarget": "PeerTube:build:ar-locale" - }, - "e2e": { - "browserTarget": "PeerTube:build:e2e", - "proxyConfig": "e2e/proxy.config.json" } } }, @@ -295,98 +279,12 @@ } }, "lint": { - "builder": "@angular-devkit/build-angular:tslint", + "builder": "@angular-eslint/builder:lint", "options": { - "tsConfig": [ - "tsconfig.json" - ], - "exclude": [ - "**/node_modules/**" - ] - } - }, - "xliffmerge": { - "builder": "@ngx-i18nsupport/tooling:xliffmerge", - "options": { - "xliffmergeOptions": { - "i18nFormat": "xlf", - "srcDir": "src/locale", - "genDir": "src/locale", - "i18nBaseFile": "angular", - "defaultLanguage": "en-US", - "languages": [ - "ar", - "ca-ES", - "gl-ES", - "cs-CZ", - "da-DK", - "de-DE", - "el-GR", - "en-GB", - "en-US", - "eo", - "es-ES", - "eu-ES", - "fa-IR", - "fi-FI", - "fr-FR", - "gd", - "gl-ES", - "hu-HU", - "it-IT", - "ja-JP", - "jbo", - "kab", - "ko-KR", - "lt-LT", - "nb-NO", - "nl-NL", - "oc", - "pl-PL", - "pt-BR", - "pt-PT", - "ru-RU", - "sk-SK", - "sl-SI", - "sv-SE", - "ta", - "th-TH", - "tr-TR", - "uk-UA", - "vi-VN", - "zh-Hans-CN", - "zh-Hant-TW" - ] - } - } - } - } - }, - "PeerTube-e2e": { - "root": "e2e/", - "sourceRoot": "", - "projectType": "application", - "architect": { - "e2e": { - "builder": "@angular-devkit/build-angular:protractor", - "options": { - "protractorConfig": "e2e/protractor.conf.js", - "devServerTarget": "PeerTube:serve:e2e" - }, - "configurations": { - "local": { - "protractorConfig": "e2e/local-protractor.conf.js" - } - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "e2e/tsconfig.e2e.json" - ], - "exclude": [ - "**/node_modules/**" + "lintFilePatterns": [ + "e2e/**/*.ts", + "src/**/*.ts", + "src/**/*.html" ] } }