mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-25 18:20:31 -06:00
Fix angular 9 build
This commit is contained in:
parent
a247950351
commit
f77eb73b5e
@ -4,14 +4,6 @@
|
||||
"newProjectRoot": "projects",
|
||||
"projects": {
|
||||
"PeerTube": {
|
||||
"i18n": {
|
||||
"locales": {
|
||||
"fr_FR": {
|
||||
"translation": "src/i18n/messages.fr_FR.xlf",
|
||||
"baseHref": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "",
|
||||
"sourceRoot": "src",
|
||||
"projectType": "application",
|
||||
|
@ -109,7 +109,7 @@
|
||||
"path-browserify": "^1.0.0",
|
||||
"primeng": "^9.0.0-rc.4",
|
||||
"process": "^0.11.10",
|
||||
"protractor": "^5.3.2",
|
||||
"protractor": "^5.4.3",
|
||||
"purify-css": "^1.2.5",
|
||||
"purifycss-webpack": "^0.7.0",
|
||||
"raw-loader": "^1",
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'
|
||||
import { Notifier } from '@app/core'
|
||||
import { I18n } from '@ngx-translate/i18n-polyfill'
|
||||
import { RestPagination, RestTable } from '@app/shared'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { AccountBlock, BlocklistService } from '@app/shared/blocklist'
|
||||
|
||||
@Component({
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'
|
||||
import { Notifier } from '@app/core'
|
||||
import { I18n } from '@ngx-translate/i18n-polyfill'
|
||||
import { RestPagination, RestTable } from '@app/shared'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { BlocklistService } from '@app/shared/blocklist'
|
||||
import { ServerBlock } from '../../../../../../shared'
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core'
|
||||
import { Account } from '../../../shared/account/account.model'
|
||||
import { Notifier } from '@app/core'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { VideoAbuse, VideoAbuseState } from '../../../../../../shared'
|
||||
import { RestPagination, RestTable, VideoAbuseService } from '../../../shared'
|
||||
import { I18n } from '@ngx-translate/i18n-polyfill'
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { Notifier, ServerService } from '@app/core'
|
||||
import { ConfirmService } from '../../../core'
|
||||
import { RestPagination, RestTable, VideoBlacklistService } from '../../../shared'
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core'
|
||||
import { AuthService, Notifier } from '@app/core'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { ConfirmService, ServerService } from '../../../core'
|
||||
import { RestPagination, RestTable, UserService } from '../../../shared'
|
||||
import { I18n } from '@ngx-translate/i18n-polyfill'
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'
|
||||
import { Notifier } from '@app/core'
|
||||
import { I18n } from '@ngx-translate/i18n-polyfill'
|
||||
import { RestPagination, RestTable } from '@app/shared'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { AccountBlock, BlocklistService } from '@app/shared/blocklist'
|
||||
|
||||
@Component({
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'
|
||||
import { Notifier } from '@app/core'
|
||||
import { I18n } from '@ngx-translate/i18n-polyfill'
|
||||
import { RestPagination, RestTable } from '@app/shared'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { ServerBlock } from '../../../../../shared'
|
||||
import { BlocklistService } from '@app/shared/blocklist'
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core'
|
||||
import { Notifier } from '@app/core'
|
||||
import { RestPagination, RestTable } from '@app/shared'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { VideoChangeOwnership } from '../../../../../shared'
|
||||
import { VideoOwnershipService } from '@app/shared/video-ownership'
|
||||
import { Account } from '@app/shared/account/account.model'
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit } from '@angular/core'
|
||||
import { RestPagination, RestTable } from '@app/shared'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { Notifier } from '@app/core'
|
||||
import { I18n } from '@ngx-translate/i18n-polyfill'
|
||||
import { VideoImport, VideoImportState } from '../../../../../shared/models/videos'
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { peertubeLocalStorage } from '@app/shared/misc/peertube-web-storage'
|
||||
import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { LazyLoadEvent, SortMeta } from 'primeng/api'
|
||||
import { RestPagination } from './rest-pagination'
|
||||
import { Subject } from 'rxjs'
|
||||
import { debounceTime, distinctUntilChanged } from 'rxjs/operators'
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core'
|
||||
import { HttpParams } from '@angular/common/http'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { ComponentPagination, ComponentPaginationLight } from './component-pagination.model'
|
||||
|
||||
import { RestPagination } from './rest-pagination'
|
||||
|
@ -7,7 +7,7 @@ import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.c
|
||||
import { HelpComponent } from '@app/shared/misc/help.component'
|
||||
import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive'
|
||||
import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
|
||||
import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared'
|
||||
import { SharedModule as PrimeSharedModule } from 'primeng/api'
|
||||
import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
|
||||
import { ButtonComponent } from './buttons/button.component'
|
||||
import { DeleteButtonComponent } from './buttons/delete-button.component'
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { catchError, map } from 'rxjs/operators'
|
||||
import { HttpClient, HttpParams } from '@angular/common/http'
|
||||
import { Injectable } from '@angular/core'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { Observable } from 'rxjs'
|
||||
import { ResultList, VideoAbuse, VideoAbuseUpdate } from '../../../../../shared'
|
||||
import { environment } from '../../../environments/environment'
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { catchError, map, concatMap, toArray } from 'rxjs/operators'
|
||||
import { HttpClient, HttpParams } from '@angular/common/http'
|
||||
import { Injectable } from '@angular/core'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { from as observableFrom, Observable } from 'rxjs'
|
||||
import { VideoBlacklist, VideoBlacklistType, ResultList } from '../../../../../shared'
|
||||
import { Video } from '../video/video.model'
|
||||
|
@ -9,7 +9,7 @@ import { VideoImportCreate, VideoUpdate } from '../../../../../shared/models/vid
|
||||
import { objectToFormData } from '@app/shared/misc/utils'
|
||||
import { ResultList } from '../../../../../shared/models/result-list.model'
|
||||
import { UserService } from '@app/shared/users/user.service'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { RestPagination } from '@app/shared/rest'
|
||||
import { ServerService } from '@app/core'
|
||||
|
||||
|
@ -5,7 +5,7 @@ import { environment } from '../../../environments/environment'
|
||||
import { RestExtractor, RestService } from '../rest'
|
||||
import { VideoChangeOwnershipCreate } from '../../../../../shared/models/videos'
|
||||
import { Observable } from 'rxjs/index'
|
||||
import { SortMeta } from 'primeng/components/common/sortmeta'
|
||||
import { SortMeta } from 'primeng/api'
|
||||
import { ResultList, VideoChangeOwnership } from '../../../../../shared'
|
||||
import { RestPagination } from '@app/shared/rest'
|
||||
import { VideoChangeOwnershipAccept } from '../../../../../shared/models/videos/video-change-ownership-accept.model'
|
||||
|
@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'
|
||||
import { TagInputModule } from 'ngx-chips'
|
||||
import { SharedModule } from '../../../shared/'
|
||||
import { VideoEditComponent } from './video-edit.component'
|
||||
import { CalendarModule } from 'primeng/components/calendar/calendar'
|
||||
import { CalendarModule } from 'primeng/calendar'
|
||||
import { VideoCaptionAddModalComponent } from './video-caption-add-modal.component'
|
||||
|
||||
@NgModule({
|
||||
|
@ -8961,10 +8961,10 @@ protoduck@^5.0.1:
|
||||
dependencies:
|
||||
genfun "^5.0.0"
|
||||
|
||||
protractor@^5.3.2:
|
||||
version "5.4.2"
|
||||
resolved "https://registry.yarnpkg.com/protractor/-/protractor-5.4.2.tgz#329efe37f48b2141ab9467799be2d4d12eb48c13"
|
||||
integrity sha512-zlIj64Cr6IOWP7RwxVeD8O4UskLYPoyIcg0HboWJL9T79F1F0VWtKkGTr/9GN6BKL+/Q/GmM7C9kFVCfDbP5sA==
|
||||
protractor@^5.4.3:
|
||||
version "5.4.3"
|
||||
resolved "https://registry.yarnpkg.com/protractor/-/protractor-5.4.3.tgz#35f050741e404a45868618ea648745d89af31683"
|
||||
integrity sha512-7pMAolv8Ah1yJIqaorDTzACtn3gk7BamVKPTeO5lqIGOrfosjPgXFx/z1dqSI+m5EeZc2GMJHPr5DYlodujDNA==
|
||||
dependencies:
|
||||
"@types/q" "^0.0.32"
|
||||
"@types/selenium-webdriver" "^3.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user