Bump deps

This commit is contained in:
2022-12-26 13:51:54 +01:00
parent 48781b33fe
commit 6dd89e4c69
5 changed files with 1794 additions and 2872 deletions
+1776 -2854
View File
File diff suppressed because it is too large Load Diff
+12 -12
View File
@@ -10,22 +10,22 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^14.0.0",
"@angular/common": "^14.0.0",
"@angular/compiler": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/forms": "^14.0.0",
"@angular/platform-browser": "^14.0.0",
"@angular/platform-browser-dynamic": "^14.0.0",
"@angular/router": "^14.0.0",
"@angular/animations": "^15.0.4",
"@angular/common": "^15.0.4",
"@angular/compiler": "^15.0.4",
"@angular/core": "^15.0.4",
"@angular/forms": "^15.0.4",
"@angular/platform-browser": "^15.0.4",
"@angular/platform-browser-dynamic": "^15.0.4",
"@angular/router": "^15.0.4",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.2.1",
"@angular/cli": "~14.2.1",
"@angular/compiler-cli": "^14.0.0",
"@angular-devkit/build-angular": "^15.0.4",
"@angular/cli": "~15.0.4",
"@angular/compiler-cli": "^15.0.4",
"@types/jasmine": "~4.0.0",
"jasmine-core": "~4.3.0",
"karma": "~6.4.0",
@@ -33,6 +33,6 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~4.7.2"
"typescript": "~4.8.2"
}
}
+2 -4
View File
@@ -3,13 +3,13 @@ import {HttpClient, HttpParams} from '@angular/common/http';
import {Observable} from 'rxjs';
import {Event} from '../models/event';
import {UtilsService} from './utils.service';
import { environment } from './../../environments/environment';
@Injectable({
providedIn: 'root'
})
export class ApiService {
// apiUrl = 'https://api.nachklang.art/calendar/events/';
apiUrl = 'http://localhost:3000/calendar/events/';
apiUrl = environment.apiUrl + '/calendar/events/';
constructor(
private http: HttpClient
@@ -18,7 +18,6 @@ export class ApiService {
getEvents(calendar: string): Observable<Event[]> {
try {
// Get password
let password = UtilsService.getPasswordFromLocalStorage();
let params = new HttpParams();
@@ -32,7 +31,6 @@ export class ApiService {
updateEvent(event: Event): Observable<any> {
try {
// Get password
let password = UtilsService.getPasswordFromLocalStorage();
let updateEvent: any = event;
+2 -1
View File
@@ -1,3 +1,4 @@
export const environment = {
production: true
production: true,
apiUrl: 'https://api.nachklang.art'
};
+2 -1
View File
@@ -3,7 +3,8 @@
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false
production: false,
apiUrl: 'http://localhost:3000'
};
/*