MOBILE-3947 angular: Update angular to v17

main
Pau Ferrer Ocaña 2024-01-23 15:03:58 +01:00
parent 613df47de8
commit b5fe5b3c9d
5 changed files with 6105 additions and 2680 deletions

View File

@ -93,16 +93,16 @@
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",
"options": { "options": {
"browserTarget": "app:build",
"disableHostCheck": true, "disableHostCheck": true,
"port": 8100 "port": 8100,
"buildTarget": "app:build"
}, },
"configurations": { "configurations": {
"production": { "production": {
"browserTarget": "app:build:production" "buildTarget": "app:build:production"
}, },
"development": { "development": {
"browserTarget": "app:build:development" "buildTarget": "app:build:development"
} }
}, },
"defaultConfiguration": "development" "defaultConfiguration": "development"
@ -110,7 +110,7 @@
"extract-i18n": { "extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n", "builder": "@angular-devkit/build-angular:extract-i18n",
"options": { "options": {
"browserTarget": "app:build" "buildTarget": "app:build"
} }
}, },
"lint": { "lint": {

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +1,19 @@
{ {
"name": "cordova-plugin-moodleapp", "name": "cordova-plugin-moodleapp",
"private": true, "private": true,
"types": "./types/index.d.ts", "types": "./types/index.d.ts",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"dev": "concurrently \"npm run dev:ts\" \"npm run dev:cordova\"", "dev": "concurrently \"npm run dev:ts\" \"npm run dev:cordova\"",
"dev:ts": "scripts/build.js --watch", "dev:ts": "scripts/build.js --watch",
"dev:cordova": "chokidar www/index.js -c scripts/copy-javascript.js", "dev:cordova": "chokidar www/index.js -c scripts/copy-javascript.js",
"prod": "NODE_ENV=production scripts/build.js", "prod": "NODE_ENV=production scripts/build.js",
"lint": "tsc --noEmit" "lint": "tsc --noEmit"
}, },
"devDependencies": { "devDependencies": {
"chokidar-cli": "^3.0.0", "chokidar-cli": "^3.0.0",
"concurrently": "^8.2.0", "concurrently": "^8.2.0",
"esbuild": "^0.18.11", "esbuild": "^0.18.20",
"typescript": "^5.1.6" "typescript": "^5.3.3"
} }
} }

6281
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -45,14 +45,14 @@
"lang:create-langindex": "./scripts/create_langindex.sh" "lang:create-langindex": "./scripts/create_langindex.sh"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^16.2.0", "@angular/animations": "^17.1.0",
"@angular/common": "^16.2.0", "@angular/common": "^17.1.0",
"@angular/compiler": "^16.2.0", "@angular/compiler": "^17.1.0",
"@angular/core": "^16.2.0", "@angular/core": "^17.1.0",
"@angular/forms": "^16.2.0", "@angular/forms": "^17.1.0",
"@angular/platform-browser": "^16.2.0", "@angular/platform-browser": "^17.1.0",
"@angular/platform-browser-dynamic": "^16.2.0", "@angular/platform-browser-dynamic": "^17.1.0",
"@angular/router": "^16.2.0", "@angular/router": "^17.1.0",
"@awesome-cordova-plugins/badge": "^6.3.0", "@awesome-cordova-plugins/badge": "^6.3.0",
"@awesome-cordova-plugins/camera": "^6.3.0", "@awesome-cordova-plugins/camera": "^6.3.0",
"@awesome-cordova-plugins/clipboard": "^6.3.0", "@awesome-cordova-plugins/clipboard": "^6.3.0",
@ -76,7 +76,7 @@
"@awesome-cordova-plugins/status-bar": "^6.3.0", "@awesome-cordova-plugins/status-bar": "^6.3.0",
"@awesome-cordova-plugins/web-intent": "^6.3.0", "@awesome-cordova-plugins/web-intent": "^6.3.0",
"@ionic/angular": "^7.6.5", "@ionic/angular": "^7.6.5",
"@ionic/cordova-builders": "^10.0.0", "@ionic/cordova-builders": "^10.1.1",
"@moodlehq/cordova-plugin-advanced-http": "3.3.1-moodle.1", "@moodlehq/cordova-plugin-advanced-http": "3.3.1-moodle.1",
"@moodlehq/cordova-plugin-camera": "6.0.0-moodle.2", "@moodlehq/cordova-plugin-camera": "6.0.0-moodle.2",
"@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.5", "@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.5",
@ -131,19 +131,19 @@
"ts-md5": "^1.2.7", "ts-md5": "^1.2.7",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"video.js": "^7.21.1", "video.js": "^7.21.1",
"zone.js": "~0.13.0" "zone.js": "~0.14.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-builders/custom-webpack": "^16.0.1", "@angular-builders/custom-webpack": "^17.0.0",
"@angular-devkit/build-angular": "^16.2.11", "@angular-devkit/build-angular": "^17.1.0",
"@angular-eslint/builder": "^16.2.0", "@angular-eslint/builder": "^17.1.0",
"@angular-eslint/eslint-plugin": "^16.2.0", "@angular-eslint/eslint-plugin": "^17.1.0",
"@angular-eslint/eslint-plugin-template": "^16.2.0", "@angular-eslint/eslint-plugin-template": "^17.1.0",
"@angular-eslint/schematics": "^16.2.0", "@angular-eslint/schematics": "^17.1.0",
"@angular-eslint/template-parser": "^16.2.0", "@angular-eslint/template-parser": "^17.1.0",
"@angular/cli": "^16.2.10", "@angular/cli": "^17.1.0",
"@angular/compiler-cli": "^16.2.0", "@angular/compiler-cli": "^17.1.0",
"@angular/language-service": "^16.2.0", "@angular/language-service": "^17.1.0",
"@ionic/angular-toolkit": "^10.0.0", "@ionic/angular-toolkit": "^10.0.0",
"@ionic/cli": "^7.2.0", "@ionic/cli": "^7.2.0",
"@types/faker": "^5.1.3", "@types/faker": "^5.1.3",
@ -182,7 +182,7 @@
"terser-webpack-plugin": "^5.3.9", "terser-webpack-plugin": "^5.3.9",
"ts-jest": "^29.1.1", "ts-jest": "^29.1.1",
"ts-node": "^8.3.0", "ts-node": "^8.3.0",
"typescript": "~5.1.3" "typescript": "~5.3.3"
}, },
"engines": { "engines": {
"node": ">=18.18.2 <19" "node": ">=18.18.2 <19"