mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 19:46:16 -08:00
chore: update angular to v18
This commit is contained in:
1 parent
37c079e2ea
commit
40b401568f
3 files changed
+57432
-54864
No files matched your search
Generated
+57267
-54703
File diff suppressed because it is too large.
Load diff
+158
-158
@@ -1,160 +1,160 @@
|
||||
{
|
||||
"name": "iptvnator",
|
||||
"version": "0.15.1",
|
||||
"description": "IPTV player application.",
|
||||
"homepage": "https://github.com/4gray/iptvnator",
|
||||
"author": {
|
||||
"name": "4gray",
|
||||
"email": "dev@artslab.info"
|
||||
},
|
||||
"keywords": [
|
||||
"angular",
|
||||
"electron",
|
||||
"typescript",
|
||||
"m3u",
|
||||
"m3u8",
|
||||
"player",
|
||||
"iptv",
|
||||
"video",
|
||||
"tv"
|
||||
],
|
||||
"main": "electron/main.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"postinstall": "electron-builder install-app-deps && husky install",
|
||||
"ng": "ng",
|
||||
"start": "npm-run-all -p electron:serve ng:serve",
|
||||
"build": "npm run electron:serve-tsc && ng build --base-href ./",
|
||||
"build:electron": "npm run electron:serve-tsc",
|
||||
"build:dev": "npm run build -- -c dev",
|
||||
"build:prod": "npm run build -- -c production",
|
||||
"build:web": "npm run build -- -c web",
|
||||
"ng:build": "ng build -c production",
|
||||
"ng:serve": "ng serve -c dev",
|
||||
"ng:serve:web": "ng serve -c web -o",
|
||||
"electron:serve-tsc": "tsc -p tsconfig.serve.json",
|
||||
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && npx electron . --serve --inspect",
|
||||
"electron:local": "npm run build:prod && npx electron .",
|
||||
"electron:build": "npm run build:prod && electron-builder build",
|
||||
"electron:build:mac": "npm run build:prod && electron-builder build -m",
|
||||
"electron:build:linux": "npm run build:prod && electron-builder build -l --x64 --ia32 --arm64 --armv7l",
|
||||
"electron:build:windows": "npm run build:prod && electron-builder build -w",
|
||||
"test": "ng test",
|
||||
"test:watch": "ng test --watch",
|
||||
"e2e": "npm run build:electron && npx playwright test --retries 3",
|
||||
"e2e:ci": "npx playwright test --retries 3 --workers=1",
|
||||
"e2e:debug": "npm run build:electron && PWDEBUG=1 npx playwright test -c playwright.config.ts e2e/ /",
|
||||
"e2e:html-report": "npm run build:electron && npm run e2e -- --reporter=html",
|
||||
"e2e:show-report": "npx playwright show-report",
|
||||
"version": "conventional-changelog -i CHANGELOG.md -p angular -s -r 0 && git add CHANGELOG.md",
|
||||
"lint": "ng lint",
|
||||
"build-pwa": "ng build -c production --base-href /iptvnator --deploy-url /iptvnator/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular-builders/jest": "17.0.0",
|
||||
"@angular/animations": "17.3.2",
|
||||
"@angular/cdk": "16.1.5",
|
||||
"@angular/material": "16.1.5",
|
||||
"@electron/remote": "2.1.0",
|
||||
"@ngrx/component-store": "17.1.1",
|
||||
"@ngrx/effects": "17.1.1",
|
||||
"@ngrx/entity": "17.1.1",
|
||||
"@ngrx/router-store": "17.1.1",
|
||||
"@ngrx/store": "17.1.1",
|
||||
"@ngrx/store-devtools": "17.1.1",
|
||||
"@ngx-pwa/local-storage": "17.0.0",
|
||||
"@rx-angular/cdk": "17.0.0",
|
||||
"@rx-angular/template": "17.0.0",
|
||||
"@videojs/http-streaming": "2.15.0",
|
||||
"@yangkghjh/videojs-aspect-ratio-panel": "0.0.1",
|
||||
"about-window": "1.15.2",
|
||||
"axios": "1.6.2",
|
||||
"custom-electron-titlebar": "4.2.8",
|
||||
"date-fns": "2.29.3",
|
||||
"electron-context-menu": "3.6.1",
|
||||
"electron-store": "8.1.0",
|
||||
"epg-parser": "0.1.6",
|
||||
"fix-path": "3.0.0",
|
||||
"hls.js": "1.4.12",
|
||||
"iptv-playlist-parser": "github:4gray/iptv-playlist-parser",
|
||||
"lodash": "4.17.21",
|
||||
"moment": "2.29.4",
|
||||
"nedb-promises": "6.0.3",
|
||||
"ngx-indexed-db": "16.0.0",
|
||||
"ngx-skeleton-loader": "8.1.0",
|
||||
"ngx-whats-new": "0.4.0",
|
||||
"node-mpv": "github:4gray/Node-MPV",
|
||||
"rxjs": "7.8.1",
|
||||
"semver": "7.3.8",
|
||||
"uuid": "9.0.0",
|
||||
"video.js": "7.20.3",
|
||||
"videojs-contrib-quality-levels": "2.2.0",
|
||||
"videojs-hls-quality-selector": "1.1.4",
|
||||
"zone.js": "~0.14.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "17.3.2",
|
||||
"@angular-eslint/builder": "17.3.0",
|
||||
"@angular-eslint/eslint-plugin": "17.3.0",
|
||||
"@angular-eslint/eslint-plugin-template": "17.3.0",
|
||||
"@angular-eslint/schematics": "17.3.0",
|
||||
"@angular-eslint/template-parser": "17.3.0",
|
||||
"@angular/cli": "17.3.2",
|
||||
"@angular/common": "17.3.2",
|
||||
"@angular/compiler": "17.3.2",
|
||||
"@angular/compiler-cli": "17.3.2",
|
||||
"@angular/core": "17.3.2",
|
||||
"@angular/forms": "17.3.2",
|
||||
"@angular/language-service": "17.3.2",
|
||||
"@angular/platform-browser": "17.3.2",
|
||||
"@angular/platform-browser-dynamic": "17.3.2",
|
||||
"@angular/router": "17.3.2",
|
||||
"@angular/service-worker": "17.3.2",
|
||||
"@commitlint/cli": "18.4.3",
|
||||
"@commitlint/config-conventional": "18.4.3",
|
||||
"@ngrx/eslint-plugin": "^17.1.1",
|
||||
"@ngx-translate/core": "15.0.0",
|
||||
"@ngx-translate/http-loader": "8.0.0",
|
||||
"@playwright/test": "1.46.1",
|
||||
"@semantic-release/changelog": "6.0.1",
|
||||
"@semantic-release/git": "10.0.1",
|
||||
"@semantic-release/npm": "9.0.0",
|
||||
"@types/jest": "29.5.1",
|
||||
"@types/mocha": "9.0.0",
|
||||
"@types/node": "20.10.0",
|
||||
"@types/video.js": "7.3.29",
|
||||
"@types/videojs-hls-quality-selector": "1.1.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
||||
"@typescript-eslint/eslint-plugin-tslint": "5.40.1",
|
||||
"@typescript-eslint/parser": "^6.10.0",
|
||||
"conventional-changelog-cli": "2.2.2",
|
||||
"electron": "27.1.0",
|
||||
"electron-builder": "24.6.4",
|
||||
"eslint": "^8.53.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"husky": "5.0.9",
|
||||
"jest": "29.5.0",
|
||||
"jest-preset-angular": "13.1.0",
|
||||
"ng-mocks": "14.13.0",
|
||||
"node-polyfill-webpack-plugin": "1.1.4",
|
||||
"npm-run-all": "4.1.5",
|
||||
"playwright": "1.46.1",
|
||||
"playwright-core": "1.46.1",
|
||||
"prettier": "3.1.0",
|
||||
"semantic-release": "19.0.3",
|
||||
"stylelint": "14.2.0",
|
||||
"stylelint-config-standard": "24.0.0",
|
||||
"stylelint-scss": "4.1.0",
|
||||
"ts-jest": "29.1.0",
|
||||
"ts-node": "10.9.1",
|
||||
"tslib": "2.3.0",
|
||||
"typescript": "5.2.2",
|
||||
"wait-on": "6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"chrome 91"
|
||||
]
|
||||
"name": "iptvnator",
|
||||
"version": "0.15.1",
|
||||
"description": "IPTV player application.",
|
||||
"homepage": "https://github.com/4gray/iptvnator",
|
||||
"author": {
|
||||
"name": "4gray",
|
||||
"email": "dev@artslab.info"
|
||||
},
|
||||
"keywords": [
|
||||
"angular",
|
||||
"electron",
|
||||
"typescript",
|
||||
"m3u",
|
||||
"m3u8",
|
||||
"player",
|
||||
"iptv",
|
||||
"video",
|
||||
"tv"
|
||||
],
|
||||
"main": "electron/main.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"postinstall": "electron-builder install-app-deps && husky install",
|
||||
"ng": "ng",
|
||||
"start": "npm-run-all -p electron:serve ng:serve",
|
||||
"build": "npm run electron:serve-tsc && ng build --base-href ./",
|
||||
"build:electron": "npm run electron:serve-tsc",
|
||||
"build:dev": "npm run build -- -c dev",
|
||||
"build:prod": "npm run build -- -c production",
|
||||
"build:web": "npm run build -- -c web",
|
||||
"ng:build": "ng build -c production",
|
||||
"ng:serve": "ng serve -c dev",
|
||||
"ng:serve:web": "ng serve -c web -o",
|
||||
"electron:serve-tsc": "tsc -p tsconfig.serve.json",
|
||||
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && npx electron . --serve --inspect",
|
||||
"electron:local": "npm run build:prod && npx electron .",
|
||||
"electron:build": "npm run build:prod && electron-builder build",
|
||||
"electron:build:mac": "npm run build:prod && electron-builder build -m",
|
||||
"electron:build:linux": "npm run build:prod && electron-builder build -l --x64 --ia32 --arm64 --armv7l",
|
||||
"electron:build:windows": "npm run build:prod && electron-builder build -w",
|
||||
"test": "ng test",
|
||||
"test:watch": "ng test --watch",
|
||||
"e2e": "npm run build:electron && npx playwright test --retries 3",
|
||||
"e2e:ci": "npx playwright test --retries 3 --workers=1",
|
||||
"e2e:debug": "npm run build:electron && PWDEBUG=1 npx playwright test -c playwright.config.ts e2e/ /",
|
||||
"e2e:html-report": "npm run build:electron && npm run e2e -- --reporter=html",
|
||||
"e2e:show-report": "npx playwright show-report",
|
||||
"version": "conventional-changelog -i CHANGELOG.md -p angular -s -r 0 && git add CHANGELOG.md",
|
||||
"lint": "ng lint",
|
||||
"build-pwa": "ng build -c production --base-href /iptvnator --deploy-url /iptvnator/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular-builders/jest": "17.0.0",
|
||||
"@angular/animations": "18.2.1",
|
||||
"@angular/cdk": "16.1.5",
|
||||
"@angular/material": "16.1.5",
|
||||
"@electron/remote": "2.1.0",
|
||||
"@ngrx/component-store": "17.1.1",
|
||||
"@ngrx/effects": "17.1.1",
|
||||
"@ngrx/entity": "17.1.1",
|
||||
"@ngrx/router-store": "17.1.1",
|
||||
"@ngrx/store": "17.1.1",
|
||||
"@ngrx/store-devtools": "17.1.1",
|
||||
"@ngx-pwa/local-storage": "17.0.0",
|
||||
"@rx-angular/cdk": "17.0.0",
|
||||
"@rx-angular/template": "17.0.0",
|
||||
"@videojs/http-streaming": "2.15.0",
|
||||
"@yangkghjh/videojs-aspect-ratio-panel": "0.0.1",
|
||||
"about-window": "1.15.2",
|
||||
"axios": "1.6.2",
|
||||
"custom-electron-titlebar": "4.2.8",
|
||||
"date-fns": "2.29.3",
|
||||
"electron-context-menu": "3.6.1",
|
||||
"electron-store": "8.1.0",
|
||||
"epg-parser": "0.1.6",
|
||||
"fix-path": "3.0.0",
|
||||
"hls.js": "1.4.12",
|
||||
"iptv-playlist-parser": "github:4gray/iptv-playlist-parser",
|
||||
"lodash": "4.17.21",
|
||||
"moment": "2.29.4",
|
||||
"nedb-promises": "6.0.3",
|
||||
"ngx-indexed-db": "16.0.0",
|
||||
"ngx-skeleton-loader": "8.1.0",
|
||||
"ngx-whats-new": "0.4.0",
|
||||
"node-mpv": "github:4gray/Node-MPV",
|
||||
"rxjs": "7.8.1",
|
||||
"semver": "7.3.8",
|
||||
"uuid": "9.0.0",
|
||||
"video.js": "7.20.3",
|
||||
"videojs-contrib-quality-levels": "2.2.0",
|
||||
"videojs-hls-quality-selector": "1.1.4",
|
||||
"zone.js": "~0.14.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "18.2.1",
|
||||
"@angular-eslint/builder": "17.3.0",
|
||||
"@angular-eslint/eslint-plugin": "17.3.0",
|
||||
"@angular-eslint/eslint-plugin-template": "17.3.0",
|
||||
"@angular-eslint/schematics": "17.3.0",
|
||||
"@angular-eslint/template-parser": "17.3.0",
|
||||
"@angular/cli": "18.2.1",
|
||||
"@angular/common": "18.2.1",
|
||||
"@angular/compiler": "18.2.1",
|
||||
"@angular/compiler-cli": "18.2.1",
|
||||
"@angular/core": "18.2.1",
|
||||
"@angular/forms": "18.2.1",
|
||||
"@angular/language-service": "18.2.1",
|
||||
"@angular/platform-browser": "18.2.1",
|
||||
"@angular/platform-browser-dynamic": "18.2.1",
|
||||
"@angular/router": "18.2.1",
|
||||
"@angular/service-worker": "18.2.1",
|
||||
"@commitlint/cli": "18.4.3",
|
||||
"@commitlint/config-conventional": "18.4.3",
|
||||
"@ngrx/eslint-plugin": "^17.1.1",
|
||||
"@ngx-translate/core": "15.0.0",
|
||||
"@ngx-translate/http-loader": "8.0.0",
|
||||
"@playwright/test": "1.46.1",
|
||||
"@semantic-release/changelog": "6.0.1",
|
||||
"@semantic-release/git": "10.0.1",
|
||||
"@semantic-release/npm": "9.0.0",
|
||||
"@types/jest": "29.5.1",
|
||||
"@types/mocha": "9.0.0",
|
||||
"@types/node": "20.10.0",
|
||||
"@types/video.js": "7.3.29",
|
||||
"@types/videojs-hls-quality-selector": "1.1.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
||||
"@typescript-eslint/eslint-plugin-tslint": "5.40.1",
|
||||
"@typescript-eslint/parser": "^6.10.0",
|
||||
"conventional-changelog-cli": "2.2.2",
|
||||
"electron": "27.1.0",
|
||||
"electron-builder": "24.6.4",
|
||||
"eslint": "^8.53.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"husky": "5.0.9",
|
||||
"jest": "29.5.0",
|
||||
"jest-preset-angular": "13.1.0",
|
||||
"ng-mocks": "14.13.0",
|
||||
"node-polyfill-webpack-plugin": "1.1.4",
|
||||
"npm-run-all": "4.1.5",
|
||||
"playwright": "1.46.1",
|
||||
"playwright-core": "1.46.1",
|
||||
"prettier": "3.1.0",
|
||||
"semantic-release": "19.0.3",
|
||||
"stylelint": "14.2.0",
|
||||
"stylelint-config-standard": "24.0.0",
|
||||
"stylelint-scss": "4.1.0",
|
||||
"ts-jest": "29.1.0",
|
||||
"ts-node": "10.9.1",
|
||||
"tslib": "2.3.0",
|
||||
"typescript": "5.5.4",
|
||||
"wait-on": "6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"chrome 91"
|
||||
]
|
||||
}
|
||||
@@ -1,4 +1,8 @@
|
||||
import { HttpClient, HttpClientModule } from '@angular/common/http';
|
||||
import {
|
||||
HttpClient,
|
||||
provideHttpClient,
|
||||
withInterceptorsFromDi,
|
||||
} from '@angular/common/http';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
@@ -50,11 +54,11 @@ export function DataFactory(dbService: NgxIndexedDBService, http: HttpClient) {
|
||||
|
||||
@NgModule({
|
||||
declarations: [AppComponent],
|
||||
bootstrap: [AppComponent],
|
||||
imports: [
|
||||
AppRoutingModule,
|
||||
BrowserAnimationsModule,
|
||||
BrowserModule,
|
||||
HttpClientModule,
|
||||
SharedModule,
|
||||
AppConfig.environment === 'WEB'
|
||||
? NgxIndexedDBModule.forRoot(dbConfig)
|
||||
@@ -88,7 +92,7 @@ export function DataFactory(dbService: NgxIndexedDBService, http: HttpClient) {
|
||||
useFactory: DataFactory,
|
||||
deps: [NgxIndexedDBService, HttpClient],
|
||||
},
|
||||
provideHttpClient(withInterceptorsFromDi()),
|
||||
],
|
||||
bootstrap: [AppComponent],
|
||||
})
|
||||
export class AppModule {}
|
||||
Reference in new issue
Block a user